(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
NSMutableArray *strings = [[NSMutableArray alloc]init]; | |
[string addObject:@"string1"]; | |
[string addObject:@"string2"]; | |
[string addObject:@"string3"]; | |
[string addObject:@"string4"]; | |
NSArray *sortedStrings = [strings sortedArrayUsingSelector:@selector(compare:)]; |
extern "C" { | |
int objc_getClassList(Class*, int); | |
Class class_getSuperclass(Class cls); | |
const char * class_getName(Class cls); | |
} | |
- (void)viewDidLoad { | |
int numClasses = objc_getClassList(NULL, 0); | |
Class *classes = NULL; | |
Insomnia for iPhone | |
Insomnia is an iPhone native application that, when enabled, will prevent the iPhone from sleeping, thus overriding its default behaviour. This allows background applications to continue to run and WiFi to work long after the screen has been switched off. | |
(The iPhone's default behaviour is to sleep 30 seconds after the screen has gone off, when not docked and charging that is). | |
Uses | |
Insomnia is useful if you are running a logging application that you would want to keep working while your phone is locked and the display is off. | |
If you are using an IM or IRC client that you wish to stay connected to receive messages while the screen is off. |