• 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
How to create a dial keypad with autolayout?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to create a dial keypad with autolayout?


  • Subject: How to create a dial keypad with autolayout?
  • From: Steve Mykytyn <email@hidden>
  • Date: Sat, 31 Aug 2013 08:59:28 -0700

Having done this a number of times with springs and struts, I thought a
telephone dial keypad would be a good way to learn the ins and outs of auto
layout

- 5 rows of three buttons each
- Each button has a label (2) and optional label below (abc)
- The width of the buttons always the same.
- The height of each button changes between 3.5 and 4 inch iPhones

Seems like this should be a straightforward use of auto layout, but I can't
seem to get to a solution that does not have a very large number of
constraints, which are very finicky if you try to adjust them.

It's also very difficult to start with a row of three buttons, say, get
that right, then duplicate that row and add/fix up constraints?

Suggestions please?
_______________________________________________

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 create a dial keypad with autolayout?
      • From: Robert Vojta <email@hidden>
    • Re: How to create a dial keypad with autolayout?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Finding column of just edited nstableview cell
  • Next by Date: Re: How to create a dial keypad with autolayout?
  • Previous by thread: Re: Finding column of just edited nstableview cell
  • Next by thread: Re: How to create a dial keypad with autolayout?
  • Index(es):
    • Date
    • Thread