Welcome To Snipplr


Everyone's Recent Objective C Snippets



1 2 3 4 5 6 ... 9
Add this code to the controller Set controller as the delegate of the all the UITextField s in the UIView
1 2210 posted 14 years ago by yasirmturk
da testare
1 1575 posted 14 years ago by ghiboz
Cocoa provides NSTask to run subprocesses. It can be used to run shell scripts, but all this manual pipe and file handling is a bit cumbersome. Fortunately, for a simple script, we can use the trusty old system and redirect its result to a file.
0 2175 posted 14 years ago by zingo
Just change the filename "courses" to that of your own and the entity name "Course" to your own.
1 2005 posted 14 years ago by mattneary
Do you need you app to do something when it is first run on a certain computer? Do you need to know if it has been run before? Enter the following code into your Application Delegate. This code creates a BOOL that is created when the app is run. T...
0 1935 posted 14 years ago by zingo
This is how you play and stop sound effects in cocos2d
0 1718 posted 14 years ago by espinallab
0 1451 posted 14 years ago by paki
0 1323 posted 14 years ago by mlecho
0 2000 posted 15 years ago by streamt
1 2002 posted 15 years ago by streamt
1 1892 posted 15 years ago by streamt
Show a notification immediately after application enter in background (but you can schedule it too)
0 1816 posted 15 years ago by rabc
0 1791 posted 15 years ago by arpit
0 1749 posted 15 years ago by jodm
1 2 3 4 5 6 ... 9