Skip to content

A high performance tile view engine for iOS. Used in Alien Blue's Canvas feature.

License

Notifications You must be signed in to change notification settings

jasonmorrissey/CanvasKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CanvasKit

This is the underlying tiling engine that powers Alien Blue and Alien Blue HD's canvas image tiles. Although it is very much a work in progress, the CanvasKit gives you a high performance way to present unlimited collections.

Flexibility

At it's core, the CanvasKit is just a fast way to render tiles, but can be extended for deep user interaction. For example, Alien Blue uses this engine to show an interactive gallery of images:

Usage

Your view controller should subclass CanvasViewController. You can then subclass CanvasView and CanvasTileView and overwrite drawRect() to render your own content.

The canvasViewDidScrollNext, canvasViewDidScrollPrevious and canvasViewDidScrollLastPage behaviours can be used to trigger events like loading more images.

Caveats

The CanvasKit was tightly coupled with Alien Blue, so I'm still working on cleaning up the delegate/datasource patterns.

License

The CanvasKit is BSD licensed, so you can freely use it in commercial applications.

About

A high performance tile view engine for iOS. Used in Alien Blue's Canvas feature.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published