Re: Cocoa Controls
Re: Cocoa Controls
- Subject: Re: Cocoa Controls
- From: Stephane Sudre <email@hidden>
- Date: Wed, 7 Sep 2005 16:08:51 +0200
On 7 sept. 05, at 9:33, .::welemski::. wrote:
Does anyone knows where to find a very good reference for "Cocoa
Controls"?
How to customize them.
e.g. how to limit the number of texts that can be inputed in "text
input field".
With a formatter AFAIK.
Cf NSFormatter.
Really specific solutions include:
- subclassing the textFieldEditor
- subclassing NSTextFieldCell and work with the -
(BOOL)textView:(NSTextView *)textView
shouldChangeTextInRange:(NSRange)affectedCharRange
replacementString:(NSString *)replacementString; method.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden