Re: [Q] using a custom formatter via IB
Re: [Q] using a custom formatter via IB
- Subject: Re: [Q] using a custom formatter via IB
- From: "I. Savant" <email@hidden>
- Date: Fri, 3 Apr 2009 10:54:30 -0400
On Fri, Apr 3, 2009 at 10:43 AM, Jon C. Munson II <email@hidden> wrote:
> To create this formatter for use in IB, should I go the route of a plug-in?
Yes. If you want to be able to set this at design time, you should
create an IB plugin containing this formatter.
> Is it possible to simply instantiate the object with a settable property?
No. IB has to know what UI to display to allow you to manipulate the
instantiated object. Thus, a plugin is required.
> And where may I find documentation that describes the particular process of
> exposing the property so IB can see it (if other than creating a plug-in)
> and thus allowing setting?
http://developer.apple.com/documentation/developertools/Conceptual/IBPlugInGuide/Introduction/Introduction.html
> As a side note, has anyone requested of Apple that some sort of min or
> maxLength properties be made available? That would be a really good default
> property to have on any sort of text field!
If they did, they've done so via http://bugreporter.apple.com ...
which is what you should do as well.
--
I.S.
_______________________________________________
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