Maxime Defauw. Learning Swift

Size: px
Start display at page:

Download "Maxime Defauw. Learning Swift"

Transcription

1 Maxime Defauw Learning Swift SAMPLE CHAPTERS

2 1 Introduction Begin at the beginning, the King said, very gravely, and go on till you come to the end: then stop. Lewis Carroll, Alice in Wonderland

3 Hi and welcome to this Swift book! In this course you ll learn the brand-new Swift language. Apple introduced it at the WWDC 2014, which is an abbreviation for the Apple Worldwide Developer Conference, an annual conference where Apple showcases its new products. This time, Apple surprised us all by introducing two unexpected products: the Apple Watch and Swift, a brand-new programming language that has a lot of new features and capabilities. But what is a programming language? Computers don t understand English, French or whatever language that we, the people, speak. A programming language is kind of a special language programmers it use to communicate with a computer. Programs are in fact a set of instructions which a computer has to follow There are a lot of different types of programming languages, but I won t bother you here with the explanation of the differences between them. The best way to learn a foreign language is by actually speaking it. This is the same for programming languages! So, what are you waiting for? Let s start! Maxime Defauw ii

4 To Françoise Granny Mattelaer Thanks for helping me writing my book. And for the delicious lunches every Monday. iii

5 2 Installing Xcode The beginning is always today. Mary Wollstonecraft

6 Let s begin by installing Xcode. Xcode is an IDE or Integrated Development Environment. It is a set of development tools used to create IOS and Mac OS X applications. Xcode 6, the latest version of Xcode at the time of writing, is the one we will use in this book. You will need to install Xcode on your Mac in order to complete the tutorials of this book. Of course, it is completely free! You can download Xcode on the Apple Developer site or on the Mac App Store. (Fig. 2-1) You can find the Mac App Store in your Applications folder. Xcode on the Mac App Store. Click the Get button under the Xcode logo. (Fig 2-1) 5

7 Once Xcode is downloaded and installed, open it up. In most cases, Xcode will be downloaded in your Applications Folder. If not, you could search for it with spotlight (The magnifying glass at the top right corner of your mac) or Finder You will be greeted by this window (Fig. 2-2) Greeting window when opening Xcode (Fig. 2-2) You have different options presented in the launching screen. A new feature that comes with Swift is Playgrounds. A Playground is an interactive environment that allows you to try out new code and ideas and see the results in real time instead of having to create a real project. This sounds good for learning! Let s create one! Click on Get started with a playground. This brings up a new window. (Fig. 2-3) 6

8 Create your playground (Fig. 2-3) Choose a name for your playground. I ll just leave it with MyPlayground. Set ios for platform and click Next. Select a place where you want your playground to be saved and click Create. Xcode automatically opens our Playground file. This is where you will write your first lines of code! As you can see, there s already some code generated for you. It looks strange, right? In the next chapter, we will analyze this line-by-line and write our first lines of code! 7

9 3 Types The first step is you have to say that you can. Will Smith

10 Comments Let s start where we left in the last chapter. If it isn t already, open up the playground we previously created. When you make a playground file, there is by default some code generated. What does it all mean? Let s take a closer look. // Playground - noun: a place where people can play import UIKit var str = "Hello, playground" The first line is what is called a comment. It is just a little explanation the coder or the developer wrote to make things a little easier. You can write everything you want in a comment. For example this is a piece of code that calculates three minus five or I left here yesterday, and I still have to add a calculator code. This is extremely useful when you work in team. For instance you could write something about the piece of code you made, and send it directly to your team member. Or if you have made a little program, and want to adapt it some weeks later, you could have written a comment about your code so you ll still understand what you wrote some weeks later. In Swift, comments can be made in two different ways. The first way is by typing two slashes followed by your comment. The second way, which is often used for longer comment sections, is by opening the comment section with a /* and closing it with a */. // This is a single line comment /* This is a longer comment section. Here, you can type longer comments that consist of one or more lines */ Try it out! Type something about this book in your playground. It is very good and educational to code with me. So try out everything you learn in this book inside your playground. This way, you will understand and memorize everything better. 9

11 Variables Before introducing you to the second line of code, I want to explain how a program works. When you write code, you decide what you want the computer to do by making instructions it has to follow. Next you run the instructions through the compiler, which is yet another program that converts your instructions into code your computer can understand. Now the machine can execute your application. swift code var str = hello println(str) compiler computer code The second line import UIKit tells the compiler to include a certain file of framework in your project (in this case the UIKit framework). UIKit provides the crucial infrastructure needed to construct and manage IOS apps. Frameworks represent big chunks of code you won t have to rewrite every time you make a new project. For example, the UIKit provides support for handling touch- and motion-based events on your iphone, ipad or ipod Touch. Without this framework, programing would be very repetitive, boring and tedious as you d have to retype all this code over and over again when creating a new app. Let s jump to the third line! var str = "Hello, playground is a variable. Think of it as a box that serves as a storage for some content like letters and numbers: str is the box and Hello, playground is its content. You can create a variable by typing var followed by the name or identifier of the variable. Assigning a value to a variable is done by typing the variable identifier or the variable name followed by an equals sign and its value. var mynumber = 5.2 var mystring = "Hello World!" Here we create two variables mynumber which is equal to 5.2 and mystring which contains the value Hello World! 10

