• 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: Text layout responsibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text layout responsibility


  • Subject: Re: Text layout responsibility
  • From: Rimas <email@hidden>
  • Date: Fri, 12 Dec 2008 15:43:25 +0200

Thank you for the tip. I'll try this also.

Rimas M.

On Fri, Dec 12, 2008 at 1:18 PM, chaitanya pandit
<email@hidden> wrote:
> Try changing the container size once the layout is complete, you can do this
> by using the delegate method:
> - (void)layoutManager:(NSLayoutManager *)layoutManager
> didCompleteLayoutForTextContainer:(NSTextContainer *)textContainer
> atEnd:(BOOL)layoutFinishedFlag
> and checking the layoutFinishedFlag.
>
> But you need to take care of not entering an infinite loop.
_______________________________________________

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: 
 >Text layout responsibility (From: Rimas <email@hidden>)
 >Re: Text layout responsibility (From: Martin Wierschin <email@hidden>)
 >Re: Re: Text layout responsibility (From: Rimas <email@hidden>)
 >Re: Text layout responsibility (From: Martin Wierschin <email@hidden>)
 >Re: Text layout responsibility (From: Rimas <email@hidden>)
 >Re: Text layout responsibility (From: Martin Wierschin <email@hidden>)
 >Re: Text layout responsibility (From: Rimas <email@hidden>)
 >Re: Text layout responsibility (From: chaitanya pandit <email@hidden>)

  • Prev by Date: Re: Change Color Of Appended NSString?
  • Next by Date: Re: KVO on NSSlider not observing
  • Previous by thread: Re: Text layout responsibility
  • Next by thread: Re: Text layout responsibility
  • Index(es):
    • Date
    • Thread