Classes, Objects, and Methods(Chapter 3 of Programming in Objective-C 2.0)

it2022-05-08  10

The leading minus sign (-) tells the Objective-C compiler that the method is an instance method.The only other option is a plus sign (+), which indicates a class method.

 

转载于:https://www.cnblogs.com/zhtf2014/archive/2010/10/15/1851929.html


最新回复(0)