oct 28
上周末去东直门给孩子看中医,顺便带着他去三里屯苹果店玩玩,结果不让上二楼,我儿子最喜欢的儿童游戏 Math Blaster 只在楼上的 iMac 里才有,nnd,没玩成。
整个店都站满了黑衣黑裤的,还非常不友好,牛啊,简直是一个黑社会堂口,让我对苹果的印象大跌。
都是狗屁iPhone 4闹的。
熊啊!
上周末去东直门给孩子看中医,顺便带着他去三里屯苹果店玩玩,结果不让上二楼,我儿子最喜欢的儿童游戏 Math Blaster 只在楼上的 iMac 里才有,nnd,没玩成。
整个店都站满了黑衣黑裤的,还非常不友好,牛啊,简直是一个黑社会堂口,让我对苹果的印象大跌。
都是狗屁iPhone 4闹的。
熊啊!
Logging
In Xcode, click Run > Console to see NSLog statements.
NSLog(@"log: %@ ", myString); NSLog(@"log: %f ", myFloat); NSLog(@"log: %i ", myInt);
Display Images
Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.
CGRect myImageRect = CGRectMake(0.0f, 0.0f, 320.0f, 109.0f); UIImageView *myImage = [[UIImageView alloc] initWithFrame:myImageRect]; [myImage setImage:[UIImage imageNamed:@"myImage.png"]]; myImage.opaque = YES; // explicitly opaque for performance [self.view addSubview:myImage]; [myImage release];Read more...»
Recent Comments