MVC Theory Question

2011-12-28 Thread Philip McIntosh
I am just wondering about something with respect to the Model-View-Controller (MVC) design pattern. Should any validation of input or output be done by the model class which is handling and processing the data, or is validation more properly a task to be assigned to a controller

Re: Numeric Entry and Formatting With NSNumberFormatter Won't Append Zeros

2011-09-29 Thread Philip McIntosh
. It's working so far. On Sep 28, 2011, at 4:26 PM, Quincey Morris wrote: On Sep 28, 2011, at 15:50 , Philip McIntosh wrote: I want the number in the display (which is a string representation of the number) to be formatted as it is entered not after any return or calculate keys

Re: Numeric Entry and Formatting With NSNumberFormatter Won't Append Zeros

2011-09-28 Thread Philip McIntosh
Message: 11 Date: Wed, 28 Sep 2011 09:28:42 -0700 From: Kyle Sluder kyle.slu...@gmail.com Subject: Re: Numeric Entry and Formatting With NSNumberFormatter Won't Append Zeros To: Philip McIntosh ndpmcint...@earthlink.net Cc: cocoa-dev@lists.apple.com cocoa-dev@lists.apple.com Message

Re: Numeric Entry and Formatting With NSNumberFormatter Won't Append Zeros

2011-09-27 Thread Philip McIntosh
Subject: Re: Numeric Entry and Formatting With NSNumberFormatter Won't Append Zeros To: Philip McIntosh ndpmcint...@earthlink.net Cc: cocoa-dev@lists.apple.com Message-ID: 62796e49-61ed-4b4a-8315-bdeaabeb4...@manoverboard.org Content-Type: text/plain; charset=windows-1252 On 23 Sep

Numeric Entry and Formatting With NSNumberFormatter Won't Append Zeros

2011-09-26 Thread Philip McIntosh
I have a calculation project using buttons to input numbers into a UILabel. I want it to format the numbers as they are entered to display grouping separators. It has been a struggle but so far the best I have ben able to achieve is this (I got the basic idea from a post at stackoverflow.com):