• 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
nstableview text selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nstableview text selection


  • Subject: nstableview text selection
  • From: Richard <email@hidden>
  • Date: Sun, 22 Nov 2009 11:06:36 +0100

hey

as part of an application i am working on, i have made a chat client in the
style of ichat with pics and bubbles and such. i am currently doing this
using an NSTableView bound to an NSArrayController in entity mode, with a
custom NSCell in the tableview to draw the pictures, speech bubbles and
text. this all works good so far.

now, i would like to be able to select and copy sections of the text
displayed in each chat bubble, but i am unable to work out how to do this. i
would also like to be able to make text links clickable. i understand that
NSTextView has both these capabilities, but am i correct in thinking that
you cannot have an NSView in an NSCell?

could someone offer some advice as to the easiest way to achieve this?

thanks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: nstableview text selection
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSTableView retain count problem
  • Next by Date: Re: [iPhone] UIButton adding glow effect for a custom button with image
  • Previous by thread: Re: UITextField Cursor Color
  • Next by thread: Re: nstableview text selection
  • Index(es):
    • Date
    • Thread