Skip navigation.
 
mlRe: Retrieving an NSString from an NSArray...?
FROM : Sam Goldman
DATE : Fri Jan 11 17:55:59 2002

On 1/11/02 5:21 PM, "Nick Zitzmann" <<email_removed>> wrote:

> I've got another problem that is giving me trouble in my quest
> to get a list of sound effects installed on the system.
>
> Now I have the list in NSStrings stored in an NSArray, but if I
> try accessing them in any way, such as this:
>
> NSString *teststring = [array objectAtIndex:0];
>
> The program mysteriously crashes at this point. I can't send the
> object to any other object that accepts NSStrings or it will
> crash as well.


What kind of crash? SIGBUS or SIGSEGV? That would mean you have problems
with your retain count. Maybe you are trying to access something that isn't
there.

- Sam


Related mailsAuthorDate
mlRetrieving an NSString from an NSArray...? Nick Zitzmann Jan 11, 03:21
mlRetrieving an NSString from an NSArray...? Nick Zitzmann Jan 11, 17:22
mlRe: Retrieving an NSString from an NSArray...? Sam Goldman Jan 11, 17:55
mlRe: Retrieving an NSString from an NSArray...? Finlay Dobbie Jan 12, 08:35