Welcome To Snipplr


Everyone's Recent Objective C Snippets



1 ... 5 6 7 8 9 Next »
A database table is basically an array of dictionary objects. As long as all the fields are valid property list types, you can loop through the array creating a managed object for each dictionary and setting the values. If you have an array con...
2 942 posted 17 years ago by zingo
Prints content from an NSError or NSArray content from a managedObjectContext.
0 929 posted 17 years ago by zingo
Using a gcc predefined macro, __DATE__, the code can know for itself when it was compiled, and build in an expiration date based on that value. For a internationalised version see: http://snipplr.com/view/7196/kill-app-after-expire-date-suicidal-c...
1 1186 posted 17 years ago by zingo
1 1292 posted 17 years ago by 0xced
This provides a nice split view resizing method with a minimum size restraint. You HAVE to specify MIN_LEFT_PANE_W for this to work.
2 976 posted 17 years ago by iloveitaly
0 909 posted 17 years ago by tgunr
2 1192 posted 2024 years ago by buscarini
1 ... 5 6 7 8 9 Next »