Thank you. I should have looked more closely at the docs. RTFM,
right? 😜
Get Outlook for iOS
On Tue, Apr 4, 2017 at 5:27 PM -0400, "Kyle Sluder" <[email protected]> wrote:
On Thu, Mar 30, 2017, at 10:18 AM, Eric E. Dolecki wrote:
> I have a very wide UILabel that will take different text over time.
> Single
> line. No attributed.
>
> I would like to position an image to the left of the first character in
> the
> label any time it's updated. So I need to get a CGRect or something of
> the
> text within the UILabel itself. I know I did this years ago, but I can't
> remember how I did it.
>
> Looking to do this in Swift. Any ideas or things I'm blanking on?
I think you’re looking for
UILabel.textRect(forBounds:limitedToNumberOfLines:).
--Kyle Sluder
>
> Thanks,
> Eric
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/edolecki%40gmail.com
This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]