Re: Using NSView as a template
Re: Using NSView as a template
- Subject: Re: Using NSView as a template
- From: Allan Odgaard <email@hidden>
- Date: Sun, 7 Mar 2004 22:34:32 +0100
On 7. Mar 2004, at 22:00, Matt Ball wrote:
NSView* newBookmarksBarItem = [copiedBookmarksBarItemTemplate
initWithFrame:NSMakeRect(location,0,60,16)];
[bookmarksBar addSubview:newBookmarksBarItem];
[bookmarksBarItem setTitle:title];
[bookmarksBarItem setAlternateTitle:address];
[bookmarksBarItem setAction:@selector(loadBookmarkItem:)];
bookmarksBarItem is not declared in this scope. Should be
newBookmarksBarItem.
_______________________________________________
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.