Integrate Unity 5 in a native iOS app
A few months back I published a blog post about how to integrate Unity3D within a native iOS application. This tutorial was written for Xcode 6 & Unity 4 and in the comments there were a lot of requests for a new tutorial.
Tonight I found the time to make the video tutorial on how to integrate Unity 5 in a native iOS app with Xcode 7, so I hope you enjoy it!
3D Touch peek and pop tutorial
Apple added a touch-sensitive layer to the screen of the brand new iPhone 6s (plus). With the coming of this new screen, they’ve added some new UI interactions like application shortcuts and peek and pop.
In this 3D touch peek and pop tutorial I will learn you how to implement this new way of interacting with your content by building a photo gallery. When you press hard on the screen you’ll see a preview of the image and if you press really hard the preview will pop into a detail view.
At the end of this tutorial I’ll show you how to add preview actions. This way you can interact with the content without going to the detail view. You can do this by swiping up while you are previewing the content.
Everytime when Apple releases new software, I can’t help it to format my computer. I just don’t seem to trust an update of a operating system. I like to create a bootable USB drive because it’s blazing fast to install the OS. For El Capitan, it took me +- 15 minutes with a USB3 stick.
Luckily it is fairly easy to create a bootable USB drive for OSX El Capitan!
Create a bootable USB drive
- Have a USB stick ready (USB3 is really fast! :-))
- Format it with the Disk Utility tool (Mac OSX extended format, give the drive the name Untitled)
- Download OSX El Capitan from the Mac App Store, but quit the update application when it is downloaded.
- Open Terminal
- Use the following command
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app/ --nointeraction
- Type in your password when asked
- Wait a little while the files are being copied to your USB stick
- TAKE A FULL BACKUP OF YOUR IMPORTANT FILES
- Reboot your computer and hold the alt key
- You’ll see a menu where you can choose to run the installer from the USB drive
A few years ago Apple introduced TouchID on the iPhone5S. Instead of asking your user for a password, you can just ask for their fingerprint (if their device has TouchID) which improves the UX by a gazillion times.
With the introduction of iOS7, it was impossible for a developer to use the fingerprint sensor for authentication. Luckily in iOS8, Apple provided us with an API to do so.
In this tutorial I’ll show you how you can integrate TouchID authentication in your application.
3d touch quick actions tutorial
With the introduction of the iPhone 6S (plus), Apple added a pressure-sensitive layer to their screen. This creates a bunch of new UX possibilities for creating apps. It’s possible to do a hard press on an application icon and get shortcuts which take you to a specific point in your app. For example, if you do a hard-press on the Photo’s app icon you can quickly search for an image, check the most recent images or see your favourites. It’s also possible to make these quick actions dynamic, meaning that you can add and remove actions based on the state of your application.
In this tutorial I will show you how you can add these quick actions to your application icon.
At the 2014 WWDC conference Apple announced Swift as a new language to write iOS app. In February 2015 they released Swift 1.2, which fixed a lot of issues (especially with the compiler) and added new language features.
In June 2015 Apple announced at WWDC Swift 2, which will be made open source later this year. In this post I will cover the new features in Swift 2.