12 You don t have to assign a value to a variables directly when you create it. It is possible to create a variable and assign it s value later on. But if you do so, you will have to set the type of the variable explicitly. For example, if you want to create a variable that holds an Integer value (a whole number like 1, 6 or -254), you ll have to specify the variable to hold an integer. You do this by typing a colon ( : ) after the identifier followed by the type of the variable. var myinteger: Int myinteger = 5 However if you assign its value directly, Swift is powerful enough to recognize the type of variable and you don t have to specify the type. Observe the difference between the two. var explicitinteger: Int = 5 var implicitinteger = 4 There are different types of variables in Swift. Here is a list of the basic data types. Data type Explanation Example Int Is used for whole numbers -4, 6, 185, 0 Float Is used for numbers with decimal points 9.6, , Double Is used for bigger numbers with decimal points , -652, String Ordered sequences of characters Hello, how are doing? Bool Means true or false True, False When examining this table above, you may have some questions such as what is the difference between a float and a double? or What is a bool used for? As the name implies, a double has two times the precision of a float. This means that the result of a calculation stored in a float can be 9,00..., though if it s stored in a double it would be 8,99... A bool or boolean is a variable type that can either be true or false. It is used to represent the truth values in an expression. For instance if you want to check in code if 5 is greater than 4, the bool would be true. You ll learn more about bools in CHAPTER NAME. 11

13 Constants A variable is, as the name suggest, variable. This means that if you assign a value to a variable, it can be changed later on in the program. A constant on the contrary is, again as the name suggest, constant. This means that once you assign a value to it, it can never be changed. In Swift you create constants just like you create variables, but instead of writing var before the identifier, you write let. let myname = "Maxime" var myage = 15 // Next year, my age becomes greater, but my name stays the same. That s why myname is constant and myage is a variable myage = 16 // Now myage is equal to 16 Why would you want to use a constant? The answer is simple: for safer and cleaner code and performance optimization. If you ever want to create a box for a value, the rule is simple: if it can be a constant, make it a constant. Otherwise make it a variable. 12

14 Challenge The best way of learning a new programming language is not by only reading a book or watching videos online. You have to exercise what you ve learned! This is why there will be some challenges at the end of each chapter. Some are easy, others may be more difficult. But it is very important you try to succeed every challenge at its best! These are the challenges for this chapter: Create a new playground file named Challenge Chapter 3 Make two variables; one implicit Double, and one explicit Int. Create a constant with your name Add a comment beneath explaining the difference between a float and a double. The solutions for this chapter can be found here l=0 If you completed these challenges, you can officially code! 13

Boolean Expressions. Is Equal and Is Not Equal

Boolean Expressions. Is Equal and Is Not Equal 3 MAKING CHOICES Now that we ve covered how to create constants and variables, you re ready to learn how to tell your computer to make choices. This chapter is about controlling the flow of a computer

More information

Boolean Expressions. Is Equal and Is Not Equal

Boolean Expressions. Is Equal and Is Not Equal 3 MAKING CHOICES ow that we ve covered how to create constants and variables, you re ready to learn how to tell your computer to make choices. This chapter is about controlling the flow of a computer program

More information

Registering for the Apple Developer Program

Registering for the Apple Developer Program It isn t necessary to be a member of the Apple Developer Program if you don t intend to submit apps to the App Stores, or don t need the cloud-dependent features. We strongly recommend joining, though,

More information

S A M P L E C H A P T E R

S A M P L E C H A P T E R SAMPLE CHAPTER Anyone Can Create an App by Wendy L. Wise Chapter 2 Copyright 2017 Manning Publications brief contents PART 1 YOUR VERY FIRST APP...1 1 Getting started 3 2 Building your first app 14 3 Your

More information

My First Command-Line Program

My First Command-Line Program 1. Tutorial Overview My First Command-Line Program In this tutorial, you re going to create a very simple command-line application that runs in a window. Unlike a graphical user interface application where

More information

My First iphone App. 1. Tutorial Overview

My First iphone App. 1. Tutorial Overview My First iphone App 1. Tutorial Overview In this tutorial, you re going to create a very simple application on the iphone or ipod Touch. It has a text field, a label, and a button. You can type your name

More information

Setting Up Your ios Development Environment. For Mac OS X (Mountain Lion) v1.0. By GoNorthWest. 5 February 2013

