Don't optimise yet.
Cocoa provides a lot of features that gain flexibility at the expense of speed. For example, you can use key-value coding rather than writing accessor methods. For infrequently used code paths, they may be fast enough for the final version. If you use them initially, then you can get something working quickly for your users to test and then optimise the slow bits after profiling.
For more tips, and more detail about this tip, please see my new book,
Cocoa Programming Developer's Handbook,
available in print and electronic formats.
Take advantage of special member promotions, everyday discounts, quick access to saved content, and more! Join Today.