Creating a Custom Class in Xcode

Size: px
Start display at page:

Download "Creating a Custom Class in Xcode"

Transcription

1 Creating a Custom Class in Xcode By Mark Mudri March 28, 2014 Executive Summary: Making an ios application requires the use of Xcode, an integrated development environment (IDE) developed by Apple. Within the interface there are many premade classes and objects. When developing an application for a specific purpose, these premade tools may not perform exactly how the programmer wants. Therefore, it is useful to make a new class or object to suit the needs of the program. This is an overview of making custom Classes. Keywords: Xcode, Custom Class, Objective C Programming, Object.

2 Table of Contents Introduction.3 Background..3 Create a Class 4 Conclusion 7 References 8 2

3 Introduction Xcode is the main tool for programming ios applications. It is an integrated development environment (IDE) developed by Apple that has many user friendly attributes such as a storyboard interface, code composer, compiler, and simulator. The programming language used is objective-c. This is an object oriented language that allows for creative user interactions. Within Xcode and the objective-c language there are a number of predefined classes. While these are very useful, creating a unique application requires manipulation of these classes for the improvement of the functionality or appearance of the application. Background Before creating a custom class, some basic information is needed. An object is something that can be described by attributes. It can be an image, storage or a tool for performing calculations. The attributes can describe the look and how the object act when interfacing with a user or another object. A classification groups objects with the same type of attributes. For example, a person named Bill can be described by his name and age. Every person is different, but they can be described with the same descriptors. In this example, a person is the class and Bill is an object of that class. Name and Age are attributes that can be used to describe any person. The attributes can be the same or different for another instance of the class person. Classes in objective C can also have subclasses inside them. This means that they will be the main class called Super Class will contain basic data and subclasses. The subclasses will contain more specific data than the main class. Continuing on the example started the Super Class person could contain the subclass for male and female specific data. The subclass inherits attributes from the superclass in a hierarchy form. A few other terms that are important to know are an operation and a method. An operation is a procedure that an object performs or has performed to it. An operation of a specific class is a method. 3

4 Creating a Class To make a new class in Xcode it is advised to make a new file separate from the other code and call the class. This can be done by making a new file. To make a new file, click on File, and then New à File. A selection screen will come up, for an iphone app, select cocoa touch and objective C class. The next screen a name of the new class is entered and an existing class to inherit the attributes from is chosen from a drop down menu. For an object use NSObject. On the main page in Xcode a header and a source file are created and displayed for coding. A class needs two pieces: interface and implementation. The interface is set up in the header file and this tells how exactly the object will interact with other objects and the user. The implementation is written in the source file. This will contain the executable code for each method declared in the interface. The header file is imported by the code #import mmperson.h at the top of the source file. Now that there is a class, it needs the attributes to be declared. In the header file in between the mmperson: NSObject the attributes name and age are declared. In objective C, these are declared by stating them as properties of an objective C class. The class for each kind of data is used. Name is declared as an NSString property. Age will be 4

5 declared as an NSNumber. The code looks like (nonatomic, strong) NSString *name; Also in the header file an initializer method will be created. The code coming up makes use of the alloc and init methods. These methods are in contained in all classes. They are used for memory purposes. The alloc method is a class method that every class has. It returns a pointer to a new instance that needs to be initialized. An uninitialized instance may exist in memory, but it is not ready to receive messages. The init method is an instance method that every class has. It initializes an instance so that it is ready to work. Also in the header file, methods can be declared. Putting in this line of code after the property declarations initializes an instance of the class person: - (id)initwithname: (NSString *)name andage:(nsnumber*)age; More istances can be declared, but for simplicity and observation. The last line of code added in the header file is a method for our object that will describe the object as a string with the attributes. The actual actions will be added into the source file. In the source file, repeat the initialization line from the header file only delete semicolon and add some curly brackets. Inside we can put what happens when the object is called in this instance the file will return a variable called self that contains the name and age of the person. Below that we will add the actual function of the description call. This will return a string that says Person1, name is age. The code for this is [NSString is 5

6 self.age]; This will work for our first class. Now the class is finished, we can make a call of the class and see the result. For the display of the class, a viewcontroller is needed with a single Label that is big enough to hold the string that is returned from the mmperson class. In a simple one view app open drag a label from the list of available objects. The code for the viewcontroller files are shown below. Make sure to import the class using #import at the top of the source file. Notice the instance of mmperson entitled *person1. The code shown allows memory to store the name, Bill, and his age, 32. The line after this declared instance changes the text in the label to display the description of the object. 6

7 Conclusion The output is as expected. The class can now be used throughout the application. Review of the process, Open a new class with NSObject as the basis for the new class. Declare the properties of the new class in the header file, and any actions that the object will perform. Then in the source file code in the actual actions and what the returns will be. That s the simple version of how to create a Custom class. 7

