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 418 posted 12 years ago by Carter
2 321 posted 12 years ago by rabc
How to get the actual phone number of the device.
4 480 posted 12 years ago by suibhne
This adds a spinning activity indicator to the top navigation bar of a navigation controller.
0 474 posted 12 years ago by suibhne
Adds a fine border to a UIImage.
4 616 posted 13 years ago by suibhne
Some code that will load an image from a remote URL, and then resize it.
6 792 posted 13 years ago by suibhne
Populate a UIImageView with an image taken from a URL.
3 525 posted 13 years ago by suibhne
8 629 posted 13 years ago by lifedim
Just a simple loop around a mutable dictionary object which I always seem to forget.
1 421 posted 13 years ago by suibhne
Communication between objects..
0 404 posted 13 years ago by gerhardsletten
Returns an array with the names of the network interfaces (en0, en1, fw0, etc) Link to the IOKit framework
0 433 posted 13 years ago by Zydeco
Just replace a character within a string (e.g. carriage returns).
1 448 posted 13 years ago by suibhne
1 415 posted 13 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 550 posted 13 years ago by KevinBomberry
1) Make sure the ViewController for the view implements the \< UIPickerViewDelegate, >
0 384 posted 13 years ago by arpit
1 ... 5 6 7 8 9