My first ObjC / Cocoa application .. and I'm pretty confused.
I am writing a status application for students of our university for installing / removing campus printers. They can set up a list of favorite printers that should be easily accessible in the status menu. So far I have everything in the work menu. Now I'm trying to write a settings window where they can manage their favorite list.
I have a bunch of objects Printerstored in NSArray, in a singleton object PrinterData. Predicate methods let me get arrays from my favorite, not my favorite printer objects.
PrinterControllerdraws objects Printerin the menu of status items.
PreferenceControllerhas a tip with several views (toolbar elements), including a view for the elite. I decided to show all printers in split-view style, with their names in the NSTableView on the left and with additional data on the right. I will also check the box on the right to control whether it is his favorite printer, and hopefully use notifications to be able to redraw the menu of status items. Perhaps a bold font is tied to the left.
I bind the contents of the TableView to an ArrayController to display objects from PrinterData, which is also an object in nib.
Can I get criticism for the way I organized it? Suggestions for any aspect?
source
share