Setting Up Your ios Development Environment. For Mac OS X (Mountain Lion) v1.0. By GoNorthWest. 5 February 2013 Setting Up Your ios Development Environment For Mac OS X (Mountain Lion) v1.0 By GoNorthWest 5 February 2013 Setting up the Apple ios development environment, which consists of Xcode and the ios SDK (Software

More information

Python for Non-programmers

Python for Non-programmers Python for Non-programmers A Gentle Introduction 1 Yann Tambouret Scientific Computing and Visualization Information Services & Technology Boston University 111 Cummington St. yannpaul@bu.edu Winter 2013

More information

1 Build Your First App. The way to get started is to quit talking and begin doing. Walt Disney

1 Build Your First App. The way to get started is to quit talking and begin doing. Walt Disney 1 Build Your First App The way to get started is to quit talking and begin doing. Walt Disney Copyright 2015 AppCoda Limited All rights reserved. Please do not distribute or share without permission. No

More information

My First iphone App (for Xcode version 6.4)

My First iphone App (for Xcode version 6.4) My First iphone App (for Xcode version 6.4) 1. Tutorial Overview In this tutorial, you re going to create a very simple application on the iphone or ipod Touch. It has a text field, a label, and a button

More information

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements

Lecture 05 I/O statements Printf, Scanf Simple statements, Compound statements Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 05 I/O statements Printf, Scanf Simple

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

C++ Data Types. 1 Simple C++ Data Types 2. 3 Numeric Types Integers (whole numbers) Decimal Numbers... 5

C++ Data Types. 1 Simple C++ Data Types 2. 3 Numeric Types Integers (whole numbers) Decimal Numbers... 5 C++ Data Types Contents 1 Simple C++ Data Types 2 2 Quick Note About Representations 3 3 Numeric Types 4 3.1 Integers (whole numbers)............................................ 4 3.2 Decimal Numbers.................................................

More information

Discussion 1H Notes (Week 2, 4/8) TA: Brian Choi Section Webpage:

Discussion 1H Notes (Week 2, 4/8) TA: Brian Choi Section Webpage: Discussion 1H Notes (Week 2, 4/8) TA: Brian Choi (schoi@cs.ucla.edu) Section Webpage: http://www.cs.ucla.edu/~schoi/cs31 Variables You have to instruct your computer every little thing it needs to do even

More information

My First Cocoa Program

My First Cocoa Program My First Cocoa Program 1. Tutorial Overview In this tutorial, you re going to create a very simple Cocoa application for the Mac. Unlike a line-command program, a Cocoa program uses a graphical window

More information

Hello! ios Development

Hello! ios Development SAMPLE CHAPTER Hello! ios Development by Lou Franco Eitan Mendelowitz Chapter 1 Copyright 2013 Manning Publications Brief contents PART 1 HELLO! IPHONE 1 1 Hello! iphone 3 2 Thinking like an iphone developer

More information

Objectives. Submission. Register for an Apple account. Notes on Saving Projects. Xcode Shortcuts. CprE 388 Lab 1: Introduction to Xcode

Objectives. Submission. Register for an Apple account. Notes on Saving Projects. Xcode Shortcuts. CprE 388 Lab 1: Introduction to Xcode Objectives Register for an Apple account Create an application using Xcode Test your application with the iphone simulator Import certificates for development Build your application to the device Expand

More information

Installing and getting started with Xcode for Mac OS.

Installing and getting started with Xcode for Mac OS. Installing and getting started with Xcode for Mac OS. 1. Go to the Mac App store. Do a search for Xcode. Then download and install it. (It s free.) Give it some time it may take a while. (A recent update

More information

CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) First Name: Last Name: NetID:

CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28)   First Name: Last Name: NetID: CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) http://www.cs.cornell.edu/courses/cs1110/2016sp/labs/lab01/lab01.pdf First Name: Last Name: NetID: Goals. Learning a computer language is a lot like learning

More information

Object-Oriented Programming in Objective-C

Object-Oriented Programming in Objective-C In order to build the powerful, complex, and attractive apps that people want today, you need more complex tools than a keyboard and an empty file. In this section, you visit some of the concepts behind

More information

These are notes for the third lecture; if statements and loops.

These are notes for the third lecture; if statements and loops. These are notes for the third lecture; if statements and loops. 1 Yeah, this is going to be the second slide in a lot of lectures. 2 - Dominant language for desktop application development - Most modern

More information

Part 1. Summary of For Loops and While Loops

Part 1. Summary of For Loops and While Loops NAME EET 2259 Lab 5 Loops OBJECTIVES -Understand when to use a For Loop and when to use a While Loop. -Write LabVIEW programs using each kind of loop. -Write LabVIEW programs with one loop inside another.

More information

CSE 438: Mobile Application Development Lab 2: Virtual Pet App

CSE 438: Mobile Application Development Lab 2: Virtual Pet App CSE 438: Mobile Application Development Lab 2: Virtual Pet App Overview In this lab, you will create an app to take care of your very own virtual pets! The app will only have one screen and simple logic,

