# CATiledLayer for large image. Any tutorial for Swift?

**URL:** <https://forums.kodeco.com/t/catiledlayer-for-large-image-any-tutorial-for-swift/18117>\
**Category:** Swift\
**Created:** [August 3, 2016, 9:16pm UTC](https://forums.kodeco.com/t/catiledlayer-for-large-image-any-tutorial-for-swift/18117 "2016-08-03T21:16:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zsolczai](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zsolczai/32/81494_2.png) [@zsolczai](https://forums.kodeco.com/u/zsolczai)\
**Post date:** [August 3, 2016, 9:17pm UTC](https://forums.kodeco.com/t/catiledlayer-for-large-image-any-tutorial-for-swift/18117/1 "2016-08-03T21:17:00Z")

</div>

Hello All,

I have been trying to find a tutorial that walks me through how to tile a large image with CATiledLayer for a scrollview that is also zoomable. In swift. I have seen the CALayer tutorial here, but not quite what I am looking for.

Is there anything out there? Anything about that on this website in the paid video tutorials section?

Thanks!

---

<div class="post-metadata">

**Author:** ![marciokoko](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/marciokoko/32/32922_2.png) [@marciokoko](https://forums.kodeco.com/u/marciokoko)\
**Post date:** [August 4, 2016, 10:10pm UTC](https://forums.kodeco.com/t/catiledlayer-for-large-image-any-tutorial-for-swift/18117/2 "2016-08-04T22:10:25Z")

</div>

Sure, did you check this one out?

[https://www.raywenderlich.com/90488/calayer-in-ios-with-swift-10-examples](https://www.raywenderlich.com/90488/calayer-in-ios-with-swift-10-examples)

---

<div class="post-metadata">

**Author:** ![zsolczai](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zsolczai/32/81494_2.png) [@zsolczai](https://forums.kodeco.com/u/zsolczai)\
**Post date:** [August 8, 2016, 3:27pm UTC](https://forums.kodeco.com/t/catiledlayer-for-large-image-any-tutorial-for-swift/18117/3 "2016-08-08T15:27:02Z")

</div>

Thanks! I sure did. But that one is using randomly colored squares. I am sitting over it and I am not sure how to use that example for my purposes. I would need something that holds me hand a bit more. I do not know how to modify it so it will load a high res image, then cut it up. It is a bit over my head.

---

<div class="post-metadata">

**Author:** ![bibinjacob123](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bibinjacob123/32/72484_2.png) [@bibinjacob123](https://forums.kodeco.com/u/bibinjacob123)\
**Post date:** [July 4, 2017, 6:14am UTC](https://forums.kodeco.com/t/catiledlayer-for-large-image-any-tutorial-for-swift/18117/4 "2017-07-04T06:14:24Z")

</div>

I got a demo project. I’m also looking for the same please share if you have received some refined content.

> **[GitHub - jessedc/JCTiledScrollView: A set of classes that wrap UIScrollView...](https://github.com/jessedc/JCTiledScrollView)**
>
> A set of classes that wrap UIScrollView and CATiledLayer. It aims to simplify displaying large images and PDFs at multiple zoom scales. - GitHub - jessedc/JCTiledScrollView: A set of classes that w...

---

<div class="post-metadata">

**Author:** ![zsolczai](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zsolczai/32/81494_2.png) [@zsolczai](https://forums.kodeco.com/u/zsolczai)\
**Post date:** [July 4, 2017, 9:03am UTC](https://forums.kodeco.com/t/catiledlayer-for-large-image-any-tutorial-for-swift/18117/5 "2017-07-04T09:03:03Z")

</div>

The project is done, and it is in the app store. I ended up just using the standard scroll view. We were aiming at newer devices only, so a 5000x5000 image ended up being no problem at all. Sorry I cannot be of any help.
