Re: Implementing delegate categories for subclasses

Kyle Sluder <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Wed, Sep 9, 2009 at 11:31 AM, Christiaan Hofman<[email protected]> wrote:
> And anyway, my main question is not solved by this insight, even if I only
> want to support 10.5 and 10.6. I still get warnings either with the 10.5 or
> the 10.6 SDK.

I don't see why:

@protocol MyTableViewDelegate
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
<NSTableViewDelegate>
#endif

-(void)myTableViewRequiredDelegateMethod:(MyTableView *)aTableView;

@optional
-(void)myTableViewOptionalDelegateMethod:(MyTableView *)aTableView;

@end

--Kyle Sluder
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.