8 1. Hillgass, Aaron and mikey Ward. Objective C Programming: The Big Nerd Ranch Guide 2 nd edition. 2. Keur, Christian, Aaron Hillgass and Joe Conway. ios Programming: The Big Nerd Ranch Guide 4 nd edition. 3. Apple Developer. Programming with Objective-C 8

ios App Development for Everyone

ios App Development for Everyone ios App Development for Everyone Kevin McNeish Table of Contents Chapter 2 Objective C (Part 6) Referencing Classes Now you re ready to use the Calculator class in the App. Up to this point, each time

More information

Praktikum Entwicklung von Mediensystemen mit

Praktikum Entwicklung von Mediensystemen mit Praktikum Entwicklung von Mediensystemen mit Wintersemester 2013/2014 Christian Weiß, Dr. Alexander De Luca Today Organization Introduction to ios programming Hello World Assignment 1 2 Organization 6

More information

ios App Development for Everyone

ios App Development for Everyone ios App Development for Everyone Kevin McNeish Table of Contents Chapter 2 Objective C (Part 1) When I first started writing ios Apps, coding in Objective-C was somewhat painful. Like stuck-in-acheckout-line-behind-the-old-woman-writing-a-personal-check

More information

INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011

INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011 INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011 1 Goals of the Lecture Present an introduction to Objective-C 2.0 Coverage of the language will be INCOMPLETE

More information

iphone Objective-C Exercises

iphone Objective-C Exercises iphone Objective-C Exercises About These Exercises The only prerequisite for these exercises is an eagerness to learn. While it helps to have a background in object-oriented programming, that is not a

More information

Objective C and iphone App

Objective C and iphone App Objective C and iphone App 6 Months Course Description: Understanding the Objective-C programming language is critical to becoming a successful iphone developer. This class is designed to teach you a solid

More information

Assignment I Walkthrough

Assignment I Walkthrough Assignment I Walkthrough Objective Reproduce the demonstration (building a calculator) given in class. Goals 1. Downloading and installing the ios4 SDK. 2. Creating a new project in Xcode. 3. Defining

More information

This training course can be taken as a part-time evening course or even on the weekends.

This training course can be taken as a part-time evening course or even on the weekends. iphone Training This iphone and ipad app development course is designed to get you started in iphone app development. This course includes Interface Builder, Xcode, Objective-C, Cocoa Touch programming,

More information

ios Development Tutorial Nikhil Yadav CSE 40816/60816: Pervasive Health 09/09/2011

ios Development Tutorial Nikhil Yadav CSE 40816/60816: Pervasive Health 09/09/2011 ios Development Tutorial Nikhil Yadav CSE 40816/60816: Pervasive Health 09/09/2011 Healthcare iphone apps Various apps for the iphone available Diagnostic, Diet and Nutrition, Fitness, Emotional Well-being

More information

ios Dev Crib Sheet In the Shadow of C

ios Dev Crib Sheet In the Shadow of C ios Dev Crib Sheet As you dive into the deep end of the ios development pool, the first thing to remember is that the mother ship holds the authoritative documentation for this endeavor http://developer.apple.com/ios

More information

An Introduction to Modern Software Development Tools Creating A Simple GUI-Based Tool Appleʼs XCode Version 3.2.6

An Introduction to Modern Software Development Tools Creating A Simple GUI-Based Tool Appleʼs XCode Version 3.2.6 1 2 3 4 An Introduction to Modern Software Development Tools Creating A Simple GUI-Based Tool Appleʼs XCode Version 3.2.6 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Charles J. Ammon / Penn State August, 2011

More information

Xcode Application note

Xcode Application note 1 Xcode Application note - how to export file from an ios application Feifei Li ECE480 Design Team 10 2 Table of Contents Introduction... 3 Get Started... 3 Familiar with Xcode... 6 Create user interface...

More information

INTRODUCTION TO IOS CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 13 02/22/2011

INTRODUCTION TO IOS CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 13 02/22/2011 INTRODUCTION TO IOS CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 13 02/22/2011 1 Goals of the Lecture Present an introduction to ios Program Coverage of the language will be INCOMPLETE We

More information

MA-WA1920: Enterprise iphone and ipad Programming

MA-WA1920: Enterprise iphone and ipad Programming MA-WA1920: Enterprise iphone and ipad Programming Description This 5 day iphone training course teaches application development for the ios platform. It covers iphone, ipad and ipod Touch devices. This

More information

ios Dev Fest Research Network Operations Center Thursday, February 7, 13

