--- On Wed, 8/20/08, Eliza Block <[EMAIL PROTECTED]> wrote:
> In short, I want to do something like this:
> Class stringClass = [NSString class];
> id myNewString = [[stringClass alloc] init];
>
> But that doesn't work.
Yes it does. I mean, it creates a static empty string and thus isn't all that
useful, but it works just as well as [[NSString alloc] init]. Why do think it
doesn't work? What specifically is going wrong? Are you getting an error?
Cheers,
Chuck
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]