Keary
On 25 Oct 2013, at 00:21, Keary Suska wrote:
> On Oct 24, 2013, at 9:01 AM, jonat...@mugginsoft.com wrote:
>
>> Have I missed something or is access to a decent NSFormatter subclass to
>> handle NSTextField string length limiting troublesome?
>>
>> I am currently using the following. Co
On Oct 24, 2013, at 9:01 AM, jonat...@mugginsoft.com wrote:
> Have I missed something or is access to a decent NSFormatter subclass to
> handle NSTextField string length limiting troublesome?
>
> There is some form on this:
> http://stackoverflow.com/questions/827014/how-to-limit-nstextfield-tex
Dmitriy
On 24 Oct 2013, at 16:41, Dmitriy Balakirev wrote:
> For limiting text in NSTextField this works well: (_limit == 5, 30, etc.)
>
> - (BOOL)isPartialStringValid:(NSString *__autoreleasing *)partialStringPtr
> proposedSelectedRange:(NSRangePointer)proposedSelRangePtr
>
For limiting text in NSTextField this works well: (_limit == 5, 30, etc.)
- (BOOL)isPartialStringValid:(NSString *__autoreleasing *)partialStringPtr
proposedSelectedRange:(NSRangePointer)proposedSelRangePtr
originalString:(NSString *)origString
originalSelectedRange:(NS
Have I missed something or is access to a decent NSFormatter subclass to handle
NSTextField string length limiting troublesome?
There is some form on this:
http://stackoverflow.com/questions/827014/how-to-limit-nstextfield-text-length-and-keep-it-always-upper-case/827598#827598
http://www.coc