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

Re: Cocoa UI


  • Subject: Re: Cocoa UI
  • From: Jerrod Fowkes <email@hidden>
  • Date: Wed, 13 Dec 2006 07:03:19 -0800 (PST)

Well now that I think about it, I suppose ONLY in the realm of MVC It could be possible to use it a-lot like XAML does. Currently I don't use bindings, I am using the old jaguar style with actions.

Ok, now my question is this. Lets say I compile program X and it uses nib a and b. Is there a way to design the UI of the program without compiling the actual program X? I would like to distribute an application where as the UI can be totally changed but still subscribe to events using bindings? I suppose that is the real adavantage that I would like to have here.

Let me attempt to almost anwser my own question. in Xcode, you include your nibs and they end up being put together as a resource part of the compilation. However on the filesystem, the end result of the program is actually a folder or a directory. The nibs are part of that folder as a resource. I suppose if you really wanted to, you could open up that folder and rip out the nibs, change them, and then put them back. However I don't think this is really a standard way. Need some guidance here. -Jerrod Fowkes

Emanuele Vulcano <email@hidden> wrote: > I was wondering if Cocoa had anything like XAML to describe where and how componets get put onto a window.

Cocoa has Interface Builder and its NIB files, which account for what
you are trying to do. IB can instantiate any kind of object, not just
views (UI-capable objects), and it's used to produce a relationship
between the view and the controller part of your code (in MVC
fashion).

NIBs predate XAML by years, since IB was originally part of the NeXT
developer tools.

 - ∞
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


---------------------------------
Any questions?  Get answers on any topic at Yahoo! Answers. Try it now.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Cocoa UI
      • From: Sam DeVore <email@hidden>
    • Re: Cocoa UI
      • From: Michael Watson <email@hidden>
References: 
 >Re: Cocoa UI (From: "Emanuele Vulcano" <email@hidden>)

  • Prev by Date: cocoa 2d plotting help.
  • Next by Date: Re: Inactive application & custom view appearance
  • Previous by thread: Re: Cocoa UI
  • Next by thread: Re: Cocoa UI
  • Index(es):
    • Date
    • Thread