My First Swift App Now Available on the App Store
Today sees a milestone in my Swift development journey: my first Swift app, ReDiLab, is now available at the App Store for A7 and A8 based iPads.ReDiLab is a reaction diffusion explorer. It allows...
View ArticleScaling, Resizing and Orienting Images to a Bounding Square in Swift
Earlier this year, I blogged about a small extension I wrote for UIImage for resizing images within a bounding square. Part of my current project, a rewrite of my Nodality application in Swift,...
View ArticleNodality: Node Based Image Processing for iPads in Swift Available in the App...
When I first started coding in Swift back in July, my ambition was to port Nodality, my node based image editing and compositing app, from AS3 to Swift by the end of 2014. As I stumbled along in those...
View ArticleNodality 2.1 Release
Hot on the heels of version 2.0 of Nodality, I'm really excited to be able to announce the release of version 2.1 to the App Store just in time to see in the New Year.Nodality is the only node based...
View ArticlePHImageManager, Core Data and Twitter Integration in Swift
The current release of my Nodality App cheats a little when handling images: after the user browses for an image using UIImagePickerController, I create a single UIImage instance of the selected image...
View ArticleCreating a PHImageManager Browser/Picker in Swift
One of the side effects of using PHImageManager for asset management in Nodality is that I can no longer use UIImagePickerController to allow my users to select their images. Therefore, I’ve spent some...
View ArticleSound Synthesis in Swift Revisited with AudioKit
Back in October last year, I took a look at using some work on Core Audio by Gene De Lisa to synthesise audio. Since then, I've been reading about the amazing work done by the AudioKit team with their...
View ArticleHigh Resolution Node Based Image Processing in Nodality 2.2
Today sees the release of version 2.2 of Nodality, my node based image editing and compositing application for iPads. Version 2.2 is available, free of charge, at the App Store and includes some fairly...
View ArticleThe Sound of Pendulum Waves with Swift and AudioKit
Here's another little experiment in Swift with the amazing AudioKit libraries I posted about recently. In this one, I've created a very rough simulation of pendulum waves and added a mandolin sound to...
View ArticleComputing Particle Systems in Swift with Metal Kernel Functions
I've looked at using Metal kernel functions in the past for image processing. This post looks at them for a different purpose: calculating and rendering large particle systems.Ordinarily, you may write...
View Article1,000,000 Particles on an iPad!
After my recent experiment with a Metal framework GPU based particle system, I've taken the code a step further and managed to get a million particle system running at 20fps (or over 30fps if I disable...
View ArticleTwo Million Particles at 25 Frames Per Second on an iPad
Following on from my last post where I managed to calculate and render over 1,000,000 particles in realtime, I've done some pretty effective tweaking of the code to create an app that calculates and...
View ArticleA Simple SceneKit Material Editor in Swift
One of the features I'm considering adding to Nodality, my node based image editor for iPads, is a function to create materials for SceneKit geometries. My first step is to create a user interface...
View ArticleFunctional vs Imperative: Creating a Multiline UISegmentedControl in Swift
As I add more features to Nodality, including texture and 3D support, my two UISegmentedControls are running out of space and truncating their labels. Sadly, out of the box, the UISegmentedControl...
View ArticleSwarm Chemistry: Creating an Advanced GPU Based Particle System with Metal
My recent posts about GPU based particle systems under Swift (One Million Particles and Two Million Particles) have looked at fairly simple systems: the particles involved have only interacted with one...
View ArticleAdding a User Interface to my Swarm Chemistry App on an iPad
If you enjoyed my recent experiment implementing Hiroki Sayama's Swarm Chemistry in Swift and Metal, you may be interested to know that I've added a very basic user interface to the app so that users...
View ArticleLaunching Parametrised Swift Applications from Links with Custom URL Schemes
As my Swarm Chemistry iPad application continues to evolve, I wanted to add a feature that allows users to easily share swarm chemistry recipes with each other. The way I've decided to do this uses...
View ArticleSwift 1.2: Let's Talk About Sets, Baby!
One of the many new exciting features in Swift 1.2 is the introduction of a new type, Set. Even if you’ve never come across the type before, you may well have hand coded the functionality of a set when...
View ArticleSwifter Swift Image Processing With GPUImage
I'm a big fan of Apple's Core Image technology: my Nodality application is based entirely around Core Image filters. However, for new users, the code for adding a simple filter to an image is a little...
View ArticleCreating Custom Gesture Recognisers in Swift
You may have used gesture recognisers in your Swift projects already, for example UIPinchGestureRecognizer for handling pinch-to-zoom or UIRotationGestureRecognizer for detecting a two touch rotation....
View Article