08 2012 档案
摘要:One of the strangest pieces of common syntax in Objective-C is the line self = [super init];. Without any explanation, this arrangement raises a few questions. Does this line set the self value for the instance? Is self just a variable like any other? If so, why have it at all? I'll address each
阅读全文
摘要:Sometimes you find that there is a strange stituation about xcode giving message "object send -autorelease many times". 1. Usually, you may seed autorelease to object many times. 2. There is also a stituation an object' initial method is not named according to apple initial method name
阅读全文