-
Android orientation locking for Titanium
Locking the orientation of a Titanium Android app if fairly straightforward after you’ve done it once or twice. I thought it would be helpful to outline the steps that I follow to lock several of my applications in a portrait orientation. To start with you first must build your Titanium… Read more ⇢
-
Using IANA Time Zones with NSTimeZone
As part of a recent project I’ve been spending more time then I’d like with time zones. In my case a variety of dates and time zone details are provided by a remote service. Having spent the last few years solving this type of problem with moment.js I was excited… Read more ⇢
-
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 ⇢
