Welcome To Snipplr


Everyone's Recent Objective C Snippets



1 ... 5 6 7 8 9
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 326 posted 12 years ago by Carter
2 253 posted 12 years ago by rabc
How to get the actual phone number of the device.
4 383 posted 12 years ago by suibhne
This adds a spinning activity indicator to the top navigation bar of a navigation controller.
0 355 posted 12 years ago by suibhne
Adds a fine border to a UIImage.
4 488 posted 12 years ago by suibhne
Some code that will load an image from a remote URL, and then resize it.
6 614 posted 12 years ago by suibhne
Populate a UIImageView with an image taken from a URL.
3 426 posted 12 years ago by suibhne
8 503 posted 12 years ago by lifedim
Just a simple loop around a mutable dictionary object which I always seem to forget.
1 343 posted 12 years ago by suibhne
Communication between objects..
0 327 posted 12 years ago by gerhardsletten
Returns an array with the names of the network interfaces (en0, en1, fw0, etc) Link to the IOKit framework
0 334 posted 12 years ago by Zydeco
Just replace a character within a string (e.g. carriage returns).
1 337 posted 12 years ago by suibhne
1 307 posted 12 years ago by njhamann
Creating a vibration is simple as pie - simpler in fact. It just requires one line of code; two if you add the import line. But as simple as a one-liner is it is better to make it into a function. So here is the one liner, followed by the function...
5 442 posted 12 years ago by KevinBomberry
1) Make sure the ViewController for the view implements the \< UIPickerViewDelegate, >
0 311 posted 12 years ago by arpit
1 ... 5 6 7 8 9