• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get a "Normal" button in iOS 7/IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to get a "Normal" button in iOS 7/IB
      • From: Dave <email@hidden>
References: 
 >How to get a "Normal" button in iOS 7/IB (From: Dave <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: David Duncan <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: Dave <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: Fritz Anderson <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: Dave <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: Alex Zavatone <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: Dave <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: Alex Kac <email@hidden>)
 >Re: How to get a "Normal" button in iOS 7/IB (From: Marcelo Alves <email@hidden>)

  • Prev by Date: Doc Viewer in 5.0.1
  • Next by Date: Re: NSControl subclass is not becoming initial first responder without Full Keyboard Access
  • Previous by thread: Re: How to get a "Normal" button in iOS 7/IB
  • Next by thread: Re: How to get a "Normal" button in iOS 7/IB
  • Index(es):
    • Date
    • Thread