• 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: NSTextView with irregular shape
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView with irregular shape


  • Subject: Re: NSTextView with irregular shape
  • From: Vyacheslav Karamov <email@hidden>
  • Date: Thu, 14 Feb 2013 22:42:02 +0200

I want the same text view as Apple iMessages has.
I have such bullet image and I plan to use it as textview's shape.

Actually this one http://i.piccy.info/i7/e52f246522784139d1c75bf53bb466e6/4-55-1897/58781878/iMessages.png

14.02.2013 22:18, Kyle Sluder пишет:
On Thu, Feb 14, 2013, at 12:00 PM, Vyacheslav Karamov wrote:
I know how to implement custom text layout. Good example of this I have
found in "Cocoa Programming Developer's Handbook" by David Chisnall.
This book gives an example how to implement custo text layout, but I
don't understand how to implement custom shape of NSTextView. Because my
widget grow in height while user is typing, custom image should also
grow and vertical scrollbar appears if needed.
Anyway, thank you for the quick response!
Okay, you need to elaborate what you mean by "custom shape."

Do you just want your roughtly-rectangular text field to draw with a
rounded corners or something?

--Kyle Sluder

_______________________________________________

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


References: 
 >NSTextView with irregular shape (From: Vyacheslav Karamov <email@hidden>)
 >Re: NSTextView with irregular shape (From: Keary Suska <email@hidden>)
 >Re: NSTextView with irregular shape (From: Vyacheslav Karamov <email@hidden>)
 >Re: NSTextView with irregular shape (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSTextView with irregular shape
  • Next by Date: Re: Thread safety of Bonjour Cocoa classes? (NSNetService, etc.)
  • Previous by thread: Re: NSTextView with irregular shape
  • Next by thread: Re: NSTextView with irregular shape
  • Index(es):
    • Date
    • Thread