ios Dev Fest Research Network Operations Center Thursday, February 7, 13 ios Dev Fest Research Network Operations Center Outline http://goo.gl/02blw Getting Started With App Development Setup Developer Environment Setup Certificates and Provisioning Deploying App To Device

More information

Star Micronics Cloud Services ios SDK User's Manual

Star Micronics Cloud Services ios SDK User's Manual Star Micronics Cloud Services ios SDK User's Manual General Outline This document provides information about the Star Micronics Cloud Services ios SDK, showing guidelines for our customers to build the

More information

M, N, O F, G, H. network request, 101 ParseFacebookUtilities SDK, 100 profile, 100 user_about_me, 101 -(void)updateindicator, 101

M, N, O F, G, H. network request, 101 ParseFacebookUtilities SDK, 100 profile, 100 user_about_me, 101 -(void)updateindicator, 101 A, B Access control list (ACL), 187 Account category favorites category lists, 4 orders category, 4 Account settings notification, 5 sales and refund policy, 5 ACL. See Access control list (ACL) Add product

More information

ios Application Development &

ios Application Development & Introduction of ios Application Development & Swift Programming Language Presented by Chii Chang chang@ut.ee Outlines Basic understanding about ios App Development Development environment: Xcode IDE Foundations

More information

Developing Applications for ios

Developing Applications for ios Developing Applications for ios Today Introduction to Objective-C (con t) Continue showing Card Game Model with Deck, PlayingCard, PlayingCardDeck Xcode 5 Demonstration Start building the simple Card Game

More information

Advanced app development for ios. Lab 1 Introduction to Mac OS X and ios app development. Gdańsk 2015 Tomasz Idzi

Advanced app development for ios. Lab 1 Introduction to Mac OS X and ios app development. Gdańsk 2015 Tomasz Idzi Advanced app development for ios Lab 1 Introduction to Mac OS X and ios app development Gdańsk 2015 Tomasz Idzi Introduction This lab is designed to acquaint the student with the basic functionality of

More information

iphone Tutorial How to Parse HTML

iphone Tutorial How to Parse HTML iphone Tutorial How to Parse HTML In this tutorial we are going to parse a webpage and put the results into a list. The html page we are parsing is a very simple and you can view it at http://www.bhecker.com/testpage.html.

More information

Developing for the ios Platform

Developing for the ios Platform Developing for the ios Platform Engineer Bainomugisha ebainomu@vub.ac.be Software Languages Lab. Vrije Universiteit Brussel, Belgium Smartphones Shipments vs PCs You really can t afford to ignore the smartphone

More information

Chapter 1. Introduction to ios Development. Objectives: Touch on the history of ios and the devices that support this operating system.

Chapter 1. Introduction to ios Development. Objectives: Touch on the history of ios and the devices that support this operating system. Chapter 1 Introduction to ios Development Objectives: Touch on the history of ios and the devices that support this operating system. Understand the different types of Apple Developer accounts. Introduce

More information

Start Developing ios Apps Today

Start Developing ios Apps Today Start Developing ios Apps Today Contents Introduction 5 Setup 6 Get the Tools 7 Tutorial: Basics 8 Create a New Project 9 Get Familiar with Xcode 11 Run ios Simulator 12 Review the Source Code 14 Create

More information

Chapter 1. Xcode Projects

Chapter 1. Xcode Projects Chapter 1 Xcode Projects Every program you create in Xcode requires a project, even a simple command-line program with one file. Because every program requires a project, covering projects is a good way

More information

Object Oriented Programming and the Objective-C Programming Language 1.0. (Retired Document)

Object Oriented Programming and the Objective-C Programming Language 1.0. (Retired Document) Object Oriented Programming and the Objective-C Programming Language 1.0 (Retired Document) Contents Introduction to The Objective-C Programming Language 1.0 7 Who Should Read This Document 7 Organization

More information

Introduction to Objective-C. Kevin Cathey

Introduction to Objective-C. Kevin Cathey Introduction to Objective-C Kevin Cathey Introduction to Objective-C What are object-oriented systems? What is the Objective-C language? What are objects? How do you create classes in Objective-C? acm.uiuc.edu/macwarriors/devphone

More information

NSPersistentDocument Core Data Tutorial for Mac OS X v10.4. (Retired Document)

NSPersistentDocument Core Data Tutorial for Mac OS X v10.4. (Retired Document) NSPersistentDocument Core Data Tutorial for Mac OS X v10.4. (Retired Document) Contents Introduction to NSPersistentDocument Core Data Tutorial for Mac OS X v10.4 8 Who Should Read This Document 8 Organization

More information

Your First ios Application

Your First ios Application Your First ios Application General 2011-06-06 Apple Inc. 2011 Apple Inc. All rights reserved. Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential

More information

iphone SDK Enrolled students will be invited to developer program Login to Program Portal Request a Certificate Download and install the SDK

