[Q] Calling isEmpty on an NSRange?
[Q] Calling isEmpty on an NSRange?
- Subject: [Q] Calling isEmpty on an NSRange?
- From: Ando Sonenblick <email@hidden>
- Date: Mon, 23 Sep 2002 17:06:47 -0700
OK... So a range seems to be a mere struct and not a class instantiation.
Cool: I know I can get its length, location, etc via:
{
NSRange range;
range = [editor selectedRange];
return range.length;
}
But I've tried every which way to call isEmpty (and the other "actions")
with a range, but always get compile errors...
Can anyone elucidate?
Thanks,
Ando
_______________________________________________
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.