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...
View ArticleSpinning 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...
View ArticleHow 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...
View ArticleCaptiveNetwork 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...
View ArticleEmbedding 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...
View ArticleEvent 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...
View ArticleAdding 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...
View ArticleAdding 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...
View ArticleApp 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...
View ArticleSpinning 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...
View ArticleHow 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...
View ArticleCaptiveNetwork 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...
View ArticleUsing 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...
View ArticleResetting the iOS Simulator
There seems to be several ways to reset or clear the iOS simulator ranging from pressing the “Reset Content and Settings..” button on the iOS simulator from deleting folder under...
View ArticleSwift handling the back button title
For my current project we’ve got a design requirement that all screens have a simple “Back” button instead of the default text that iOS provides when pushing a new controller. I found that Swift’s...
View ArticleA simplistic approach to using Google Analytics in your Swift UIViewControllers
I use Google Analytics to collect usage statistics across both my web and mobile applications. There are a few great AngularJS and other libraries that track page usage automatically when a controller...
View ArticleUIWebView Background Experiments
UIWebView is one of the most useful controls in UIKit and has almost a limitless amount of options you can configure. My use case isn’t all that unique I’m simply displaying snippets of HTML email...
View ArticleUsing OpenURL to launch links in a UIWebView
UIWebView in great for displaying HTML formatting information in your app. In many cases you might be displaying fragments you didn’t create opening the door for links your user might action. By...
View ArticleLogging Exceptions to Google Analytics Using SwiftyBeaver
There has been an avalanche of Swift based logging frameworks lately. After trying several, I found SwiftyBeaver was both flexible and simple enough to move all of my apps onto. Similar to most of...
View ArticleCheck if GestureRecognizer added
One of my new projects dynamically generates a UI based on a DSL entered by the user. This leads to a host of defensive coding challenges since there is multiple code paths that can add controls and...
View Article