Accessing array items via IB Bindings
Accessing array items via IB Bindings
- Subject: Accessing array items via IB Bindings
- From: Dan Grassi <email@hidden>
- Date: Thu, 7 Sep 2006 15:14:03 -0400
I want to access an item from an array via a binding in IB. I can't
find the syntax and possible the method I must supply. I have
supplied the following accessors for a NSMutableArray* steps:
- (NSMutableArray *)steps;
- (void)setSteps:(NSMutableArray *)Steps;
- (void)addStep:(id)Step;
- (void)removeStep:(id)Step;
- (unsigned int)countOfSteps;
- (id)objectInStepsAtIndex:(unsigned int)index;
- (void)insertObject:(id)anObject inStepsAtIndex:(unsigned int)index;
- (void)removeObjectFromStepsAtIndex:(unsigned int)index;
- (void)replaceObjectInStepsAtIndex:(unsigned int)index withObject:
(id)anObject;
After populating the steps array I have tried to access it via
bindings in IB with value accessors such as steps.1 and steps[1] with
no success.
Can someone point out where to find accessor syntax?
Thanks,
Dan Grassi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden