Author: admin
-
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…
-
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…
-
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…
-
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…
-
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…
-
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…
-
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…
-
The Perfect Storm – AIR iOS simulator/TLF issues
Was making changes to an app built with Flash for iOS, when I discovered that incompatibilities between the new XCode and Flash means that no longer(at the time of writing) is it possible to test or…
-
Punctuation in RTL text in Objective C
In the subtitles project I’m working on, I had the need to display Hebrew and Arabic, both RTL (right to left) languages. Having not worked with RTL text before, I wasn’t aware…
-
Optional parameters in methods in Objective C
Methods in Objective C are actually called messages but they’re often referred to as methods, a more commonly used terminology. Optional parameters are treated in an interesting way in Objective C. Basically…