iphone SDK Enrolled students will be invited to developer program Login to Program Portal Request a Certificate Download and install the SDK Objective-C Basics iphone SDK Enrolled students will be invited to developer program Login to Program Portal Request a Certificate Download and install the SDK The First Program in Objective-C #import

More information

2. About iphone ios 5 Development Essentials. 5. Joining the Apple ios Developer Program

2. About iphone ios 5 Development Essentials. 5. Joining the Apple ios Developer Program Table of Contents 1. Preface 2. About iphone ios 5 Development Essentials Example Source Code Feedback 3. The Anatomy of an iphone 4S ios 5 Display Wireless Connectivity Wired Connectivity Memory Cameras

More information

This documentation is made available before final release and is subject to change without notice and comes with no warranty express or implied.

This documentation is made available before final release and is subject to change without notice and comes with no warranty express or implied. Hyperloop for ios Programming Guide This documentation is made available before final release and is subject to change without notice and comes with no warranty express or implied. Requirements You ll

More information

Xcode Project Management Guide. (Legacy)

Xcode Project Management Guide. (Legacy) Xcode Project Management Guide (Legacy) Contents Introduction 10 Organization of This Document 10 See Also 11 Part I: Project Organization 12 Overview of an Xcode Project 13 Components of an Xcode Project

More information

ios Development: Getting Started Min Tsai March 1, 2011 terntek.com v1.0

ios Development: Getting Started Min Tsai March 1, 2011 terntek.com v1.0 ios Development: Getting Started Min Tsai March 1, 2011 terntek.com v1.0 1 Agenda Introduction Account, Software and Hardware Learn ios development App Design Discussion 2 Introduction Cover What is needed

More information

Start Developing ios Apps Today

Start Developing ios Apps Today Start Developing ios Apps Today Contents Introduction 6 Setup 7 Get the Tools 8 Review a Few Objective-C Concepts 9 Objects Are Building Blocks for Apps 9 Classes Are Blueprints for Objects 9 Objects Communicate

More information

Mobile Application Development

Mobile Application Development Mobile Application Development MAS 490: Theory and Practice of Mobile Applications Professor John F. Clark What is Interface Builder? Interface Builder is a software development application for Apple s

More information

Send email from your App Part 1

Send email from your App Part 1 Send email from your App Part 1 This is a short and simple tutorial that will demonstrate how to develop an app that sends an email from within the app. Step 1: Create a Single View Application and name

More information

Knappsack ios Build and Deployment Guide

Knappsack ios Build and Deployment Guide Knappsack ios Build and Deployment Guide So you want to build and deploy an ios application to Knappsack? This guide will help walk you through all the necessary steps for a successful build and deployment.

More information

Tag Specification Document

Tag Specification Document Measuring the digital world. DIGITAL ANALYTIX ios Mobile Application Measurement Tag Specification Document March 2012 FOR FURTHER INFORMATION, PLEASE CONTACT: comscore, Inc. +1 866 276 6972 sdksupport@comscore.com

More information

INFORMATION TECHNOLOGY EDUCATION PROGRAMMING AND ANALYSIS COURSE SYLLABUS. Instructor: Debbie Reid. Course Credits: Office Location:

INFORMATION TECHNOLOGY EDUCATION PROGRAMMING AND ANALYSIS COURSE SYLLABUS. Instructor: Debbie Reid. Course Credits: Office Location: Course Title and Number: Mobile App Programming, COP2654 all sections Year and Term: Summer 2014 Office Phone: (352)395-4402 Meeting Time/Days: N/A online course Web Page Address: http://home.ite.sfcollege.edu/~debbie.reid

More information

Mobile Application Development

Mobile Application Development Mobile Application Development Lecture 14 ios SDK 2013/2014 Parma Università degli Studi di Parma Lecture Summary ios operating system ios SDK Tools of the trade ModelViewController MVC interaction patterns

More information

Kevin Hoffman. Sams Teach Yourself. Mac OS* X Lion" App Development. 800 East 96th Street, Indianapolis, Indiana, 46240 USA

Kevin Hoffman. Sams Teach Yourself. Mac OS* X Lion App Development. 800 East 96th Street, Indianapolis, Indiana, 46240 USA Kevin Hoffman Sams Teach Yourself Mac OS* X Lion" App Development 800 East 96th Street, Indianapolis, Indiana, 46240 USA Table of Contents Introduction 1 Part 9: Mac OS X Lion Programming Basics HOUR 1:

More information

COLLIN COLLEGE COURSE SYLLABUS

COLLIN COLLEGE COURSE SYLLABUS COLLIN COLLEGE COURSE SYLLABUS COURSE INFORMATION COURSE NUMBER: ITSE 1371 COURSE TITLE: IOS PROGRAMMING I COURSE DESCRIPTION: This course is intended to prepare the student for development of ios devices,

