• 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: IBPlugin embedding question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBPlugin embedding question


  • Subject: Re: IBPlugin embedding question
  • From: Alexander Spohr <email@hidden>
  • Date: Thu, 25 Jun 2009 19:56:37 +0200


Am 25.06.2009 um 19:20 schrieb Doug Scott:

It is just like dragging out a complex Apple provided object which contains embedded scrollers and such. I don't have to connect the Apple supplied scrollers to the Apple supplied scrolling view, Apple did it with embedding ( or could have if they chose to do it that way, I don't really know how Apple's stuff is built ).

No, Apple did it with a class that does the layout by itself. NSScrollView is configuring its subviews itself and on its own. It is not composed in IB - you know why now. IB just gives you an inspector and some drag'n'drop for this class.


But I now get your point. You would like to compose some views into a new (super)view and have this act like a dynamic template. If you change the template, all users should change as well.

So you could write a view class that sets up the views you want the way you want them. Put that view on a palette and give it an inspector. If you change the implementation of your class all apps will pick that up on the next compile with your framework that contains the class. You can do pretty complex stuff then, but you have to do it in code.

Hope that gives some helping ideas,

	atze

_______________________________________________

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: IBPlugin embedding question
      • From: Doug Scott <email@hidden>
References: 
 >IBPlugin embedding question (From: Doug Scott <email@hidden>)
 >Re: IBPlugin embedding question (From: Shawn Erickson <email@hidden>)
 >Re: IBPlugin embedding question (From: Doug Scott <email@hidden>)

  • Prev by Date: Re: IKImageBrowserView setSelectionIndex not selecting
  • Next by Date: Re: Which drawing tool for a simple task
  • Previous by thread: Re: IBPlugin embedding question
  • Next by thread: Re: IBPlugin embedding question
  • Index(es):
    • Date
    • Thread