• 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: Just Shoot Me! - was [Q] Calling isEmpty on an NSRange?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just Shoot Me! - was [Q] Calling isEmpty on an NSRange?


  • Subject: Re: Just Shoot Me! - was [Q] Calling isEmpty on an NSRange?
  • From: Ando Sonenblick <email@hidden>
  • Date: Mon, 23 Sep 2002 17:33:29 -0700

Like a dork I was somehow looking at the dang java documentation for
ranges!!!!! And they of course encapsulate ranges in classes...

Argh! I wish the browser had a magic pref to suppress that dang java
stuff... Java is great, just not when you don't want it! :)

Thx,
Ando


> 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.
_______________________________________________
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: 
 >[Q] Calling isEmpty on an NSRange? (From: Ando Sonenblick <email@hidden>)

  • Prev by Date: restarting from an applicaiton
  • Next by Date: Re: [Q] Calling isEmpty on an NSRange?
  • Previous by thread: Re: [Q] Calling isEmpty on an NSRange?
  • Next by thread: Re: [Q] Calling isEmpty on an NSRange?
  • Index(es):
    • Date
    • Thread