More information

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

KITES TECHNOLOGY COURSE MODULE (C, C++, DS) KITES TECHNOLOGY 360 Degree Solution www.kitestechnology.com/academy.php info@kitestechnology.com technologykites@gmail.com Contact: - 8961334776 9433759247 9830639522.NET JAVA WEB DESIGN PHP SQL, PL/SQL

More information

Accessibility on ios. Make an app for everyone. Chris Fleizach ios Accessibility. Wednesday, December 1, 2010

Accessibility on ios. Make an app for everyone. Chris Fleizach ios Accessibility. Wednesday, December 1, 2010 Accessibility on ios Make an app for everyone Chris Fleizach ios Accessibility About me B.S. Duke 02 Peace Corps (Tonga) M.S. UCSD 06 Four years at Apple (including internship) VoiceOver (Mac OS X) ios

More information

Objective-C and Cocoa User Guide and Reference Manual. Version 5.0

Objective-C and Cocoa User Guide and Reference Manual. Version 5.0 Objective-C and Cocoa User Guide and Reference Manual Version 5.0 Copyright and Trademarks LispWorks Objective-C and Cocoa Interface User Guide and Reference Manual Version 5.0 March 2006 Copyright 2006

More information

A product of Byte Works, Inc. http://www.byteworks.us. Credits Programming Mike Westerfield. Art Karen Bennett. Documentation Mike Westerfield

A product of Byte Works, Inc. http://www.byteworks.us. Credits Programming Mike Westerfield. Art Karen Bennett. Documentation Mike Westerfield A product of Byte Works, Inc. http://www.byteworks.us Credits Programming Mike Westerfield Art Karen Bennett Documentation Mike Westerfield Copyright 2013 By The Byte Works, Inc. All Rights Reserved Apple,

More information

by Aaron Hillegass and Mikey Ward

by Aaron Hillegass and Mikey Ward by Aaron Hillegass and Mikey Ward Copyright 2013 Big Nerd Ranch, LLC. All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained

More information

Your First App Store Submission

Your First App Store Submission Your First App Store Submission Contents About Your First App Store Submission 4 At a Glance 5 Enroll in the Program 5 Provision Devices 5 Create an App Record in itunes Connect 5 Submit the App 6 Solve

More information

Object Oriented System Development with VB.NET

Object Oriented System Development with VB.NET Chapter 1 Object Oriented System Development with Objectives In this chapter, you will: Learn about OO development and Understand object-oriented concepts Recognize the benefits of OO development Preview

More information

ios App Development for Everyone

ios App Development for Everyone ios App Development for Everyone Kevin McNeish Getting Started Plugging into the Mother Ship Welcome! This is the part of the book where you learn how to get yourself and your computer set for App development

More information

Contents. About Testing with Xcode 4. Quick Start 7. Testing Basics 23. Writing Test Classes and Methods 28. At a Glance 5 Prerequisites 6 See Also 6

Contents. About Testing with Xcode 4. Quick Start 7. Testing Basics 23. Writing Test Classes and Methods 28. At a Glance 5 Prerequisites 6 See Also 6 Testing with Xcode Contents About Testing with Xcode 4 At a Glance 5 Prerequisites 6 See Also 6 Quick Start 7 Introducing the Test Navigator 7 Add Testing to Your App 11 Create a Test Target 12 Run the

More information

Audiobook Builder Help

Audiobook Builder Help Getting Started 3 Introduction 3 The Basics 4 Creating Your First Project 6 Setting Up Your Project s Cover 8 Importing Your Project Files 10 Building Your Project 15 Tips 17 Creating a Project 19 Working

More information

Developing Applications for ios

Developing Applications for ios Developing Applications for ios Lecture 1: Mobile Applications Development Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Content Key concepts

More information

1 от 6 8.01.2012 22:45

1 от 6 8.01.2012 22:45 Welcome, Yuriy Donev Edit Profile Log out Provisioning Portal : Astea Solutions AD Go to ios Dev Center Manage History How To Assigning Apple Devices to your Team The Devices section of the ios Provisioning

More information

Java (12 Weeks) Introduction to Java Programming Language

Java (12 Weeks) Introduction to Java Programming Language Java (12 Weeks) Topic Lecture No. Introduction to Java Programming Language 1 An Introduction to Java o Java as a Programming Platform, The Java "White Paper" Buzzwords, Java and the Internet, A Short

More information

Introduction to iphone Development

Introduction to iphone Development Introduction to iphone Development Introduction to iphone Development Contents Task 1 2 3 4 Application Runtime Core Architecture and Life-cycles What s in a bundle? The resources in an app bundle Customizing

