• 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: C and objective C together
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C and objective C together


  • Subject: Re: C and objective C together
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 3 Apr 2002 00:57:59 +0200

Sorry, there's a small nonsense there:

On Tuesday, April 2, 2002, at 10:23 , Ondra Cada wrote:

static Controller *_theCurrentController;
@implementation Controller
-(void)awakeFromNib {
_theCurrentController=self;
}
@end

So as it worked properly, it should have been

static NSTextView *_theCurrentController;
@implementation Controller
-(void)awakeFromNib {
_theCurrentController=textView;
}
@end

If you tried to compile the original buggy code, there would be warnings to point out the problem.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >Re: C and objective C together (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: NSData question
  • Next by Date: Re: Statically linking a lib ...
  • Previous by thread: Re: C and objective C together
  • Next by thread: Re: C and objective C together
  • Index(es):
    • Date
    • Thread