• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Q] using a custom formatter via IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: [Q] using a custom formatter via IB
      • From: "Jon C. Munson II" <email@hidden>
References: 
 >[Q] using a custom formatter via IB (From: "Jon C. Munson II" <email@hidden>)

  • Prev by Date: [Q] using a custom formatter via IB
  • Next by Date: Re: How to animate the drawing of UIImages inside a drawRect: method of a UIView?
  • Previous by thread: [Q] using a custom formatter via IB
  • Next by thread: RE: [Q] using a custom formatter via IB
  • Index(es):
    • Date
    • Thread