More information

Part II Composition of Functions

Part II Composition of Functions Part II Composition of Functions The big idea in this part of the book is deceptively simple. It s that we can take the value returned by one function and use it as an argument to another function. By

More information

BASIC COMPUTATION. public static void main(string [] args) Fundamentals of Computer Science I

BASIC COMPUTATION. public static void main(string [] args) Fundamentals of Computer Science I BASIC COMPUTATION x public static void main(string [] args) Fundamentals of Computer Science I Outline Using Eclipse Data Types Variables Primitive and Class Data Types Expressions Declaration Assignment

More information

Itunes Manually Install Ios Beta 6 On Iphone 4s Without Udid >>>CLICK HERE<<<

Itunes Manually Install Ios Beta 6 On Iphone 4s Without Udid >>>CLICK HERE<<< Itunes Manually Install Ios Beta 6 On Iphone 4s Without Udid How to install ios 8.3 Beta 2 ipsw Using itunes without a Developer Account and UDID. For the Tested on iphone 4,4S,5,5S,6 all the same issue.

More information

Text Input and Conditionals

Text Input and Conditionals Text Input and Conditionals Text Input Many programs allow the user to enter information, like a username and password. Python makes taking input from the user seamless with a single line of code: input()

More information

Learn to make desktop LE

Learn to make desktop LE HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make desktop LE P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 Storm Viewer Get started coding in Swift by making an image viewer

More information

Tutorial for loading music files into an Ipad

Tutorial for loading music files into an Ipad Tutorial for loading music files into an Ipad 1. For this example we ll use Adobe Acrobat Reader as the application (app) that we ll use to file and store our music on our Ipad. There are other music applications

More information

LOCATION SPOOFING ON IOS WITHOUT A JAILBREAK

LOCATION SPOOFING ON IOS WITHOUT A JAILBREAK LOCATION SPOOFING ON IOS WITHOUT A JAILBREAK Adidas Confirmed requires that the user is in the location before confirming a pair of shoes using the app. The app utilizes the phone s GPS to find the location.

More information

Learn to make ios apps

Learn to make ios apps HACKING WITH SWIFT PROJECTS 1-39 Learn to make ios apps E L P with real projects SAM E E FR Paul Hudson Project 1 Storm Viewer Get started coding in Swift by making an image viewer app and learning key

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming

Intro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals

More information

the NXT-G programming environment

the NXT-G programming environment 2 the NXT-G programming environment This chapter takes a close look at the NXT-G programming environment and presents a few simple programs. The NXT-G programming environment is fairly complex, with lots

More information

[ the academy_of_code] Senior Beginners

