Re: Objective-C and it's future
Re: Objective-C and it's future
- Subject: Re: Objective-C and it's future
- From: Thomas Davie <email@hidden>
- Date: Sat, 8 Jul 2006 01:42:59 +0100
On 8 Jul 2006, at 01:41, Shawn Erickson wrote:
On 7/7/06, Rob Ross <email@hidden> wrote:
I'm just learning Obj-C myself, so maybe my understanding is not
correct. But, don't you actually have the option to use static typing
in certain instances, and use dynamic typing in others?
Eg:
id myStr;
vs
NSString *myStr;
Won't the second version give you the benefits of static typing
(compiler time checking)?
So my understanding is you can have the best of both worlds. Or have
I misunderstood something?
Correct.
That is correct, but can you specify for me an NSArray containing
only items that respond to a specific display method?
This is the sort of check that I would like to be able to do at
compile time.
Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden