How to create a dial keypad with autolayout?

2013-08-31 Thread Steve Mykytyn
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 h

Re: How to create a dial keypad with autolayout?

2013-08-31 Thread Kyle Sluder
On Sat, Aug 31, 2013, at 08:59 AM, Steve Mykytyn wrote: > 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

Re: How to create a dial keypad with autolayout?

2013-08-31 Thread Robert Vojta
Hi Steve, I had some free time, so, I made sample project for you ... (Xcode5 & iOS 7 SDK ...). You can get it here: http://d.pr/f/VOX4 Look at two classes: DPDialPadButton & - (id)initWithNumber:(NSString *)number label:(NSString *)label; DPDialPadView & - (void)setupDialPadButtons; You can ru

Mutating message sent to immutable object

2013-08-31 Thread Gerriet M. Denkmann
I have an NSObjectController called objectController with content bound to locationDictionary. @property (strong) NSMutableDictionary *locationDictionary; And an NSArrayController called arrayController which has its content bound to objectController.myArrayKey. This array contains colu

Re: Mutating message sent to immutable object

2013-08-31 Thread Ken Thomases
On Aug 31, 2013, at 9:10 PM, Gerriet M. Denkmann wrote: > NSUserDefaults tells me about dictionaryForKey: "The returned dictionary and > its contents are immutable, even if the values you originally set were > mutable." > > Does this really mean: "The returned dictionary and its contents are m