Re: Error using categories: 'cannot find interface section for MyClass'
Re: Error using categories: 'cannot find interface section for MyClass'
- Subject: Re: Error using categories: 'cannot find interface section for MyClass'
- From: Uli Kusterer <email@hidden>
- Date: Thu, 22 Feb 2007 22:31:00 +0100
Am 21.02.2007 um 20:53 schrieb Jon Hull:
Well, since you control both classes, you could always put both
sections into one set of .h and .m files. That is probably the
simplest method. Alternatively, if you need separate files, you
might be able to #import <MyClassExtension.h> in MyClass.m, but I
think you might need the @class directive to avoid a recursive
include.
You could create a "master header" that includes both headers, and
use that in your other code. Or, alternatively, you could just put
the #import "MyClassExtension.h" (use quotes, not angle brackets --
those are reserved for system headers in system header locations) at
the bottom of "MyClass.h".
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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