NSMutableArray Question
NSMutableArray Question
- Subject: NSMutableArray Question
- From: John Mullins <email@hidden>
- Date: Fri, 31 Oct 2003 02:06:35 -0600
Hey,
This is a dumb question but I haven't found any good examples of this
on the internet, and I learn best by example than reference.
I have a class...
@interface Sample : NSObject {
AudioFilePlayID mPlayID;
}
@end
And I would like to make an NSMutableArray of a group of Sample
classes. I can't really figure out how to make an NSMutableArray with
objects. And how would I go about iterating through them.
And once I have like ObjectAtIndex: how do I call mPlayID from it?? I
need to pass mPlayID as a reference.. like &sample.mPlayID would be in
C.... to a method.
Know it's not a very good question ... but I can't find any good
examples of this anywhere.
Thanks...
John Mullins
_______________________________________________
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.