• 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
range from link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

range from link


  • Subject: range from link
  • From: Robert Miller <email@hidden>
  • Date: Tue, 2 Aug 2005 11:56:24 -0400

Hello,

Here's a basic question that I've not been able to find an answer for, I hope someone can help. Is there a way to determine the range in an attributed string for a given link id value. I'm using the API:

[myAttributedString addAttribute:NSLinkAttributeName value:myID range:range];

but it seems there is no API to retrieve the range of text once the link attribute is set for the id value. Is there something like - (NSRange) rangeForLinkValue:(id)value available anywhere ?

Thanks in advance for any help.
Regards,
Bob M.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: range from link
      • From: Philip Dow <email@hidden>
  • Prev by Date: Re: Need CVS Advice
  • Next by Date: Re: NSStatusBar generates Sigtrap
  • Previous by thread: Re: NSOutlineView and NSTreeController
  • Next by thread: Re: range from link
  • Index(es):
    • Date
    • Thread