• 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: help with copy: method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with copy: method


  • Subject: Re: help with copy: method
  • From: Chris Hanson <email@hidden>
  • Date: Wed, 4 Dec 2002 21:41:58 -0600

At 6:09 PM -0600 12/4/02, Sly Upah wrote:
@interface ZView : NSTextView
{
}
-(void)windowWillClose:(NSNotification *)notification;
-(IBAction)copy:(id)sender;
@end

Out of curiosity, why are you creating a subclass of NSTextView here? One of the good things about Cocoa is that you generally don't need to subclass view classes when building applications, only when you need a truly different type of view.

Also, why aren't you using Project Builder and Interface Builder? It'll make your life a lot easier.

-- Chris

--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Making Business Distributed | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
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.

References: 
 >help with copy: method (From: Sly Upah <email@hidden>)

  • Prev by Date: Re: help with copy: method
  • Next by Date: Re: Getting started in Cocoa and IB
  • Previous by thread: Re: help with copy: method
  • Next by thread: Async. Notifications stalling on the notification queue
  • Index(es):
    • Date
    • Thread