Welcome To Snipplr


Everyone's Recent Objective C Snippets Tagged mac



« Prev 1 Next »
Force NSLocalizedString to use a specific language
1 116 posted 8 years ago by kajinka13
A Modular method to set new text with color of an NSButton. Thanks go to the owner of this code - RayNewbie - in the Apple discussion forum.
0 133 posted 8 years ago by mirage3d
How do you delete all objects in an entity in Core Data? It's not as simple or straightforward as it is in SQL/SQLite. here's one reasonably quick way... taken from stackoverflow
0 120 posted 8 years ago by mirage3d
Bring an application to front to gain focus.
1 109 posted 8 years ago by mirage3d
If you're writing a preference pane and you'd like to exit back to the main System Preferences view, just use this code.
1 83 posted 10 years ago by Carter
Returns an array with the names of the network interfaces (en0, en1, fw0, etc) Link to the IOKit framework
0 90 posted 10 years ago by Zydeco
2 89 posted 2020 years ago by buscarini
« Prev 1 Next »