-
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 ⇢
-
Using iOS Visit Events in Titanium
It seems every app has its own way to handle Geo Location. In many of my cases, your destination is more important then your journey. In iOS 8 Apple provides the CLVisit API specifically designed to provide this type of functionality. Events are generated when you arrive to a location,… Read more ⇢
-
Titanium Charting with JBChartView
How to use Charts on mobile is one of those areas where everyone has an opinion. Usually these approaches boil down to the use of a WebView or taking a dependency on a 3rd party native framework. Usually I recommend using a WebView as the web charting tools tend to… Read more ⇢