More information

ADITION ios Ad SDK Integration Guide for App Developers

ADITION ios Ad SDK Integration Guide for App Developers ADITION ios Ad SDK Integration Guide for App Developers SDK Version 15 as of 2013 07 26 Copyright 2012-2013 ADITION technologies AG. All rights reserved. Page 1/8 Table of Contents 1 Ad SDK Requirements...3

More information

Includes SDKs for Mac OS X 10.7 Lion and ios 5

Includes SDKs for Mac OS X 10.7 Lion and ios 5 apple Xcode 4.2 Includes SDKs for Mac OS X 10.7 Lion and ios 5 Contents Introduction About SDKs Installation Deprecation Notice Introduction Xcode is the complete developer toolset for creating applications

More information

Interface Builder & iphone UI Programming. Lecture 3

Interface Builder & iphone UI Programming. Lecture 3 Interface Builder & iphone UI Programming Lecture 3 Model, View, Controller The Model This is your data model; maintains state Has no idea about UI or how the data is presented Example: a Fraction class

More information

Assignment 2: Matchismo 2

Assignment 2: Matchismo 2 Assignment 2: Matchismo 2 Objective This assignment extends the card matching game Matchismo we started last week to get experience understanding MVC, modifying an MVC s View in Xcode, creating your own

More information

Instructions for using The George Institute s Data Collection App Version 1.1

Instructions for using The George Institute s Data Collection App Version 1.1 1 Instructions for using The George Institute s Data Collection App Version 1.1 Contacts Please contact Lizzy Dunford edunford@georgeinstitute.org.au or +61 413 589 602 if you have any questions. Photos

More information

View Controller Programming Guide for ios

View Controller Programming Guide for ios View Controller Programming Guide for ios Contents About View Controllers 10 At a Glance 11 A View Controller Manages a Set of Views 11 You Manage Your Content Using Content View Controllers 11 Container

More information

About Xcode and ios SDK

About Xcode and ios SDK apple About Xcode and ios SDK Xcode 3.2.6 for Mac OS X 10.6 and ios 4.3 Contents Introduction Compatibility What's New Installation Deprecation Notice Introduction Xcode is the complete developer toolset

More information

Softwareprojekt: Mobile Development Einführung Objective-C. Miao Wang, Tinosch Ganjineh Freie Universität Berlin, Institut für Informatik

Softwareprojekt: Mobile Development Einführung Objective-C. Miao Wang, Tinosch Ganjineh Freie Universität Berlin, Institut für Informatik Softwareprojekt: Mobile Development Einführung Objective-C Miao Wang, Tinosch Ganjineh Freie Universität Berlin, Institut für Informatik 21.04.2010 Agenda Organisatorisches Objective-C Basics (*) Cocoa

More information

C Programming Language CIS 218

C Programming Language CIS 218 C Programming Language CIS 218 Description C is a procedural languages designed to provide lowlevel access to computer system resources, provide language constructs that map efficiently to machine instructions,

More information

BHARATHIAR UNIVERSITY: COIMBATORE CENTRE FOR COLLABORATION OF INDUSTRY AND INSTITUTIONS(CCII) CERTIFICATE IN ADVANCED PROGRAMMING C++ LANGUAGE

BHARATHIAR UNIVERSITY: COIMBATORE CENTRE FOR COLLABORATION OF INDUSTRY AND INSTITUTIONS(CCII) CERTIFICATE IN ADVANCED PROGRAMMING C++ LANGUAGE Certificate in Advanced Programming - C++ Language Page 1 of 7 BHARATHIAR UNIVERSITY: COIMBATORE 641046 CENTRE FOR COLLABORATION OF INDUSTRY AND INSTITUTIONS(CCII) CERTIFICATE IN ADVANCED PROGRAMMING C++

More information

eggon SDK for ios 7 Integration Instructions

eggon SDK for ios 7 Integration Instructions eggon SDK for ios 7 Integration Instructions The eggon SDK requires a few simple steps in order to be used within your ios 7 application. Environment This guide assumes that a standard ios Development

More information

Introduction to Programming with Xojo

Introduction to Programming with Xojo Introduction to Programming with Xojo IOS ADDENDUM BY BRAD RHINE Fall 2015 Edition Copyright 2013-2015 by Xojo, Inc. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike

More information

CS202: Programming Systems

CS202: Programming Systems CS202: Programming Systems Karla Steinbrugge Fant www.cs.pdx.edu/~karlaf CS202 1-1 What to expect this term? Object Oriented Programming! The majority of the term will be spent introducing you to object-oriented

More information

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

