In this tutorial we will build Make2048 -- a clone of the popular mobile game 2048. The gameplay itself is simple but coding the game comes with some puzzles and challenges. You will learn a lot in the next couple of hours! We will use Apple's new Swift programming language together with SpriteBuilder and Cocos2D.
Step 1. Getting Started with 2048!
Step 2. Set up in SpriteBuilder
Step 3. Setting up classes in Xcode
Step 4. Adding user interaction
Step 5. Starting the game logic
Step 6. Finishing the core gameplay
Step 7. Adding some polish!
Have you ever encountered a problem with your codes where you have a variable inside a function and can’t update a value of the variable inside a asynchronous code block? Well, I have, and the answer to it is a function with completion.
Spotlight is the system-wide search function of iOS. In iOS9 it is possible
to index the content of an app inside Spotlight using the CoreSpotlight
API. In this tutorial the text of a Text Field will be indexed inside
Spotlight. This tutorial is made with Xcode 7 and built for iOS 9.
IOS 9 introduces reordering of Collection View Cells. This is enabled by
default, selecting a cell with a long press enables the user to reorder the
cells. All that's needed is to update your data model. In this tutorial we
will display some cells containing alphabet letters, these cells can be
easily reordered. This tutorial is made for iOS 9 with Xcode 7.
Prior to iOS 9 when using Auto Layout it requires the creation of a lot of
constraints, even when using relative simple user interfaces. In iOS 9,
Apple introduces the Stack View, which will automatically create Auto
Layout constraints for each subview that's added to it. In this tutorial we
will create a vertical Stack View containing three subviews. This tutorial
is made in Xcode 7 and for iOS 9.
In this tutorial, we’ll look at how to setup a Twitter & Facebook Login and Signup view so you can get users signed up with minimal effort. The article will walk you through how to get all the configuration setup using Parse’s default Login and Signup views.