Effective Objective-C 2.0: 52 Specific Ways to Improve Your iOS and OS X Programs
by Matt Galloway
3. Interface and API Design
Once you have built an application, you are likely going to want to reuse parts of the code for future projects. You may even want to release some of the code for others to use. Even if you don’t think that you’re going to do either of these things, you probably will at some point. When you do, it’ll help to write your interfaces in such a way that they fit in. This means using paradigms commonly used with Objective-C and understanding various pitfalls.
Over recent years, especially with the open-source community and components made popular with the advent of iOS, it is common to use other people’s code in your own applications. Similarly, others may end up using your code, so writing in a clear way will enable them ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access