Stanford CS193p. Developing Applications for ios. Fall Stanford CS193p. Fall 2011 Developing Applications for ios Today A couple of more things about last Thursday s demo Why no weak or strong on the @property (readonly) id program? [CalculatorBrain...] or [[self class]...] when calling

More information

ios App for Mobile Website! Documentation!

ios App for Mobile Website! Documentation! ios App for Mobile Website Documentation What is IOS App for Mobile Website? IOS App for Mobile Website allows you to run any website inside it and if that website is responsive or mobile compatible, you

More information

Praktikum Entwicklung von Mediensystemen mit ios

Praktikum Entwicklung von Mediensystemen mit ios Praktikum Entwicklung von Mediensystemen mit ios SS 2011 Michael Rohs michael.rohs@ifi.lmu.de MHCI Lab, LMU München Timeline Date Topic/Activity 5.5.2011 Introduction and Overview of the ios Platform 12.5.2011

More information

SOFTWARE ENGINEERING 2: OBJECT ORIENTED SOFTWARE ENGINEERING

SOFTWARE ENGINEERING 2: OBJECT ORIENTED SOFTWARE ENGINEERING SOFTWARE ENGINEERING 2: OBJECT ORIENTED SOFTWARE ENGINEERING 1. This is a general question about Object Oriented Software Engineering. a) Compare and contrast how software complexity is handled in Structured

More information

Advertiser Campaign SDK Your How-to Guide

Advertiser Campaign SDK Your How-to Guide Advertiser Campaign SDK Your How-to Guide Using Leadbolt Advertiser Campaign SDK with iphone Apps Version: Adv2.05 Copyright 2013 Leadbolt All rights reserved Disclaimer This document is provided as-is.

More information

Lecture Notes on Programming Languages

Lecture Notes on Programming Languages Lecture Notes on Programming Languages 1 Lecture 09: Support for Object-Oriented Programming This lecture discusses how programming languages support object-oriented programming. Topics to be covered include:

More information

Programming Cocoa with Ruby Create Compelling Mac Apps Using RubyCocoa

Programming Cocoa with Ruby Create Compelling Mac Apps Using RubyCocoa Programming Cocoa with Ruby Create Compelling Mac Apps Using RubyCocoa Brian Mariek The Pragmatic Bookshelf Raleigh. North Carolina Dallas. Texas 1 Introduction 1 1.1 What Is Cocoa? 2 1.2 What Is RubyCocoa?

More information

El Dorado Union High School District Educational Services

