Creative-coding on iOS with C4 – Tutorial

This tutorial will introduce you to creative-coding on iOS with C4, a powerful framework for creating expressive artworks and user experiences. Written entirely in Swift, C4 takes a modern approach to working with animation, gestures and media. For example, there are no draw loops – you create animations by defining states and changing properties. You can attach a gesture to any object by using a simple block of code, and easily customize the number of touches, taps and more, to trigger it. You can create images, audio and video players by simply stating the name of a file, and with images you can apply filters. Yet, to say that C4 handles only animation, interaction and media would do it a disservice. There is vector math, an event system for sending messages between objects, a transform class for performing matrix calculations, camera access, and much more.

To give you a good sense of what you can achieve with C4, this tutorial will cover the following key concepts: Properties, Layers, Animations and Gestures. The examples have been carefully designed to introduce you to a wide variety of the objects, tricks and subtle techniques that make C4 shine.

Sorry, this is Members Only content. Please Log-in.

Join us today by becoming a Member.

  • Archive: More than 3,500 project profiles, scores of essays, interviews and reviews.
  • Publish: Post your projects, events, announcements.
  • No Ads: No advertisements, miners, banners.
  • Education: Tutorials (beginners and advanced) with code examples, downloads.
  • Jobs Archive: Find employers who have recruited here in the past (over 800 jobs).
  • Discounts: Special offers and giveaways (events, books and media).

Become a Member



2 comments on “Creative-coding on iOS with C4 – Tutorial