• 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
Providing replicable views in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Providing replicable views in IB


  • Subject: Providing replicable views in IB
  • From: "Matteo Manferdini" <email@hidden>
  • Date: Tue, 14 Oct 2008 17:38:55 +0200

Hi all,
I was trying to find a way to design a replicable view in IB.
The behaviour I'm trying to replicate is the one of NSCollectionView: it
gets a custom view designed in IB as the prototype view and then replicates
it to display its contents. Is there an easy way to do this? Since NSView
does not implement the copy method, I don't think this is the approach
taken.
The hard solution would be to provide a copy method myself that replicates
all the subviews and controls (which are also subviews), but it would be
very long and difficult since for each subview all the instance properties
must be replicated, without talking about sub-subviews. Since I don't want
to go throug all this, is there an easier way to do it?
Thank you very much.
Cheers.

Matteo Manferdini
Pawn Software
www.pawn-soft.com
_______________________________________________

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: Providing replicable views in IB
      • From: Ashley Clark <email@hidden>
    • Re: Providing replicable views in IB
      • From: "Michael Ash" <email@hidden>
  • Prev by Date: Re: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification
  • Next by Date: Re: Providing replicable views in IB
  • Previous by thread: Re: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification
  • Next by thread: Re: Providing replicable views in IB
  • Index(es):
    • Date
    • Thread