2007
Sep
We apologize for the untimely...
We have been busy bees and have had no time for hackery. In the meantime, here are some samples to...
Sep 26th
Draw yr strings cheap and easy
CGContextRef context = CGBitmapContextCreate(…); UIPushContext(context); UITextLabel...
Sep 13th
You are so cover flow
@implementation SlowFlipView // Combine something old… - (void)flipSlowly; { // enable...
Sep 13th
My app never crashes
# ssh root@iphone cat /var/logs/CrashReporter/LatestCrash.plist | less
Sep 11th
Take a swipe at it
In a UITable subclass: - (int)swipe:(int)num withEvent:(GSEventRef)event; { if (num ==...
Sep 11th
What goes down, must come up
- (void)buttonPressed { NSLog(@”Take action when a user finishes pressing a button, not when...
Sep 11th
Just don't call it a desktop picture
UIImageView *background = [[[UIImageView alloc] initWithFrame:CGRectMake(…)]...
Sep 11th
Open sesame
In your UIApplication instance: [self openURL:[NSURL...
Sep 4th
How to make Gruber hate your app...
#import <GraphicsServices/GraphicsServices.h> #import <UIKit/UIKit.h> textLabel =...
Sep 4th
Automagicanimation
Wrap your messages to a UIView in +beginAnimations: and +endAnimations to automatically animate to...
Sep 3rd
Watch your waistline
There’s no MallocDebug or other leak checking tools, so make sure you’re not becoming a...
Sep 2nd
"Wow. Nice curves."
#import <UIKit/UIKit.h> - (void)drawRect:(CGRect)rect;{ ...
Sep 1st
Even from this angle, your app is still...
#import <UIKit/UIKit.h>#import <LayerKit/LayerKit.h>UIView *view = …LKTransform...
Sep 1st
Aug
Pantone has nothing on you
#import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface UIView (Color) +...
Aug 31st
Use UIHardware
Don’t assume that the size of the screen is 320x480 (who’s to say that the next version...
Aug 31st