• 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: Using NSView as a template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSView as a template


  • Subject: Re: Using NSView as a template
  • From: Matt Ball <email@hidden>
  • Date: Sun, 7 Mar 2004 20:36:57 -0500

On Mar 7, 2004, at 6:59 PM, Allan Odgaard wrote:

On 7. Mar 2004, at 23:07, Matt Ball wrote:

bookmarksBarItem is a button, while newBookmarksBarItem is an NSView. My naming scheme is kinda messed up, and I'm going to need to fix that later. Basically, bookmarksBarItemTemplate is an NSView that gets copied as newBookmarksBarItem. bookmarksBarItemTemplate contains an NSButton, bookmarksBarItem, so newBookmarksBarItem also contains that button. They are two separate controls.

Okay, but then, after you have copied the template, the bookmarksBarItem would still point to the button in the template.

So try to set the values for bookmarksBarItem *before* you copy the template.


Well, that fixes my problem with the first created copy not displaying any changes, but none of the copies use the actions I set for them.

-- Matt Ball
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Using NSView as a template
      • From: Allan Odgaard <email@hidden>
References: 
 >Using NSView as a template (From: Matt Ball <email@hidden>)
 >Re: Using NSView as a template (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: NSEditor, NSEditorRegistration Protocols
  • Next by Date: Re: Parameter strings in URLs
  • Previous by thread: Re: Using NSView as a template
  • Next by thread: Re: Using NSView as a template
  • Index(es):
    • Date
    • Thread