-
Settings Dialogs with Titanium
The handling for prompts for network, location, and other settings is fairly common when building apps. I think we have all written code that verifies a network connection and then prompts the user to check their network settings. For a recent project I encapsulated a network and location prompt into… Read more ⇢
-
CaptiveNetwork Depreciated in iOS9
If you use Network SSIDs in your application you most likely have a breaking change or two in store for you in upgrading to iOS9. Most likely you are using a block of code that looks something like the below to get the current SSID of the device. A quick… Read more ⇢
-
How to tint an UIImageView Image
I continue to explore a few of the basics around using UIImageView and Swift to create interface elements. In this post I will discuss how you can apply a tint to an UIImageView image. The example I will use to show the image tint is to toggle on and off… Read more ⇢
-
Spinning UIImageView using Swift
Recently I’ve been exploring Swift and really been enjoying both the syntax and extension points. Although still getting my legs under me with Swift and interface builder it has been a great deal of fun. For a recent project, I had to provide a subtle progress cue when the application… Read more ⇢
-
App Transport Security and LocalHost
With iOS9 and OS X 10.11 Apple has introduced App Transport Security which requires a secure connection be made for all NSURLSession connections. While this encourages developers to use best practices for secure connections this can create interesting side effects if you are using an embedded web server. If you… Read more ⇢
-
Adding a center button on your iOS Ti.UI.TabGroup
Remember the original “big center button” of the Instagram app? Although this design language isn’t cutting edge anymore it still can be useful for a class of apps. In this post we will explore how through a few lines of code you can create a center action button using the… Read more ⇢
-
Adding a Swift Bridge Header manually
Change are if you are using Swift for more then “Hello World” you will need to interact with existing Objective-C libraries such as FMDB, FCModel, MMWormhole, or something similar. Although Apple has come great documentation and there is a WWDC video discussing this I thought it might be helpful to… Read more ⇢
-
Event Sharing between Titanium, iOS Extensions, and the Apple Watch
JavaScript style events are one of the features I miss most when building native applications. The fact that Titanium allows for this on mobile is one of things I enjoy most about the platform. When Appcelerator introduced the ability to create native extensions in version 3.5.x, I began to explore… Read more ⇢
-
Embedding Swift in your Objective-C app, solving the libswiftCore.dylib error
Lately I’ve been experimenting with using Swift in my Titanium projects. Since Titanium is really just a Objective-C app under the covers it is fairly straight forward to mix and match Swift within your project. I did encounter one surprise the first time I added a Swift module or extension… Read more ⇢
