Accessorizer  writes your NSMutableArray indexed accessors


You simply write:


NSMutableArray *songs;


and Accessorizer does all the rest!

Indexed Accessors (NSMutableArray)

Using Collections such as NSMutableArray, NSSet or a Custom collection ...

Here’s a short video clip showing Accessorizer in action...

What developers 
are saying ...testimonials.htmltestimonials.htmlshapeimage_1_link_0shapeimage_1_link_1
Videos & TutorialsaccessorizerVideos.htmlaccessorizerVideos.htmlshapeimage_3_link_0
Homeaccessorizer.htmlaccessorizer.htmlshapeimage_4_link_0
© 2002 - 2009 Kevin Callahanhttp://www.kevincallahan.orgshapeimage_5_link_0

#pragma mark -

#pragma mark songs - Indexed Collection Declaration


///////  songs  ///////


- (NSUInteger) countOfSongs;

- (Song *) objectInSongsAtIndex: (NSUInteger)idx;

- (void) insertObject: (Song *)aSong inSongsAtIndex: (NSUInteger)idx;

- (void) removeObjectFromSongsAtIndex: (NSUInteger)idx;

- (void) replaceObjectInSongsAtIndex: (NSUInteger)idx withObject: (Song *)aSong;

- (void) getSongs: (id *) buffer range: (NSRange)inRange;

- (void) insertSongs: (NSArray *) songArray atIndexes: (NSIndexSet *) indexes;

- (void) removeSongsAtIndexes: (NSIndexSet *) indexes;

- (void) replaceSongsAtIndexes: (NSIndexSet *) indexes withSongs: (NSArray *) songArray;



#pragma mark -

#pragma mark songs - Indexed Accessors


///////  songs  ///////


- (NSUInteger) countOfSongs {

    return [[self songs] count];

}


- (void) getSongs: (id *) buffer range: (NSRange)inRange {

    [[self songs] getObjects: buffer range: inRange];

}


- (Song *) objectInSongsAtIndex: (NSUInteger)idx {

    return [[self songs] objectAtIndex: idx];

}


- (void) insertObject: (Song *)aSong inSongsAtIndex: (NSUInteger)idx {

    [[self songs] insertObject: aSong atIndex: idx];

}


- (void) insertSongs: (NSArray *) songArray atIndexes: (NSIndexSet *) indexes {

    [[self songs] insertObjects: songArray atIndexes: indexes];

}


- (void) removeObjectFromSongsAtIndex: (NSUInteger)idx {

    [[self songs] removeObjectAtIndex: idx];

}


- (void) removeSongsAtIndexes: (NSIndexSet *) indexes {

    [[self songs] removeObjectsAtIndexes: indexes];

}


- (void) replaceObjectInSongsAtIndex: (NSUInteger)idx withObject: (Song *)aSong {

    [[self songs] replaceObjectAtIndex: idx withObject: aSong];

}


- (void) replaceSongsAtIndexes: (NSIndexSet *) indexes withSongs: (NSArray *) songArray {

    [[self songs] replaceObjectsAtIndexes: indexes withObjects: songArray];

}


KVO

Initialization MethodsinitMethods.htmlinitMethods.htmlshapeimage_6_link_0

Features

Indexed Accessorsshapeimage_7_link_0
BUYhttp://store.eSellerate.net/s.aspx?s=STR5524388698

only $15