Welcome To Snipplr


Everyone's Recent Objective C Snippets Tagged iphone



1 2 3 4 Next »
How to get the actual phone number of the device.
4 115 posted 10 years ago by suibhne
This adds a spinning activity indicator to the top navigation bar of a navigation controller.
0 89 posted 10 years ago by suibhne
Adds a fine border to a UIImage.
4 162 posted 10 years ago by suibhne
Some code that will load an image from a remote URL, and then resize it.
6 172 posted 10 years ago by suibhne
Populate a UIImageView with an image taken from a URL.
3 117 posted 10 years ago by suibhne
8 158 posted 10 years ago by lifedim
Just a simple loop around a mutable dictionary object which I always seem to forget.
1 93 posted 10 years ago by suibhne
Communication between objects..
0 74 posted 10 years ago by gerhardsletten
Just replace a character within a string (e.g. carriage returns).
1 97 posted 11 years ago by suibhne
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 141 posted 11 years ago by KevinBomberry
1) Make sure the ViewController for the view implements the \< UIPickerViewDelegate, >
0 85 posted 11 years ago by arpit
Display simple alert box
6 139 posted 11 years ago by steve918
Allows you to toggle visibility of the iPhone status bar at the top of the screen that shows the carrier information, network status and time
6 102 posted 11 years ago by steve918
Get Version Number from Info.plist
8 145 posted 11 years ago by steve918
Grabs the unique device id from the iPhone
3 105 posted 11 years ago by steve918
iPhone uses [LDML standard](http://unicode.org/reports/tr35/tr35-4.html#DateFormatPatterns) for date formatting
8 136 posted 11 years ago by steve918
the controllers view is setup s.t. it adds the mainView as a subview to its default view in the init method
4 127 posted 12 years ago by jonathanbp
Para usar el interface builder con el iphone hay que crear una vista o una ventana, guardarla dentro del proyecto, y meter esta línea en appdelegate en applicationDidFinishLaunching.
0 103 posted 12 years ago by buscarini
1 2 3 4 Next »