Everything seems ready. There’s nothing else to do. Then you commit to releasing. Push it out into the wild for everyone to judge. It’s right after that moment you manage to see all the flaws. How incomplete something is. But you need to take that jump to open up your mind again.
Monthly Archives: November 2011
Notethread
I’ve never found any note taking applications that let me explore my ideas. You’re stuck in a single list land. There’s no room to expand upon certain points and leave others a little lighter. Representing my levels of thought on a subject wasn’t possible. That’s why I wrote Notethread. It’s my first proper application and [...]
iOS SDK: Keeping Content From (being hidden) Underneath the Keyboard
Jeroen van Rijn has written an article over at Mobiletuts+ Sometimes form content needs to fill the entire iOS screen. So what do you do when the keyboard covers your UITextField or UITextView? In this quick tip I will demonstrate how to use a UIScrollView to keep your form content from being hidden when the [...]
Objective C – Sorting by an object’s property
If we had an object with a createdDate property; sorting it is easy using an NSSortDescriptor NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"createdDate" ascending:TRUE];NSArray *sortedObjects = [[objectsToSort allObjects] sortedArrayUsingDescriptors: [NSArray arrayWithObject:sortDescriptor]];
Repetition, repetition, repetition
Or should it be – “Yes, yes, yes, yes, yes .. Oh wait! No.” Have you ever had the occasion where after a series of the same answer you’ll repeat it without thinking? There’s a point where your brain disengages and goes into cruise control. You give up your higher level of thought because you [...]
iOS development – UITextView adding text shadow
Useful answer from adjwilli And don’t forget to add up top: #import <QuartzCore/QuartzCore.h> text.layer.shadowColor = [[UIColor whiteColor] CGColor];text.layer.shadowOffset = CGSizeMake(1.0f, 1.0f);text.layer.shadowOpacity = 1.0f;text.layer.shadowRadius = 1.0f;
Objective-c singleton
#Update: 2011/11/28 Colin Wheeler has a thread safe implementation for Singletons If you must use singletons, use dispatch_once() dispatch_once() solves the problem of safely being able to create a singleton in that (1) it guarantees that the code in the block will only be called once for the lifetime of the application (2) its thread [...]