• 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: Custom interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom interface


  • Subject: Re: Custom interface
  • From: glenn andreas <email@hidden>
  • Date: Tue, 1 Apr 2008 16:19:36 -0500


On Apr 1, 2008, at 3:45 PM, Ricky Sharp wrote:


On Apr 1, 2008, at 10:13 AM, I. Savant wrote:

Of course we don't know what the requirements are. You may have a
perfectly valid reason but customizing AppKit might be a perfectly
poor choice ... The best thing to do - as I said - is to explain what
you are trying to accomplish and why Cocoa UI isn't right for the
project. If you do that, list members can actually give meaningful
suggestions.


Well said.

And, if choosing to do your own UI (I did this for my "math drills" app for kids), be aware that the following can add quite a bit of additional work:

- accessibility
- resolution independence
- potential need for IB palettes/plug-ins

These, and perhaps more I'm missing, are things you get for free when using the standard UI.


Though you can get fairly simple "custom image" based buttons for free with the standard UI. Just set the image and alternate image, set the button to not be bordered, and set the behavior as desired (on/off, highlight, etc...).

This will give you the accessibility, resolution independence, and IB support automatically. Combine it with a custom window with an image background and no title-bar and you can get a simple "custom UI" with very little work.

Alternatively, you can work like Widgets do and use a WebKit view with the appropriate set of images (especially if you use SVG based images), JavaScript and CSS support to get a more complex custom UI with a bit more work, but still get some of the "free" benefits (or at least get those that web-pages have, such as resolution independence and at least some accessibility).

Now as to how appropriate it is to make your own customized UI, that's a different matter (though the general answer is "rarely, but there are special cases").



Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | prime : build, mutate, evolve, animate : the next generation of fractal art




_______________________________________________

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


References: 
 >Re: Custom interface (From: colo <email@hidden>)
 >Re: Custom interface (From: Rob Keniger <email@hidden>)
 >Re: Custom interface (From: colo <email@hidden>)
 >Re: Custom interface (From: John Stiles <email@hidden>)
 >Re: Custom interface (From: "I. Savant" <email@hidden>)
 >Re: Custom interface (From: Ricky Sharp <email@hidden>)

  • Prev by Date: UTIs and CFBundleDocumentTypes
  • Next by Date: Re: Need for a creator code?
  • Previous by thread: Re: Custom interface
  • Next by thread: Re: Custom interface
  • Index(es):
    • Date
    • Thread