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: Dave <email@hidden>
- Date: Fri, 04 Oct 2013 20:18:37 +0100
On 4 Oct 2013, at 18:14, Fritz Anderson <email@hidden> wrote:
> 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.
Well. there seems like a lot of different ways to do this, thanks a lot. I had hoped for a solution where I could just change the Storyboard/NIB but it doesn't look like that is possible, but, as I said it doesn't matter for at least three months, since they have decided to stick with iOS 6 for the time being. Which is fine by me because there is a lot of way more interesting things to do instead.
All the Best
Dave
_______________________________________________
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