Re: What happens if I use 10.3 functions on 10.2?
Re: What happens if I use 10.3 functions on 10.2?
- Subject: Re: What happens if I use 10.3 functions on 10.2?
- From: Hasan Diwan <email@hidden>
- Date: Thu, 29 Jul 2004 12:34:44 -0700
if ([view respondsToSelector:@selector(selectedRowIndexes)]) {
NSIndexSet *foo = [view selectedRowIndexes];
// rest of your code with the NSIndexSet here
} else {
NSRunAlertPanel(@"Unsupported Version",@"You are running an
unsupported version, Please upgrade", @"Ok", nil, nil);
}
I've used this method successfully in almost all of my OS X programs.
It works save for where I need to use a new class.
Sorry, if you're on Java, I have no clue.
On Thu, 29 Jul 2004 08:15:28 -0400, Clark Cox <email@hidden> wrote:
>
Yes (or at least the version of the AppKit framework)
--
Cheers,
Hasan Diwan <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.