ThoughtWorks ‘Trains’ coding challenge
Full code https://github.com/lucaslouca/Trains
Use the search below to find our solutions for selected questions!
Full code https://github.com/lucaslouca/Trains
In order to better understand the purpose of these two properties, it is important that we understand the contentSize property. The scroll view must know the size of the content view. This is important because the size of the content view can be larger than the visible area (example: screen) . . . Read more
In this article i describe how to configure Maven 3.2 to use JDK v1.7 under Mac OS X 10.9 Step 1: Download Maven Go ahead and download the latest Maven version here. For this tutorial just download the binaries: apache-maven-3.2.1-bin.tar.gz. Step 2: Install Maven Once you have downloaded the zipped . . . Read more
In this article I will describe how to add landscape launch images to your iPhone app. Landscape launch images are only supported on iPad apps (Apple Documentation). Bellow I have listed the steps in order to circumvent this issue and add landscape images to your iPhone app. Step 1: Add . . . Read more
This tutorial will teach you how to implement a Game Center leaderboard in an iOS 7 app. Step 1: Importing the GameKit Framework Assuming you have an existing project you need to import the GameKit Framework. This can be easily done by selecting the project name and under General->Linked Frameworks . . . Read more
In this tutorial I will briefly explain several methods for adding interstitial ads iPhone in your iOS 7 App using the iAd framework. The example I will be working on is a small game implemented in Apple’s SpriteKit framework. The tutorial assumes that you have already created a new App . . . Read more