Re: How to get a "Normal" button in iOS 7/IB
Re: How to get a "Normal" button in iOS 7/IB
- Subject: Re: How to get a "Normal" button in iOS 7/IB
- From: Fritz Anderson <email@hidden>
- Date: Fri, 04 Oct 2013 12:14:32 -0500
On 4 Oct 2013, at 10:54 AM, Marcelo Alves <email@hidden> 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@hidden)
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:
This email sent to email@hidden