> NSArray *justSaySay = [NSArray arrayWithObjects:
> @"there's NOBODY know CHINA than me",
> @"there's NOBODY know AMERICAN than me",
> @"there's ANYBODY know GNUSTEP than me"
> ];

This will often crash, so it is probably the cause of your problem.

The +arrayQWithObjects: method requires that the list of objects must be 
terminated.  Otherwise it will try to interpret the contents of the memory 
location after the last object in the list as an object, which will usually 
cause a crash.
The correct code is:


NSArray *justSaySay = [NSArray arrayWithObjects:
@"there's NOBODY know CHINA than me",
@"there's NOBODY know AMERICAN than me",
@"there's ANYBODY know GNUSTEP than me",
nil
];


Reply via email to