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: "Jon C. Munson II" <email@hidden>
- Date: Fri, 3 Apr 2009 11:20:26 -0400
- Organization: JTA Enterprises LLC
>
> 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.
>
[Jon C. Munson II] OK, that's what I figured. I'm looking into that now.
>
> > 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.
>
>
[Jon C. Munson II] Also figured that too, so thank you for the confirmation.
> > 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/IBPlugI
> nGuide/Introduction/Introduction.html
>
>
[Jon C. Munson II] Already reading that one. :)
> > 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.
>
[Jon C. Munson II] Done. The number is: 6754683
> --
> I.S.
[Jon C. Munson II] THANKS!!!
_______________________________________________
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