Quantcast
Channel: FlexMonkey
Browsing all 257 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Composite Components in Swift: Dial Based RGB / CMYK Picker

Continuing on from my last blog post, Creating a Numeric Dial Control in Swift for iOS, this post looks at creating a composite component using more that one of my dial controls. The example I've...

View Article


Image may be NSFW.
Clik here to view.

Populating a UIPickerView in Swift

I thought it would be an interesting exercise to add a picker control (which Flex developers will know as a SpinnerList) to my dial based colour picker. The new control has a hard coded list of colours...

View Article


Image may be NSFW.
Clik here to view.

Custom Item Renderers for UIPickerViews in Swift

Following on from my recent post about implementing UIPickerViews, this post looks at creating a custom item renderer for the same control. The UIPickerView in my demonstration displays a list of...

View Article

Image may be NSFW.
Clik here to view.

Swift Tone Curve Editor

One of the nice features in my Nodality application is a little widget for editing the points of a tone curve. A tone curve changes the luminosity of an image for a given tonal range. For example,...

View Article

Image may be NSFW.
Clik here to view.

Two Handy Swift Extensions: Hermite Splines and Image Resizing

As part of my Swift Image Tone Curve Editor, I wanted to draw a smooth spline passing through a number of points. There's nothing 'out of the box' in Swift to do this - the standard UIBezierPath can...

View Article


Image may be NSFW.
Clik here to view.

Swift Filter Chaining Demo Application

Off the back of my last Swift experiment, an image tone curve editor, I thought I'd go one step further and create an iPad app that allows users to build a chain of image filters.My Filter Chaining...

View Article

Animating Inserts and Deletes on UICollectionView with Swift

When users added or deleted filters in the first iteration of my Filter Chaining application, the updated array of user defined filters was passed into the FiltersCollectionView instance where is...

View Article

Image may be NSFW.
Clik here to view.

Panning, Pinch Zooming and Sub Component Dragging in UIScrollView with Swift

The user interface in my node based image compositing and editing application, Nodality, consists of a large scrollable and zoomable workspace where the user can create and move nodes. This blog post...

View Article


Image may be NSFW.
Clik here to view.

Implementing the Presentation Model Pattern in Swift

For the last few years, almost all of the Flex projects I've worked on have used the Presentation Model (PM) pattern along with the Parsley application framework for dependency injection. Broadly...

View Article


Creating a Node Based User Interface for iOS using Swift

I've long been a fan of node based user interfaces and I've been coding various implementations from my first Flex version back in 2008 up to my recent Adobe AIR based Nodality image compositing app...

View Article

Image may be NSFW.
Clik here to view.

Swift: When removeFromSuperview() Is Not Enough

I've just added a little menu button with pop out UIAlertController to my Swift node based user interface demonstration. Along with options to change the selected node's type, it also allows the user...

View Article

Image may be NSFW.
Clik here to view.

Callouts and Action Sheets in Swift with UIPopoverController and...

Callouts are small, transient popups that display information or user interface controls. As part of my Swift node based calculator experiment, I wanted to add two new features, a numeric dial and a...

View Article

Image may be NSFW.
Clik here to view.

Sound Synthesis in Swift: A Core Audio Tone Generator

The other day, Morgan at Swift London mentioned it may be interesting to use my Swift node based user interface as the basis for an audio synthesiser. Always ready for a challenge, I've spent a little...

View Article


Image may be NSFW.
Clik here to view.

Metal Kernel Functions / Compute Shaders in Swift

As part of a project to create a GPU based reaction diffusion simulation, I stated to look at using Metal in Swift this weekend.I've done similar work in the past targeting the Flash Player and using...

View Article

Reaction Diffusion Cellular Automata with Metal Compute Shaders

Following on from my recent experiment with Metal kernel functions, I've evolved the project to run a reaction diffusion simulation. This time, I've implemented the Fitzhugh-Nagumo model which was...

View Article


Image may be NSFW.
Clik here to view.

Swift & Metal: 1,000 Reaction Diffusion Solver Iterations per Second

I've spend some time working on my iPad reaction diffusion simulation app written in Swift using Apple's Metal technology. As well as adding some more models: Gray-Scott and Belousov-Zhabotinsky, I've...

View Article

Image may be NSFW.
Clik here to view.

Swift and Core Data: Saving Data with Thumbnail Previews

I've spent some time adding Core Data support to my Swift and Metal based reaction diffusion application. Core Data is a framework that allows me to persist different reaction diffusion configurations...

View Article


Image may be NSFW.
Clik here to view.

London Swift Dev Community Talk: Whistle Stop Swift

Thanks to all that could make last night's talk: Whistle Stop Swift: Creating Apps Without Interface Builder. If you weren't able to come along, I created a demonstration Swift app for creating colours...

View Article

Image may be NSFW.
Clik here to view.

Updating and Deleting with Swift and Core Data

I discussed creating and reading data with Core Data recently. This post looks at the rest of CRUD functions: updating and deleting. The examples in this post are taken from the demonstration project I...

View Article

Image may be NSFW.
Clik here to view.

Improved Interaction Design for Deleting Items with Swift and Core Data

I looked at a simple implementation of Core Data's deleteObject() method recently, but for my Swift and Metal based reaction diffusion application, I want something a little more user friendly: if my...

View Article
Browsing all 257 articles
Browse latest View live