NSString intValue
NSString intValue
- Subject: NSString intValue
- From: Andreas Næsby Rasmussen <email@hidden>
- Date: Tue, 12 Aug 2003 16:44:28 +0200
Hi,
Something quite trivial which is starting to annoy me. I have a
NSString containing for example "1234", which I want to turn into an
int.
I fail to see why the following doesn't work but it always crashes with
... exited due to signal 10 (SIGBUS)
NSString *test = @"1234";
NSLog(@"test: %@", [test intValue]);
Thank you in advance
anr
_______________________________________________
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.