On 4 Oct 2013, at 10:54 AM, Marcelo Alves <[email protected]> wrote:
> Why not enumerate each subview, detect if it is a UIButton and add the capped
> images?
Easier: Select each button and connect it to an outlet collection
@property (strong, nonatomic) IBOutletCollection(UIButton) NSArray
*customButtons;
and enumerate .customButtons. Interface Builder will create a collection outlet
if you select that type in the normal control-drag process.
And now someone will tell me that despite my simple experiments, outlet
collections never really worked.
— F
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]