Tue, Sep 2
Working with Core Image in Swift

With Nick Lockwood at the helm, here’s your chance to learn about iOS and Core Image, in Swift:

Core Image is a powerful framework that lets you easily apply filters to images. You can get all kinds of effects, such as modifying the vibrance, hue, or exposure. It can use either the CPU or GPU to process the image data and is very fast — fast enough to do real-time processing of video frames!

Nick’s an accomplished writer and developer. In addition to Core Image and Swift, I recommend you take a few minutes to check out his work here on iOS Developer Tips:

Xcode 6 Beta 7 Available

Apple just released the 7th beta of Xcode 6.

iOS 8 is still on beta 5 (August 4th).

Sponsor: Appsee Mobile App Analytics

Appsee

Appsee is an advanced visual mobile analytics platform that enables app developers and publishers to measure, understand and improve the user experience in their mobile app.

Traditional mobile analytics don’t reveal the full story, emphasizing numbers instead of reasons. Appsee enables app developers and publishers to put themselves in their users’ shoes and visually understand exactly how users interact with their app.

App owners leverage Appsee’s user recordings, touch heatmaps and real-time in-app analytics to optimize their apps and increase engagement, conversions and in-app monetization.

Appsee SDK integration takes less than 1 minute. Try Appsee for free here.

Many thanks to Appsee for sponsoring iOSDeveloperTips.com.

Mon, Sep 1
iPhone 6 Mobile Wallet Coming Sept 12th?

This is intriguing:

Apple has reached an agreement with American Express to work together on its new iPhone payments system

However, as expected, this is speculation. To finish the thought…

…according to sources familiar with the talks.

Which would imply iPhone 6 will have NFC technology.

read more »

Sun, Aug 31
Colorize Git Terminal Commands

Add the following to your ~/.gitconfig file to show the git command output in color when working in a terminal. This is really handy, give it a go.

[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
Fri, Aug 29
Creating a Custom Control in Swift

Mikael Konutgan of the Ray Wenderlich team recently wrote about creating a custom control in Swift. The completed control will look as follows:

Swift custom control.

If you are looking to build a control that has a basic target-action pattern, read on.

UIControl implements the target-action pattern, which is a mechanism for notifying subscribers of changes. UIControl also has a few properties that relate to control state. You’ll be using the target-action pattern in this custom control, so UIControl will serve as a great starting point.

Apple Case Study on Optionals in Swift

Apple Swift Blog:

This post explores how optionals help preserve strong type safety within Swift. We’re going to create a Swift version of an Objective-C API.

There is coverage of several concepts: returning an array of optionals from a method, using the map method on an array and a few notes about return values of Optional(nil).