On Aug 8, 2008, at 8:33 AM, Uli Kusterer wrote:
On 08.08.2008, at 07:28, Nick Zitzmann wrote:
On Aug 7, 2008, at 11:08 AM, Lee, Frederick wrote:
1) why use instantiated objects versus classes (via class
methods)?
Because class methods other than +new return autoreleased objects,
wh
On Aug 8, 2008, at 6:10 AM, Lee, Frederick wrote:
I'm becoming overtly dependent on Cocoa Objects and am waiting for
the day an ObjC/Cocoa interface to the Address Book is
available
http://developer.apple.com/documentation/UserExperience/Reference/AddressBook/Classes/ABAddressBook_Class/Re
On 08.08.2008, at 07:28, Nick Zitzmann wrote:
On Aug 7, 2008, at 11:08 AM, Lee, Frederick wrote:
1) why use instantiated objects versus classes (via class
methods)?
Because class methods other than +new return autoreleased objects,
which makes non-GC memory management a little bit eas
, in the
scheme of things.
Ric.
-Original Message-
From: Graham Cox [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2008 12:36 AM
To: Lee, Frederick
Cc: cocoa-dev@lists.apple.com
Subject: Re: Cocoa Dev Style: Using Class versus Object Methods
On 8 Aug 2008, at 3:08 am, Lee, Fred
On Thu, Aug 7, 2008 at 10:28 PM, Nick Zitzmann <[EMAIL PROTECTED]> wrote:
>
> Because class methods other than +new return autoreleased objects, which
> makes non-GC memory management a little bit easier.
This isn't very accurate statement (for a few reasons) ... IMHO it
would be better left unsta
It's not style, but a technical consideration. Class-level things are
shared and common between all object instances. They are thus like
globals, but obviously better organized. Class-level methods cannot
access things at the object level. Objects have their own different
values of attribut
On 8 Aug 2008, at 3:08 am, Lee, Frederick wrote:
Greetings:
I just came across a NSObject subclass written by someone, that
contains a couple of date/Time-processing methods (stringToDate,
visa-versa).
The methods were all class-level methods (+) vs (-); and hence, didn't
require the famil
On Aug 7, 2008, at 11:08 AM, Lee, Frederick wrote:
1) why use instantiated objects versus classes (via class
methods)?
Because class methods other than +new return autoreleased objects,
which makes non-GC memory management a little bit easier.
2) Are classes stored in the stac
Greetings:
I just came across a NSObject subclass written by someone, that
contains a couple of date/Time-processing methods (stringToDate,
visa-versa).
The methods were all class-level methods (+) vs (-); and hence, didn't
require the familiar alloc & init instantiation methods.
I've bee