• 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: Graham Cox <email@hidden>
  • Date: Wed, 26 Mar 2014 11:04:32 +1100

Did you notice what David Duncan said?:

> For CATiledLayer you need to ensure the levelOfDetail and levelOfDetailBias is set correctly


This is crucial to being able to zoom properly. It's also not that obvious what these mean or the proper values to use, but there was a discussion about this back in December or so if I recall correctly (search for 'Threaded drawing'), which expounded on this. I got CATiledLayer zooming to work as expected with vector content remaining sharp, but only once these properties had been understood and set.


--Graham


On 26 Mar 2014, at 4:55 am, Remco Poelstra <email@hidden> wrote:

> 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.


_______________________________________________

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: Remco Poelstra <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>)
 >Re: Simulating sublayers in CATiledLayer (From: Remco Poelstra <email@hidden>)

  • Prev by Date: Re: CFXMLCreateStringByUnescapingEntities() bombs on "&#13207494"
  • Next by Date: Re: Write with NSFileWrapper vs. copy with NSFileManager
  • Previous by thread: Re: Simulating sublayers in CATiledLayer
  • Next by thread: Re: Simulating sublayers in CATiledLayer
  • Index(es):
    • Date
    • Thread