Welcome To Snipplr


Everyone's Recent Objective C Snippets



1 1856 posted 15 years ago by magickaito
Place this method in a UITableViewController Subclass' .m file
0 1446 posted 15 years ago by joshparnham
2 2132 posted 15 years ago by vaishnavi
3 2969 posted 15 years ago by vaishnavi
0 1511 posted 15 years ago by rabc
0 1645 posted 15 years ago by rabc
Delegate is the object that are listning to Delegatior.
0 1615 posted 15 years ago by gerhardsletten
Load data from url and send it to an UIImage
0 1542 posted 15 years ago by rabc
1 2729 posted 15 years ago by tenveer
1 1667 posted 15 years ago by rabc
RGBCOLOR() is defined at Three20.
2 1667 posted 15 years ago by zuzara
I needed to add an button to the right of the default section header in an UITableView, and I wanted to keep the default style of the headers.
1 1904 posted 15 years ago by gerhardsletten
Use this variation of **setPlayerPosition** in your HelloWorldScene.m file to negate the need to use **setViewpointCenter** to manually calculate the viewport to track your player. This uses the **CCFollow** function as demonstrated in ActionsTest, o...
1 1895 posted 15 years ago by cell-gfx
Drawing scaled rectangles of arbitrary width and height that keeps the corner and sides properly scaled while growing the center.
1 2567 posted 15 years ago by zingo
Snippet from a question I answered in StackOverflow.
2 1702 posted 15 years ago by rabc
Snippet from a question I answered in StackOverflow.
4 2288 posted 15 years ago by rabc
Here is how to determine the device type.\r\n\r\nHow to use it.\r\n\r\nUIDeviceHardware *h=[[UIDeviceHardware alloc] init];\r\n[self setDeviceModel:[h platformString]]; \r\n[h release];
3 3507 posted 15 years ago by espinallab
Set UITableView background to a pattern
3 2802 posted 15 years ago by glebd