How to @synthesize a C-Style array of pointers?

Posted by Peter Hajas on Stack Overflow See other posts from Stack Overflow or by Peter Hajas
Published on 2010-04-27T20:39:22Z Indexed on 2010/04/27 20:43 UTC
Read the original article Hit count: 346

Filed under:
|
|
|
|

I have a property defined in a class like so:

@interface myClass

UIImageView *drawImage[4];
...
@property (nonatomic, retain) UIImageView **drawImage;
...
@synthesize drawImage; // This fails to compile

I have found similar questions on StackOverflow and elsewhere, but none that really address this issue. What is the most Objective-C kosher way to do this?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about property