!!!Objective-C General

来源:互联网 发布:php floor 编辑:程序博客网 时间:2024/04/28 06:42

Material

The Objective-C 2.0 Programming Language


Topic

Method Syntax in Objective-C: http://stackoverflow.com/questions/683211/method-syntax-in-objective-c

Overriding method in subclass: http://stackoverflow.com/questions/6858457/objective-c-overriding-method-in-subclass

Static Variable: http://stackoverflow.com/questions/1087061/objective-c-static-variables

The differences between free, dealloc, release, and autorelease: http://stackoverflow.com/questions/3335350/what-are-the-differences-between-free-dealloc-release-and-autorelease   You must never send-dealloc to an object except tosuper in the object's own -dealloc method.

@property and its attributes: http://stackoverflow.com/questions/2255861/property-and-retain-assign-copy-nonatomic :

1. assign: count will not increase

2. retain: count will increase

3. copy: create another object

respondsToSelector: http://stackoverflow.com/questions/3697058/when-to-use-respondstoselector-in-objective-c























原创粉丝点击