ARKit on iOS 11

ARKit is the "largest AR platform in the world" according to Apple's latest keynote address from WWDC 2017. So what can it do? Well, as we saw in the demos, ARKit enabled features for surface tracking, depth perception, and integrated with existing libraries from the game development world. Note: If you're here to learn how to make ARKit apps, I've…

0 Comments

Objective-C Pointers and Swift 2: A Simple Guide

This post written on August 23, 2015 to be compatible with Xcode 7 Beta and Swift 2 Objective-C Pointers and Swift Reading C pointers from Swift Let's say I have a C Int object as a Swift pointer. For example this Objective-C method would return an int pointer, or (int *) in C terminology: @interface PointerBridge : NSObject {     int…

0 Comments

WWDC 2015 Developer Highlights

Today Apple announced watchOS, delivering a new native SDK for developers at WWDC 2015, a new version of Mac OS X known as OS X El Capitan. Mac OS X El Capitan Shaking the mouse makes the cursor appear larger to make it easier to find. Safari now includes "pinning" of tabs, which leaves permanent icons on the top of…

0 Comments

Fun with CAShapeLayer

CAShapeLayer is a specialized subclass of CALayer that draws itself using the shape you define via the path property. path is an instance of CGPath. We could leverage the convenient UIBezierPath APIs to create a path, and then retrieve the CGPath from it. Besides all the animatable properties inherited from CALayer, there are other animatable properties that let you control…

0 Comments

Access Control In Swift

Updated December 21 for Xcode 6.1.1 The Swift feature of Access Control is really important from a software architecture perspective, because it allows us to properly implement encapsulation. Without the ability to hide members and methods of classes, it's very easy to accidentally (or not) reach in to classes and mess with internals that were not designed to be directly…

0 Comments
Close Menu