FROM : Nick Zitzmann
DATE : Fri Jan 11 17:22:02 2002
(Note: This is a repost. I tried this once already and the
message didn't go through for some reason, so I'm trying this
again. If you see this twice, please ignore and accept my
apologies.)
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.
How am I supposed to properly get the item out of the array? If
it helps, this is what the array looks like inside courtesy of
NSLog:
<CFArray 0x28eb8f0 [0x8016024c]>{type = immutable, count = 13,
values = (
0 : Basso
1 : Bonk
2 : Frog
3 : Funk
4 : Glass
5 : Ping
6 : Pong2003
7 : Pop
8 : Purr
9 : Sosumi
10 : Submarine
11 : Temple
12 : Tink
)}
Nick Zitzmann
ICQ: 22305512
"Democracy is a very delicate tool, and if you try to impose
democracy without the basic civil society that supports it, you
get yourself into a serious problem." - Edward Walker, former US
Assistant Secretary of State for Near Eastern Affairs (2000-2001)
DATE : Fri Jan 11 17:22:02 2002
(Note: This is a repost. I tried this once already and the
message didn't go through for some reason, so I'm trying this
again. If you see this twice, please ignore and accept my
apologies.)
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.
How am I supposed to properly get the item out of the array? If
it helps, this is what the array looks like inside courtesy of
NSLog:
<CFArray 0x28eb8f0 [0x8016024c]>{type = immutable, count = 13,
values = (
0 : Basso
1 : Bonk
2 : Frog
3 : Funk
4 : Glass
5 : Ping
6 : Pong2003
7 : Pop
8 : Purr
9 : Sosumi
10 : Submarine
11 : Temple
12 : Tink
)}
Nick Zitzmann
ICQ: 22305512
"Democracy is a very delicate tool, and if you try to impose
democracy without the basic civil society that supports it, you
get yourself into a serious problem." - Edward Walker, former US
Assistant Secretary of State for Near Eastern Affairs (2000-2001)
| Related mails | Author | Date |
|---|---|---|
| Nick Zitzmann | Jan 11, 03:21 | |
| Nick Zitzmann | Jan 11, 17:22 | |
| Sam Goldman | Jan 11, 17:55 | |
| Finlay Dobbie | Jan 12, 08:35 |






Cocoa mail archive

