- 博客(8)
- 收藏
- 关注
原创 Slots in iPhone
#import "CustomPickerViewController.h"#import @implementation CustomPickerViewController@synthesize picker;@synthesize column1;@synthesize column2;@synthesize column3;@synthesize column4
2009-11-12 00:43:00 402
原创 Data from NSDictionary plist
data from plist when plist root is Dictonary NSBundle *bundle = [NSBundle mainBundle]; NSString *plistPath = [bundle pathForResource:@"statedictionary" ofType:@"plist"]; NSDictionary *dictionar
2009-11-12 00:04:00 336
原创 PickerDelegate
UIPickerView self hasVariable:id dataSource; id delegate;BOOL showsSelectionIndicatorNSInteger numberOfComponents; Functions - (NSInteger)numberOfRowsInComponent:(NSInteger
2009-11-12 00:00:00 490
原创 MultiView
Two Points lazy loading and reconstruction - (void)viewDidLoad {BlueViewController *blueController = [[BlueViewController alloc] initWithNibName:@"BlueView" bundle:nil];self.blueViewControl
2009-11-11 23:02:00 348
原创 Rotation transformation
Two WaysOne, reconstruction of the view when rotation//this function will Running after the start of rotation, the final automatically invoked before the occurrence of rotating animation- (void
2009-11-11 22:52:00 506
原创 iPhone SDK Basic Controllers
1, When you edit with keyboard on ,click the background the keyboard will disappear- (IBAction)backgroundClick:(id)sender {[nameField resignFirstResponder];[numberField resignFirstResponder];}
2009-11-11 20:16:00 425
原创 Draw roundCorner image in iPhone with sdk
static void addRoundedRectToPath(CGContextRef context, CGRect rect, float ovalWidth,float ovalHeight) { float fw, fh; if (ovalWidth == 0 || ovalHeight == 0) { CGContextAddRect(cont
2009-10-29 12:06:00 558
原创 real programmers
(1) real programmers do not schedule, only to please the leadership lackey have schedules, the real programmers will make the leadership of scary. (2) the real programmers do not write manuals, user
2009-09-30 14:30:00 299
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人