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 451 posted 13 years ago by Carter
2 342 posted 13 years ago by rabc
How to get the actual phone number of the device.
4 523 posted 13 years ago by suibhne
This adds a spinning activity indicator to the top navigation bar of a navigation controller.
0 511 posted 13 years ago by suibhne
Adds a fine border to a UIImage.
4 707 posted 13 years ago by suibhne
Some code that will load an image from a remote URL, and then resize it.
6 891 posted 13 years ago by suibhne
Populate a UIImageView with an image taken from a URL.
3 571 posted 13 years ago by suibhne
8 726 posted 13 years ago by lifedim
Just a simple loop around a mutable dictionary object which I always seem to forget.
1 448 posted 13 years ago by suibhne
Communication between objects..
0 443 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 462 posted 13 years ago by Zydeco
Just replace a character within a string (e.g. carriage returns).
1 481 posted 13 years ago by suibhne
1 443 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 599 posted 13 years ago by KevinBomberry
1) Make sure the ViewController for the view implements the \< UIPickerViewDelegate, >
0 415 posted 14 years ago by arpit
1 ... 5 6 7 8 9