Blog Archives

Baby Shapes available on the App Store!

New app Baby Shapes has been published on the App Store! Visual stimulation for babies! You can find the iOS version here and the Android version here.

Posted in AIR, Flash

Easing equations in Swift

Something I missed when moving from AS3/JS to iOS development was the greensock tweening libraries. Apple has some easing equations but not the extensive Penner-style library. I have found some easing classes written in Objective C and decided to take

Tagged with: ,
Posted in Swift

func parameters in Swift

STOP PRESS: Updated for Swift 2.0 here! How function parameters work in Swift can be a little confusing, here’s an attempt to make it clearer: 1. func By default parameters of funcs do not have external names: If you want

Tagged with:
Posted in Swift

Comparing Facebook/Social ANEs

Setting up my cross-platform AIR app to publish to facebook/twitter was more challenging than I expected. Adobe Social ANE The Social ANE included in the Adobe Gaming SDK had three problems: Only works on iOS Not possible to force a publish

Posted in AIR, Flash

COMMUNICATION BETWEEN OBJECTS IN OBJECTIVE C AND SWIFT COMPARED WITH ACTIONSCRIPT – PART 5

Events Well, this is the final blog post in the series of communication between objects and for something familiar, events are available in Objective C and Swift too. The equivalent of ActionScript’s EventDispatcher is called NSNotificationCenter. Rather than each display

Tagged with:
Posted in Flash, Objective C, Swift

COMMUNICATION BETWEEN OBJECTS IN OBJECTIVE C AND SWIFT COMPARED WITH ACTIONSCRIPT – PART 4

Blocks/Closures Blocks are another way that Objective C performs callbacks. Flash and Swift uses this technique as well, where they are called closures. Basically this involves passing in a function/method/message to the child, whilst maintaining the focus of the parent.

Tagged with: ,
Posted in Flash, Objective C, Swift

Communication between objects in Objective C and Swift compared with Actionscript – part 3

Delegates Rather than passing the method itself to be called back, another callback strategy is to pass in an object that contains the callback methods. Delegation is such a design pattern, another way that children in Objective C and Swift

Tagged with:
Posted in Flash, Objective C, Swift

Communication between objects in Objective C and Swift compared with ActionScript – Part 2

Actions in Objective C and Swift One way that Cocoa implements callbacks using Actions in the Interface Builder. Some display objects can call actions in your ViewController. You can connect the object to a method in your custom ViewController class

Tagged with:
Posted in Objective C, Swift

Communication between objects in Objective C and Swift compared with ActionScript Part I

When I began using Objective C, coming from ActionScript, I was a little overwhelmed at the myriad ways that a child component can send messages to its parent. ActionScript seems sort of easy now, since generally (at least since AS3)

Tagged with:
Posted in Flash, Objective C, Swift

Subtitles Viewer available on the App Store

An app I’ve been working on, ‘Subtitles Viewer’ is now available on the App Store! Click here to download. Subtitles Viewer allows you to download subtitles on your iOS device, and then watch the subtitles synched to the movie/television show

Posted in Objective C