Skip to main content
7 events
when toggle format what by license comment
Dec 2, 2014 at 22:54 comment added user102008 @amon: However, to call instance methods on the singleton, he would presumably have to call something to "get" the singleton object, which is another call; whereas for calling a class method, the class object is provided directly.
Dec 2, 2014 at 18:21 history tweeted twitter.com/#!/StackProgrammer/status/539846955762196480
Dec 2, 2014 at 13:01 vote accept Dhiraj Gupta
Dec 2, 2014 at 12:49 answer added Tristan Burnside timeline score: 3
Dec 2, 2014 at 10:58 comment added amon Since classes are objects and singletons are objects, all you're doing is calling methods on objects, and calling methods on one kind of object shouldn't be noticeably faster than calling methods on another kind of object. Class methods are not the “static methods�� known from other languages such as Java which are more like plain old C functions in Objective-C.
Dec 2, 2014 at 10:48 review First posts
Dec 2, 2014 at 12:04
Dec 2, 2014 at 10:44 history asked Dhiraj Gupta CC BY-SA 3.0