@protocol vs NSClassFromString
@protocol vs NSClassFromString
- Subject: @protocol vs NSClassFromString
- From: The Amazing Llama <email@hidden>
- Date: Tue, 21 Jan 2003 18:29:01 -0800
I understand that these two things are fundamentally different in
results, but they are quite similar in what they do; query the runtime.
So why isn't it @protocol and @class()? This makes more sense to my
intuition, and is a hell of a lot shorter...
I guess I could implement it myself with something like the following,
but why wasn't it done the way it seems it 'should be' the first time?
#define @class(aClass) NSClassFromString(@"aClass")
Seth A. Roby The Amazing Llama < mail or AIM me at tallama at mac dot
com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.