Put controllers in nib files.
Interface Builder lets you connect up arbitrary sets of objects in nib files. You can then load copies of these objects at run time. If you define connections between objects in nibs, rather than in code, it makes it much easier to reuse the objects.
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.