RssTwitterLinkedinGithub
Dima BartDima Bart
Dima Bart
Objective-C worth exploring
  • Home
  • Objective-C
  • Open Source
    • Spyder
    • Rigid
    • CDSerialization
    • DBBenchmark
    • DBSQLite
    • DBShare
    • DBGeneratorCI
    • Build Incrementer
  • Portfolio
  • About
Menu back  
Search dimabart.com

Daily Archives: September 11, 2013

You are here:
  1. Home
  2. 2013
  3. September
  4. 11

4 Objective-C Macros Every iOS Developer Should Use

I use these objective-c macros in every single project I work on and I highly recommend you use them too. These macros are designed to simplify your code, make it easier to read and maintain. Include them in your ProjectName-Prefix.pch file to make the complete set available to the entire project.

September 11, 20131 CommentObjective-CBy Dima Bart

A better way to work with NSDate

Working with NSDates and calendrical calculations can sometimes be a pain. Adding days, subtracting months, and adjusting today’s date to midnight. Today’s we’ll take a look at several way to simplify the process and abstract the logic away into some neat category methods.

September 11, 2013Leave a commentObjective-CBy Dima Bart

NSArray First Element

Probably one of the most useful methods to have in a category on an NSArray is this method. It allows you easily and safely grab the first element of the array. This makes for a great counterpart to the already existing method -[someArray lastObject];.

September 11, 2013Leave a commentObjective-CBy Dima Bart
2015 Dima Bart