[ the academy_of_code] Senior Beginners [ the academy_of_code] Senior Beginners 1 Drawing Circles First step open Processing Open Processing by clicking on the Processing icon (that s the white P on the blue background your teacher will tell

More information

Hello Swift! ios app programming for kids and other beginners Version 12

Hello Swift! ios app programming for kids and other beginners Version 12 MEAP Edition Manning Early Access Program Hello Swift! ios app programming for kids and other beginners Version 12 Copyright 2018 Manning Publications For more information on this and other Manning titles

More information

CMSC 201 Computer Science I for Majors

CMSC 201 Computer Science I for Majors CMSC 201 Computer Science I for Majors Lecture 02 Intro to Python Syllabus Last Class We Covered Grading scheme Academic Integrity Policy (Collaboration Policy) Getting Help Office hours Programming Mindset

More information

Introduction to Programming in Turing. Input, Output, and Variables

Introduction to Programming in Turing. Input, Output, and Variables Introduction to Programming in Turing Input, Output, and Variables The IPO Model The most basic model for a computer system is the Input-Processing-Output (IPO) Model. In order to interact with the computer

More information

CS 1110, LAB 1: PYTHON EXPRESSIONS.

CS 1110, LAB 1: PYTHON EXPRESSIONS. CS 1110, LAB 1: PYTHON EXPRESSIONS Name: Net-ID: There is an online version of these instructions at http://www.cs.cornell.edu/courses/cs1110/2012fa/labs/lab1 You may wish to use that version of the instructions.

More information

STAT 113: R/RStudio Intro

STAT 113: R/RStudio Intro STAT 113: R/RStudio Intro Colin Reimer Dawson Last Revised September 1, 2017 1 Starting R/RStudio There are two ways you can run the software we will be using for labs, R and RStudio. Option 1 is to log

More information

Introduction to Computation for the Humanities and Social Sciences. CS 3 Chris Tanner

Introduction to Computation for the Humanities and Social Sciences. CS 3 Chris Tanner Introduction to Computation for the Humanities and Social Sciences CS 3 Chris Tanner Lecture 4 Python: Variables, Operators, and Casting Lecture 4 [People] need to learn code, man I m sick with the Python.

More information

2SKILL. Variables Lesson 6. Remembering numbers (and other stuff)...

2SKILL. Variables Lesson 6. Remembering numbers (and other stuff)... Remembering numbers (and other stuff)... Let s talk about one of the most important things in any programming language. It s called a variable. Don t let the name scare you. What it does is really simple.

More information

Hour of Code with Swift Playgrounds

Hour of Code with Swift Playgrounds Hour of Code with Swift Playgrounds The Incredible Code Machine Facilitator Guide Hour of Code with Swift Playgrounds Facilitator Guide 1 Welcome What you ll need Lead your own Hour of Code event Celebrate

More information

Annotation Annotation or block comments Provide high-level description and documentation of section of code More detail than simple comments

Annotation Annotation or block comments Provide high-level description and documentation of section of code More detail than simple comments Variables, Data Types, and More Introduction In this lesson will introduce and study C annotation and comments C variables Identifiers C data types First thoughts on good coding style Declarations vs.

More information

If Statements, For Loops, Functions

If Statements, For Loops, Functions Fundamentals of Programming If Statements, For Loops, Functions Table of Contents Hello World Types of Variables Integers and Floats String Boolean Relational Operators Lists Conditionals If and Else Statements

More information

Variables, expressions and statements

Variables, expressions and statements Variables, expressions and statements 2.1. Values and data types A value is one of the fundamental things like a letter or a number that a program manipulates. The values we have seen so far are 2 (the

More information

CISC-124. Casting. // this would fail because we can t assign a double value to an int // variable

CISC-124. Casting. // this would fail because we can t assign a double value to an int // variable CISC-124 20180122 Today we looked at casting, conditionals and loops. Casting Casting is a simple method for converting one type of number to another, when the original type cannot be simply assigned to

More information

The requirements according to Autodesk are to be using Xcode with the 10.8 SDK(comes with it). Xcode 6 does not have this SDK.

The requirements according to Autodesk are to be using Xcode with the 10.8 SDK(comes with it). Xcode 6 does not have this SDK. The requirements according to Autodesk are to be using Xcode 5.0.2 with the 10.8 SDK(comes with it). Xcode 6 does not have this SDK. Unfortunately, when Apple updates Xcode it breaks everything, every

More information

Python Programming Exercises 1

Python Programming Exercises 1 Python Programming Exercises 1 Notes: throughout these exercises >>> preceeds code that should be typed directly into the Python interpreter. To get the most out of these exercises, don t just follow them

More information

Hello guys, In this tutorial, I am going to tell you that how we can integrate a custom framework in our Xcode project using cocoa pods.

Hello guys, In this tutorial, I am going to tell you that how we can integrate a custom framework in our Xcode project using cocoa pods. Hello guys, In this tutorial, I am going to tell you that how we can integrate a custom framework in our Xcode project using cocoa pods. Things we need to do this tutorial are: Macbook or system that supports

More information

Mac OSX Basics. Spring 2014

Mac OSX Basics. Spring 2014 Mac OSX Basics Spring 2014 Objectives By the end of this tutorial, you will be able to: move confidently around the Mac s desktop and menus. locate any program installed on the Mac. manipulate windows

More information

T H E I N T E R A C T I V E S H E L L

T H E I N T E R A C T I V E S H E L L 3 T H E I N T E R A C T I V E S H E L L The Analytical Engine has no pretensions whatever to originate anything. It can do whatever we know how to order it to perform. Ada Lovelace, October 1842 Before

More information

Notes on Chapter 1 Variables and String

Notes on Chapter 1 Variables and String Notes on Chapter 1 Variables and String Note 0: There are two things in Python; variables which can hold data and the data itself. The data itself consists of different kinds of data. These include numbers,

More information

How To Add Songs To Ipod Without Syncing >>>CLICK HERE<<<

How To Add Songs To Ipod Without Syncing >>>CLICK HERE<<< How To Add Songs To Ipod Without Syncing Whole Library Create a playlist, adding all the songs you want to put onto your ipod, then under the How to add music from ipod to itunes without clearing itunes

More information

Your . A setup guide. Last updated March 7, Kingsford Avenue, Glasgow G44 3EU

Your  . A setup guide. Last updated March 7, Kingsford Avenue, Glasgow G44 3EU fuzzylime WE KNOW DESIGN WEB DESIGN AND CONTENT MANAGEMENT 19 Kingsford Avenue, Glasgow G44 3EU 0141 416 1040 hello@fuzzylime.co.uk www.fuzzylime.co.uk Your email A setup guide Last updated March 7, 2017

More information

Itunes Manually Install Ios Beta 6 Without Udid Registered >>>CLICK HERE<<<

Itunes Manually Install Ios Beta 6 Without Udid Registered >>>CLICK HERE<<< Itunes Manually Install Ios Beta 6 Without Udid Registered beta versions can be installed on ios devices whose UDIDs are registered with Apple. To register a UDID, you need to be a developer or know someone

More information

Program Planning, Data Comparisons, Strings

Program Planning, Data Comparisons, Strings Program Planning, Data Comparisons, Strings Program Planning Data Comparisons Strings Reading for this class: Dawson, Chapter 3 (p. 80 to end) and 4 Program Planning When you write your first programs,

More information

Introduction to Swift. Dr. Sarah Abraham

Introduction to Swift. Dr. Sarah Abraham Introduction to Swift Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2018 What is Swift? Programming language for developing OSX, ios, WatchOS, and TvOS applications Best of C and Objective-C

More information

Lecture 3. Input, Output and Data Types

Lecture 3. Input, Output and Data Types Lecture 3 Input, Output and Data Types Goals for today Variable Types Integers, Floating-Point, Strings, Booleans Conversion between types Operations on types Input/Output Some ways of getting input, and

More information

Looping and Counting. Lecture 3 Hartmut Kaiser hkaiser/fall_2012/csc1254.html

Looping and Counting. Lecture 3 Hartmut Kaiser  hkaiser/fall_2012/csc1254.html Looping and Counting Lecture 3 Hartmut Kaiser hkaiser@cct.lsu.edu http://www.cct.lsu.edu/ hkaiser/fall_2012/csc1254.html Abstract First we ll discuss types and type safety. Then we will modify the program

More information

Midterms Save the Dates!

Midterms Save the Dates! University of British Columbia CPSC 111, Intro to Computation Alan J. Hu Primitive Data Types Arithmetic Operators Readings Your textbook is Big Java (3rd Ed). This Week s Reading: Ch 2.1-2.5, Ch 4.1-4.2.

More information

MacMost.com (hosted by Gary Rosenzweig)

MacMost.com (hosted by Gary Rosenzweig) Note: This discussion is based on MacOS, 10.14.1 (Mojave). Some illustrations may differ when using other versions of macos or OS X. Illustrations are from screenshots on my imac. In this presentation

More information

Looping and Counting. Lecture 3. Hartmut Kaiser hkaiser/fall_2011/csc1254.html

Looping and Counting. Lecture 3. Hartmut Kaiser  hkaiser/fall_2011/csc1254.html Hartmut Kaiser hkaiser@cct.lsu.edu http://www.cct.lsu.edu/ hkaiser/fall_2011/csc1254.html 2 Abstract First we ll discuss types and type safety. Then we will modify the program we developed last time (Framing

More information

University of Technology. Laser & Optoelectronics Engineering Department. C++ Lab.

University of Technology. Laser & Optoelectronics Engineering Department. C++ Lab. University of Technology Laser & Optoelectronics Engineering Department C++ Lab. Second week Variables Data Types. The usefulness of the "Hello World" programs shown in the previous section is quite questionable.

More information

Computer Basics: Step-by-Step Guide (Session 2)

Computer Basics: Step-by-Step Guide (Session 2) Table of Contents Computer Basics: Step-by-Step Guide (Session 2) ABOUT PROGRAMS AND OPERATING SYSTEMS... 2 THE WINDOWS 7 DESKTOP... 3 TWO WAYS TO OPEN A PROGRAM... 4 DESKTOP ICON... 4 START MENU... 5

More information

Stanford CS193p. Developing Applications for ios Fall Stanford CS193p. Fall 2013

Stanford CS193p. Developing Applications for ios Fall Stanford CS193p. Fall 2013 Developing Applications for ios -14 Today What is this class all about? Description Prerequisites Homework / Final Project ios Overview What s in ios? MVC Object-Oriented Design Concept Objective C (Time

More information

Lecture 1: Overview

Lecture 1: Overview 15-150 Lecture 1: Overview Lecture by Stefan Muller May 21, 2018 Welcome to 15-150! Today s lecture was an overview that showed the highlights of everything you re learning this semester, which also meant

More information

TestComplete 3.0 Overview for Non-developers

TestComplete 3.0 Overview for Non-developers TestComplete 3.0 Overview for Non-developers Copyright 2003 by Robert K. Leahey and AutomatedQA, Corp. All rights reserved. Part : Table of Contents Introduction 1 About TestComplete 1 Basics 2 Types of

More information

Chapter 2 Welcome App

Chapter 2 Welcome App 2.1 Introduction Chapter 2 Welcome App 1. A app is an app that can run on iphones, ipod touches and ipads. a. multi-purpose b. global c. unrestricted d. universal Ans: d. universal 2. You can your apps

More information

LESSON 2 VARIABLES, OPERATORS, EXPRESSIONS, AND USER INPUT

LESSON 2 VARIABLES, OPERATORS, EXPRESSIONS, AND USER INPUT LESSON VARIABLES, OPERATORS, EXPRESSIONS, AND USER INPUT PROF. JOHN P. BAUGH PROFJPBAUGH@GMAIL.COM PROFJPBAUGH.COM CONTENTS INTRODUCTION... Assumptions.... Variables and Data Types..... Numeric Data Types:

More information

Swift. Introducing swift. Thomas Woodfin

Swift. Introducing swift. Thomas Woodfin Swift Introducing swift Thomas Woodfin Content Swift benefits Programming language Development Guidelines Swift benefits What is Swift Benefits What is Swift New programming language for ios and OS X Development

More information

The Incredible Code Machine with Swift Playgrounds

The Incredible Code Machine with Swift Playgrounds The Incredible Code Machine with Swift Playgrounds Facilitator Guide The Incredible Code Machine with Swift Playgrounds Facilitator Guide 1 Welcome What you ll need Lead your own EU Code Week event Celebrate

More information

Exercise: Inventing Language

Exercise: Inventing Language Memory Computers get their powerful flexibility from the ability to store and retrieve data Data is stored in main memory, also known as Random Access Memory (RAM) Exercise: Inventing Language Get a separate

More information

CSC 581: Mobile App Development Spring 2019

CSC 581: Mobile App Development Spring 2019 CSC 581: Mobile App Development Spring 2019 The ios landscape iphone/ios market share ios history ios architecture Cocoa Touch, media layer, core services, core OS ios development XCode & Swift 1 Vendor

More information

Functions & Variables !

Functions & Variables ! Functions & Variables 02-201! What Is Programming? Programming is clearly, correctly telling a computer what to do. Programming Executable Program Algorithm: (English) instructions to the computer Programming

More information

Variables and Constants

Variables and Constants HOUR 3 Variables and Constants Programs need a way to store the data they use. Variables and constants offer various ways to work with numbers and other values. In this hour you learn: How to declare and

More information

Learn to make watchosle

Learn to make watchosle HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make watchosle P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 NoteDictate 2 www.hackingwithswift.com Setting up In this project

More information

Organize Your iphone: Icons and Folders

Organize Your iphone: Icons and Folders 227 Chapter 7 Organize Your iphone: Icons and Folders Your new iphone is very customizable. In this chapter we will show you how to move icons around and put your favorite icons just where you want them.

More information

TOPIC 2 INTRODUCTION TO JAVA AND DR JAVA

TOPIC 2 INTRODUCTION TO JAVA AND DR JAVA 1 TOPIC 2 INTRODUCTION TO JAVA AND DR JAVA Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach by M. Guzdial and B. Ericson, and instructor materials prepared

More information

ITP 342 Mobile App Dev. Strings

ITP 342 Mobile App Dev. Strings ITP 342 Mobile App Dev Strings Strings You can include predefined String values within your code as string literals. A string literal is a sequence of characters surrounded by double quotation marks (").

More information

One of the fundamental kinds of websites that SharePoint 2010 allows

One of the fundamental kinds of websites that SharePoint 2010 allows Chapter 1 Getting to Know Your Team Site In This Chapter Requesting a new team site and opening it in the browser Participating in a team site Changing your team site s home page One of the fundamental

More information

Python Unit

Python Unit Python Unit 1 1.1 1.3 1.1: OPERATORS, EXPRESSIONS, AND VARIABLES 1.2: STRINGS, FUNCTIONS, CASE SENSITIVITY, ETC. 1.3: OUR FIRST TEXT- BASED GAME Python Section 1 Text Book for Python Module Invent Your

More information

Variables and Data Representation

Variables and Data Representation You will recall that a computer program is a set of instructions that tell a computer how to transform a given set of input into a specific output. Any program, procedural, event driven or object oriented

More information

Getting Started. Excerpted from Hello World! Computer Programming for Kids and Other Beginners

Getting Started. Excerpted from Hello World! Computer Programming for Kids and Other Beginners Getting Started Excerpted from Hello World! Computer Programming for Kids and Other Beginners EARLY ACCESS EDITION Warren D. Sande and Carter Sande MEAP Release: May 2008 Softbound print: November 2008

More information

BEGINNING ios PROGRAMMING

BEGINNING ios PROGRAMMING BEGINNING ios PROGRAMMING GEORGIA TECH RESEARCH NETWORK OPERATIONS CENTER (RNOC) *slides are based on the presentations by Professor Russell J Clark and Brian Davidson Swi$ Objec+ve- C OPTIONS RubyMo+on

More information

iphone Development Setup Instructions Nikhil Yadav Pervasive Health Fall 2011

iphone Development Setup Instructions Nikhil Yadav Pervasive Health Fall 2011 iphone Development Setup Instructions Nikhil Yadav Pervasive Health Fall 2011 Requirements Apple Mac Computer (Desktop or laptop) with recent snow leopard builds Apple Developer Registered Profile (create

More information

Trash in the Dock. May 21, 2017, Beginners SIG The Dock (Part 3 of 3)

Trash in the Dock. May 21, 2017, Beginners SIG The Dock (Part 3 of 3) Note: This discussion is based on MacOS, 10.12.4 (Sierra). Some illustrations may differ when using other versions of macos or OS X. Credit: http://tidbits.com/e/17088 ( macos Hidden Treasures: Dominate

More information

ECE 1778 Creative Applications for Mobile Devices January Programming Assignment P1, for Programmers

ECE 1778 Creative Applications for Mobile Devices January Programming Assignment P1, for Programmers ECE 1778 Creative Applications for Mobile Devices January 2016 Programming Assignment P1, for Programmers Introducing Yourself & Development Environment & Touch Buttons PART I A key part of this course

More information

CheckBook Pro 2 Help

CheckBook Pro 2 Help Get started with CheckBook Pro 9 Introduction 9 Create your Accounts document 10 Name your first Account 11 Your Starting Balance 12 Currency 13 We're not done yet! 14 AutoCompletion 15 Descriptions 16

More information

Lesson Share TEACHER'S NOTES LESSON SHARE. ing by Olya Sergeeva. Overview. Preparation. Procedure

Lesson Share TEACHER'S NOTES LESSON SHARE.  ing by Olya Sergeeva. Overview. Preparation. Procedure Lesson Share TEACHER'S NOTES Age: Adults Level: Intermediate + Time: 1 hour 40 minutes Objective: to practise writing work-related emails Key skills: writing Materials: one copy of the worksheet per student;

More information

(Refer Slide Time: 00:23)

(Refer Slide Time: 00:23) In this session, we will learn about one more fundamental data type in C. So, far we have seen ints and floats. Ints are supposed to represent integers and floats are supposed to represent real numbers.

More information

SPSS 11.5 for Windows Assignment 2

SPSS 11.5 for Windows Assignment 2 1 SPSS 11.5 for Windows Assignment 2 Material covered: Generating frequency distributions and descriptive statistics, converting raw scores to standard scores, creating variables using the Compute option,

More information

SPARK-PL: Introduction

SPARK-PL: Introduction Alexey Solovyev Abstract All basic elements of SPARK-PL are introduced. Table of Contents 1. Introduction to SPARK-PL... 1 2. Alphabet of SPARK-PL... 3 3. Types and variables... 3 4. SPARK-PL basic commands...

More information

ios Ad Hoc Provisioning Quick Guide

ios Ad Hoc Provisioning Quick Guide ios Ad Hoc Provisioning Quick Guide Applies to: Applications developed for all kinds of ios devices (iphone, ipad, ipod). For more information, visit the Mobile homepage. Summary This article is a quick

More information

CIS220 In Class/Lab 1: Due Sunday night at midnight. Submit all files through Canvas (25 pts)

CIS220 In Class/Lab 1: Due Sunday night at midnight. Submit all files through Canvas (25 pts) CIS220 In Class/Lab 1: Due Sunday night at midnight. Submit all files through Canvas (25 pts) Problem 0: Install Eclipse + CDT (or, as an alternative, Netbeans). Follow the instructions on my web site.

More information

About 1. Chapter 1: Getting started with iphone 2. Remarks 2. Versions 2. Examples 2. Installation or Setup 2. What is iphone. 3

About 1. Chapter 1: Getting started with iphone 2. Remarks 2. Versions 2. Examples 2. Installation or Setup 2. What is iphone. 3 iphone #iphone Table of Contents About 1 Chapter 1: Getting started with iphone 2 Remarks 2 Versions 2 Examples 2 Installation or Setup 2 What is iphone. 3 Programming iphone basics 4 Chapter 2: IOS Version

More information

A DarkBasic DataBase By:

A DarkBasic DataBase By: A DarkBasic DataBase By: Phaelax(Phaelax@hotmail.com) So you want to create a database program in DarkBasic. It s easier than you may think. Nothing more to say in this introduction, so let s get started.

More information

Lutheran High North Technology The Finder

Lutheran High North Technology  The Finder Lutheran High North Technology shanarussell@lutheranhighnorth.org www.lutheranhighnorth.org/technology The Finder Your Mac s filing system is called the finder. In this document, we will explore different

More information

Lesson 2 page 1. ipad # 17 Font Size for Notepad (and other apps) Task: Program your default text to be smaller or larger for Notepad

Lesson 2 page 1. ipad # 17 Font Size for Notepad (and other apps) Task: Program your default text to be smaller or larger for Notepad Lesson 2 page 1 1/20/14 Hi everyone and hope you feel positive about your first week in the course. Our WIKI is taking shape and I thank you for contributing. I have had a number of good conversations

More information

Introduction to Python and programming. Ruth Anderson UW CSE 160 Winter 2017

Introduction to Python and programming. Ruth Anderson UW CSE 160 Winter 2017 Introduction to Python and programming Ruth Anderson UW CSE 160 Winter 2017 1 1. Python is a calculator 2. A variable is a container 3. Different types cannot be compared 4. A program is a recipe 2 0.

More information