Re: [iPhone] Custom UIView like in iPhone Messages App
Re: [iPhone] Custom UIView like in iPhone Messages App
- Subject: Re: [iPhone] Custom UIView like in iPhone Messages App
- From: Luke Hiesterman <email@hidden>
- Date: Sun, 08 Nov 2009 16:36:47 -0800
The idea is that the cap width represents the part of your image that
won't be stretched when the image is scaled. For example, take a
circle and set the leftCapWidth to half the circles width. Then
stretch horizontally and you end up with something that looks like a
typical UIslider track image.
Luke
Sent from my iPhone.
On Nov 8, 2009, at 4:27 PM, Tharindu Madushanka
<email@hidden> wrote:
Hi
I have been trying to figure out whether UIImage method
stretchableImageWithLeftCapWidth:topCapHeight:<http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIImage_Class/Reference/Reference.html#//apple_ref/occ/instm/UIImage/stretchableImageWithLeftCapWidth:topCapHeight:
>could
be used in my problem. But the documentation for this seems to be
little confusing for me could anyone just tell what is this
leftCapWidth and
topCapHeight in simple terms.
Thanks
Tharindu Madushanka
On Mon, Nov 9, 2009 at 12:36 AM, Luke Hiesterman
<email@hidden> wrote:
_______________________________________________
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
_______________________________________________
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