El Dorado Union High School District Educational Services El Dorado Union High School District Course of Study Information Page Course Title: ACE Computer Programming II (#495) Rationale: A continuum of courses, including advanced classes in technology is needed.

More information

Arduino Training - Basics of Micro-controllers Programming Basics

Arduino Training - Basics of Micro-controllers Programming Basics When During AUB Summer Camp Arduino Training - Basics of Micro-controllers Programming Basics Instructor: TC - NB - JB. E-Mail: chehade.t@thelittleengineer.com Phone: 71 530 401 Office: Ashrafieh - Sodeco

More information

Assignment 1: Matchismo

Assignment 1: Matchismo Assignment 1: Matchismo Objective This assignment starts off by asking you to recreate the demonstration given in the second lecture. Not to worry, the posted slides for that lecture contain a detailed

More information

Development of Computer Graphics and Digital Image Processing on the iphone Luciano Fagundes (luciano@babs2go.com.

Development of Computer Graphics and Digital Image Processing on the iphone Luciano Fagundes (luciano@babs2go.com. Development of Computer Graphics and Digital Image Processing on the iphone Luciano Fagundes (luciano@babs2go.com.br) Rafael Santos (rafael.santos@lac.inpe.br) Motivation ios Devices Dev Basics From Concept

More information

Appendix K Introduction to Microsoft Visual C++ 6.0

Appendix K Introduction to Microsoft Visual C++ 6.0 Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):

More information

From C++ to Objective-C

From C++ to Objective-C From C++ to Objective-C version 2.1 en Pierre Chatelier e-mail: pierre.chatelier@club-internet.fr Copyright c 2005, 2006, 2007, 2008, 2009 Pierre Chatelier English adaptation : Aaron Vegh Document revisions

More information

Programming Fundamental. Instructor Name: Lecture-2

Programming Fundamental. Instructor Name: Lecture-2 Programming Fundamental Instructor Name: Lecture-2 Today s Lecture What is Programming? First C++ Program Programming Errors Variables in C++ Primitive Data Types in C++ Operators in C++ Operators Precedence

More information

Learning ios Programming

Learning ios Programming SECOND EDITION Learning ios Programming Alasdair Allan Beijing Cambridge Farnham Koln Sebastopol O'REILLY Tokyo Table of Contents Preface ix 1. Why Go Native? 1 The Pros and Cons 1 Why Write Native Applications?

More information

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013 Mobility Introduction Android Duration 16 Working days Start Date 1 st Oct 2013 Day 1 1. Introduction to Mobility 1.1. Mobility Paradigm 1.2. Desktop to Mobile 1.3. Evolution of the Mobile 1.4. Smart phone

More information

Learn iphone and ipad game apps development using ios 6 SDK. Beginning. ios 6 Games. Development. Lucas Jordan. ClayWare Games tm

Learn iphone and ipad game apps development using ios 6 SDK. Beginning. ios 6 Games. Development. Lucas Jordan. ClayWare Games tm Learn iphone and ipad game apps development using ios 6 SDK Beginning ios 6 Games Development Lucas Jordan ClayWare Games tm This book was purchased by dstannard@oregonmba.com For your convenience Apress

More information

Application Software

Application Software Application Software Application Software Application software consists of programs designed to make users more productive and/or assist them with personal tasks. Users can create documents, develop presentations,

More information

Class-based NewtonScript Programming

Class-based NewtonScript Programming Originally published in PIE Developers magazine, January 1994. For information about PIE Developers, contact Creative Digital Systems at!"#$#%&'())*+*,-.$())*+$/012or 415-621- 4252. Class-based NewtonScript

More information

Tutorial 1: Monitoring automobile data

Tutorial 1: Monitoring automobile data Tutorial 1: Monitoring automobile data This tutorial explains how to create a basic monitoring application for working with data from automobiles. You will learn about the various output widgets in IQP

More information

Email setup information for most domains hosted with InfoRailway.

Email setup information for most domains hosted with InfoRailway. Email setup information for most domains hosted with InfoRailway. Incoming server (POP3): pop.secureserver.net port 995 (SSL) Incoming server (IMAP): imap.secureserver.net port 993 (SSL) Outgoing server

More information

Unique Capability 2 Unique App. winchesterinnovation.co.uk

Unique Capability 2 Unique App. winchesterinnovation.co.uk Unique Capability 2 Unique App 1 The Idea Marketing Elaborating the UseEx Elaborating the System Monetization Tooling & Method Publishing 2 The Idea Doodson Tide Machine "From the 1920's upto the 1950's

More information

Introduction To ios. CSCI 4448/5448: Object-Oriented Analysis & Design Lecture 16 10/18/2012

Introduction To ios. CSCI 4448/5448: Object-Oriented Analysis & Design Lecture 16 10/18/2012 Introduction To ios CSCI 4448/5448: Object-Oriented Analysis & Design Lecture 16 10/18/2012 1 Goals of the Lecture Present an introduction to the ios Framework Coverage of the framework will be INCOMPLETE

More information

CSCI 253. Object Oriented Programming (OOP) Overview. George Blankenship 1. Object Oriented Design: Java Review OOP George Blankenship.

CSCI 253. Object Oriented Programming (OOP) Overview. George Blankenship 1. Object Oriented Design: Java Review OOP George Blankenship. CSCI 253 Object Oriented Design: Java Review OOP George Blankenship George Blankenship 1 Object Oriented Programming (OOP) OO Principles Abstraction Encapsulation Abstract Data Type (ADT) Implementation

More information

Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game

Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game Directions: In mobile Applications the Control Model View model works to divide the work within an application.

More information

COURSE CONTENTS. 3 -months 8:30 am - 3:30 pm Mon - Fri. [Admissions strictly through written test based on Basic C and Aptitude]

COURSE CONTENTS. 3 -months 8:30 am - 3:30 pm Mon - Fri. [Admissions strictly through written test based on Basic C and Aptitude] COURSE CONTENTS 3 -months 8:30 am - 3:30 pm Mon - Fri [Admissions strictly through written test based on Basic C and Aptitude] Subhash Programming Classes Revision: January, 2016 All rights reserved Call:

More information

These instructions take you through the process of using the built in leave function.

These instructions take you through the process of using the built in leave function. Page 1 of 9 These instructions take you through the process of using the built in leave function. OmniRota includes a very useful leave function which includes the option to track sessions taken against

More information

Mobile Applications. User Manual

Mobile Applications. User Manual Mobile Applications User Manual 28.06.2012 Mobile Applications / Contents Contents 2 Contents 3 Introduction 3 Overview 4 Runtime Versions 4 Specifications 4 Programming 5 Runtime Installation 5 Apple

More information

2. Create the User Interface: Open ViewController.xib or MainStoryBoard.storyboard by double clicking it.

2. Create the User Interface: Open ViewController.xib or MainStoryBoard.storyboard by double clicking it. A Tic-Tac-Toe Example Application 1. Create a new Xcode Single View Application project. Call it something like TicTacToe or another title of your choice. Use the Storyboard support and enable Automatic

More information