Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Objective-c > Re: Extensions ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 10 Topic 936 of 1039
Post > Topic >>

Re: Extensions vs categories

by Reinder Verlinde <reinder@[EMAIL PROTECTED] > Dec 28, 2007 at 04:13 PM

> On 2007-12-27 23:31:52 +0100, Michael Ash <mike@[EMAIL PROTECTED]
> said:
> 
> > ActiveMan <basurero@[EMAIL PROTECTED]
> wrote:
> >> Hello, thank you both.
> >> 
> >> There is a lot of do***entation about properties, garbage collection
> >> and fast enumerations as new features of Objective-C 2.0, but
> >> extensions has been missed.
> > 
> > I don't see how. It's very clearly described in the standard reference
for
> > the language. The fact that the description is short is simply due to
the
> > fact that extensions are a very small and simple addition to the
language
> > which doesn't warrant a great deal of discussion.

In article <fl31mn$uft$1@[EMAIL PROTECTED]
>, ActiveMan <basurero@[EMAIL PROTECTED]
> 
wrote:

> AFAIK they don't mention anywhere that extensions is a new feature. In 
> fact when you compile a source file with Xcode using as target Mac OS X 
> 10.4 there is no warnings when you make a extension. However there 
> appears a warning when you use a @[EMAIL PROTECTED]
 do not see how that could be an argument against it being a new 
feature. I haven't completely checked this, but to me, the phrase that 
"Class extensions are like ³anonymous² categories" 
(<http://developer.apple.com/do***entation/Cocoa/Conceptual/ObjectiveC/Ar
ticles/chapter_4_section_5.html>) makes me think that extensions are 
purely syntactic sugar.
 
<http://developer.apple.com/do***entation/Cocoa/Conceptual/ObjectiveC/Art
icles/chapter_5_section_8.html> and 
<http://developer.apple.com/do***entation/Cocoa/Reference/ObjCRuntimeRef/
Reference/reference.html#//apple_ref/c/func/class_getProperty> on the 
other hand, indicate that properties require runtime sup****t, which 10.4 
does not have.

Reinder
 




 10 Posts in Topic:
Extensions vs categories
ActiveMan <basurero@[E  2007-12-27 11:21:46 
Re: Extensions vs categories
Gregory Weston <uce@[E  2007-12-27 07:34:07 
Re: Extensions vs categories
ActiveMan <basurero@[E  2007-12-27 17:23:47 
Re: Extensions vs categories
Michael Ash <mike@[EMA  2007-12-27 11:20:39 
Re: Extensions vs categories
Gregory Weston <uce@[E  2007-12-27 13:33:40 
Re: Extensions vs categories
ActiveMan <basurero@[E  2007-12-27 20:57:18 
Re: Extensions vs categories
Michael Ash <mike@[EMA  2007-12-27 16:31:52 
Re: Extensions vs categories
ActiveMan <basurero@[E  2007-12-28 15:40:49 
Re: Extensions vs categories
Reinder Verlinde <rein  2007-12-28 16:13:27 
Re: Extensions vs categories
Michael Ash <mike@[EMA  2007-12-28 10:41:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 20:14:47 CDT 2008.