Last year I bought a Apple Mac Mini with 8GB of RAM, just one of the cheapest MAC you can buy new other then the RAM upgrade. I was and am on a budget, but wanted to learn how to make iOS App for the iPhone. I really prefer the iPhone over the Android. The reason I bought the Mac is because it works with the iPhone. I was quite surprised how well the iPhone talks with the MAC it is quite nice and highly recommended. So now it's about a year and half later and I really haven't learned much other then how to open up Xcode, the software program created by Apple you'll need to make iPhone Apps. Basically the approach I used is a common one read a little watch some Youtube videos and copy what others are doing. While you do comprehend a little doing this way the keyword here is little. I wanted to make this site/page different then others that actually gave myself/you and understanding of what your actually doing that way you can create something from your mind. One thing I've learned is that you definitely want a Solid State Drive when or if you buy a Mac to do Xcode. Without the SSD Xcode is very slow and frustating to run on the Mac.
After you got your mac computer setup or use of one at your library, school or tech center you're going to need the software, Xcode to create apps.Understanding the Xcode interface by Lynda.com
You'll need to understand what is a variable is to do Objective programming. The programming language that Apple created is called Swift, this is the programming language you'll need to create iOS apps. iOS development can either be for your MAC, iPhone or iPad. Some of the terms that we will learn are used in several programming languages. I wanted to comprehend what some of terms are so I could understand what I'm doing instead of just being a robot copying Youtube video and web pages.
For review a variable can change, you can name variable about anything you want, it's basically a way of renaming something shorter, for example if I want to It' your birthday I could say x = It's your birthday. Then if I want to recall the phrase "It's your birthday" I could just use "x" instead.
There are five types of variables
In Swift you use var to define a what you want your variable to be for example:
var myAge = 44
In the above example you use var the words myAge can be anything ( in my case I used my age 44 ) you want to name it however if it's descriptive of what you are actually defining it makes it easier for you to code along and others to help with your code.