Welcome To Snipplr


Everyone's Recent Objective C Snippets Tagged ios



« Prev 1 2
https://www.chrisjmendez.com/2016/02/10/swift-simple-get-request/
0 4141 posted 9 years ago by chrisaiv
This snippet is used to covert any date to days like today, tomorrow, 2 days ago, 2 weeks ago or even 1 years ago.
0 3852 posted 9 years ago by dipenpatel
This snippet shows you how to reload the UIAppearance of an application after changes made on the proxies. This is required because iOS nativaly only load appearance proxies on "applicationDidFinishLaunching".
0 4946 posted 11 years ago by Nibli
enqueue a block at a certain time
0 3777 posted 12 years ago by yannxou
Insert our text in IOS UIView with UILabel on screen
0 3634 posted 12 years ago by ferlom
This is all about appending strings.
0 3908 posted 12 years ago by ryantxr
pass a variable from web site (in php, in this case) to iOS app.
0 3779 posted 13 years ago by code4mac
This method will alloc the current class unless the device is a phone (also defined here). Then it will try to alloc the class with the suffix "Phone."
0 3572 posted 13 years ago by yar
Create a UIButton programatically
1 3831 posted 13 years ago by zopebie
The UISegmentedControl consists of a horizontal control divided into segments. Segmented controls are useful for allowing users to pick from a group or set of values. Each segment functions as its own button. By default, selecting a segment will d...
1 3956 posted 13 years ago by zopebie
When performing tasks that may take some time, you often need to provide some kind of visual feedback to your users. If you know how long the task will take to complete, you can use a progress indicator to show the user how much of the task has been...
1 1685 posted 13 years ago by zopebie
Reference: http://iosfonts.com/
1 2705 posted 13 years ago by zopebie
A sample code to show the scrolling, panning and zooming with UIScrollView
1 2296 posted 13 years ago by zopebie
Extract groups from a Regular Expression
0 3205 posted 13 years ago by BenClayton
Force NSLocalizedString to use a specific language
1 1944 posted 13 years ago by kajinka13
Mantenere in background (musica, location)
0 1363 posted 13 years ago by kajinka13
0 1478 posted 14 years ago by peruggia
0 1331 posted 14 years ago by peruggia
0 1816 posted 14 years ago by streamt
Use like this: [self showConfirmation:@"May we send you information and offers by Email?" withMessage:@"1 email per week maximum"];
1 1650 posted 14 years ago by yasirmturk
Use like this: [self docsUrl]
1 1534 posted 14 years ago by yasirmturk
Use like this: [[self docsPath] stringByAppendingPathComponent:@"photo.png"]
1 1599 posted 14 years ago by yasirmturk
da testare
1 1426 posted 14 years ago by ghiboz
0 1207 posted 14 years ago by mlecho
Show a notification immediately after application enter in background (but you can schedule it too)
0 1541 posted 14 years ago by rabc
« Prev 1 2