• 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: Simulating sublayers in CATiledLayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simulating sublayers in CATiledLayer


  • Subject: Re: Simulating sublayers in CATiledLayer
  • From: Remco Poelstra <email@hidden>
  • Date: Tue, 25 Mar 2014 18:55:15 +0100

Op 25 mrt. 2014 om 17:59 heeft Kyle Sluder <email@hidden> het volgende geschreven:

>> On Mar 25, 2014, at 9:50 AM, Remco Poelstra <email@hidden> wrote:
>>
>> I've tried with both CALayer and CATiledLayer sublayers, but the CATiledLayer also did not redraw (at higher resolution) when its parent layer has a transform.
>
> Sounds like your solution involves ceasing the use of transforms for zooming.

Well, the parent CATiledLayer (the UIViews's layer) uses transforms for zooming, but that isn't communicated down the sublayers. The context of the sublayers is simply scaled.
All I've done is set the UIView layer class to CATiledLayer. Add the UIView to a UIScrollview. And added sub CA(Tiled)Layers to the CATiledLayer of the UIView.
The transform is applied to the root layer, and not to the sublayers.

Remco
_______________________________________________

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: Simulating sublayers in CATiledLayer
      • From: Graham Cox <email@hidden>
References: 
 >Simulating sublayers in CATiledLayer (From: Remco Poelstra <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: David Duncan <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: Remco Poelstra <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: Remco Poelstra <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: David Duncan <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: Remco Poelstra <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: David Duncan <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: Remco Poelstra <email@hidden>)
 >Re: Simulating sublayers in CATiledLayer (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: CFXMLCreateStringByUnescapingEntities() bombs on "&#13207494"
  • Next by Date: Re: GIF frame duration
  • Previous by thread: Re: Simulating sublayers in CATiledLayer
  • Next by thread: Re: Simulating sublayers in CATiledLayer
  • Index(es):
    • Date
    • Thread