On 01/12/2009, at 7:39 PM, Pierre Berloquin wrote:

> How come an NSString or NSMutableString I declare in the view controler .h
> interface
> 
> NSMutableString *language;
> 
> 
> is "out of scope" even before I do anything with it in the .m implementation
> 
> 
> language = [[NSMutableString alloc] init];


Good game, but can you supply some surrounding context?

Is 'language' an ivar of a class or just sitting there as a global? Where is 
the alloc/init being called from? What is giving the error - the compiler? 
Debugger?

Or have I already used up my 20 questions?

--Graham


_______________________________________________

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]

Reply via email to