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 255 posted 11 years ago by suibhne
This adds a spinning activity indicator to the top navigation bar of a navigation controller.
0 208 posted 11 years ago by suibhne
Adds a fine border to a UIImage.
4 318 posted 11 years ago by suibhne
Some code that will load an image from a remote URL, and then resize it.
6 399 posted 11 years ago by suibhne
Populate a UIImageView with an image taken from a URL.
3 280 posted 11 years ago by suibhne
8 333 posted 11 years ago by lifedim
Just a simple loop around a mutable dictionary object which I always seem to forget.
1 234 posted 11 years ago by suibhne
Communication between objects..
0 217 posted 11 years ago by gerhardsletten
Just replace a character within a string (e.g. carriage returns).
1 227 posted 11 years ago by suibhne
1 205 posted 11 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 296 posted 11 years ago by KevinBomberry
1) Make sure the ViewController for the view implements the \< UIPickerViewDelegate, >
0 206 posted 11 years ago by arpit
Display simple alert box
6 323 posted 12 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 233 posted 12 years ago by steve918
Get Version Number from Info.plist
8 321 posted 12 years ago by steve918
Grabs the unique device id from the iPhone
3 271 posted 12 years ago by steve918
iPhone uses [LDML standard](http://unicode.org/reports/tr35/tr35-4.html#DateFormatPatterns) for date formatting
8 296 posted 12 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 293 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 246 posted 13 years ago by buscarini
1 2 3 4 Next »