• 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: Swapping isa's (was Re: Hex Edit controls (resknife))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swapping isa's (was Re: Hex Edit controls (resknife))


  • Subject: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • From: Sherm Pendley <email@hidden>
  • Date: Wed, 1 Dec 2004 21:00:52 -0500

On Dec 1, 2004, at 5:28 PM, Jeff Laing wrote:

In effect, you'd have to replicate in code all the connections you expect to
be present in the nib, and if you've done that, why not just create them
with code in the first place and be done with it?

BTW, if you want to create your interface in code instead of using IB, nothing's stopping you from doing that. Just create a window and set its content view. Use NSView's -addSubview methods to add more views below that. Use NSControl's -setAction: and -setTarget: methods to connect to action methods in your controller. And so forth. Anything you can do visually with IB can also be done in code.


Another alternative is Renaissance. It loads interfaces from an XML description instead of a binary NIB. <http://www.gnustep.it/Renaissance/>

If you don't want to use IB, you're certainly in the minority - but you're not entirely on your own. There are alternatives.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RE: Swapping isa's (was Re: Hex Edit controls (resknife)) (From: Jeff Laing <email@hidden>)

  • Prev by Date: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Next by Date: Re: cross development on Jaguar
  • Previous by thread: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Next by thread: RE: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Index(es):
    • Date
    • Thread