Advanced app development for ios. Lab 6 Core Data. Gdańsk 2015 Tomasz Idzi

Size: px
Start display at page:

Download "Advanced app development for ios. Lab 6 Core Data. Gdańsk 2015 Tomasz Idzi"

Transcription

1 Advanced app development for ios Lab 6 Core Data. Gdańsk 2015 Tomasz Idzi

2 Introduction In this lab you will create application which have new control UIPickerView. What s more you'll be familiar with one of the most powerful framework in ios/mac OS X development - Core Data. For this lab, you can get 5 points: 1. Create User Interface 2. Create Data Model 3. Read and Write data 4. Delete data 5. Custom UITableViewCell Create User Interface (1 point) 1. Run Xcode and select Create a new Xcode project 2. From ios section choose Application and Master-Detail Application as a type of template. 3. Choose following options for your project: Product Name: ToDoList. Organization Name: You can leave this blank. Organization Identifier: com.yourname Language: Objective-C Devices: iphone Use Core Data: YES

3 4. Choose place on disk to save a project. 5. From Navigation area which is on the left side of Xcode select file Main.storyboard. 6. In Interface Builder select file View Controller and move to Utilities area, which is on the right side of the Xcode. If you can t see it, probably it s hidden. To open any of hidden part of Xcode window use this buttons: 7. Choose File Inspector section and unselect Use Auto Layout. 8. Choose Attributes Inspector, select iphone-4inch in Size option. 9. Check class AppDelegate, which you can find in project s files on the left side of the Xcode window. There are a few new things, such as properties and methods connected with Core Data. Let's recall what is it: NSManagedObjectContext - The context is a powerful object with a central role in the lifecycle of managed objects, with responsibilities from life-cycle management (including faulting) to validation, inverse relationship handling, and undo/redo. Through a context you can retrieve or fetch objects from a persistent store, make changes to those objects, and then either discard the changes or again through the context commit them back to the persistent store. The context is responsible for watching for changes in its objects and maintains an undo manager so you can have finer-grained control over undo and redo. You can insert new objects and delete ones you have fetched, and commit these modifications to the persistent store. [Apple Inc., (2015) Core Data Framework Reference] NSManagedObjectModel - object describes a schema a collection of entities (data models) that you use in your application. [Apple Inc., (2015) Core Data Framework Reference] NSPersistentStoreCoordinator - associate persistent stores (by type) with a model (or more accurately, a configuration of a model) and serve to mediate between the persistent store or s t o r e s a n d t h e m a n a g e d o b j e c t c o n t e x t o r c o n t e x t s. I n s t a n c e s o f NSManagedObjectContext use a coordinator to save object graphs to persistent storage and to retrieve model information. A context without a coordinator is not fully functional as it cannot access a model except through a coordinator. The coordinator is designed to present a façade to the managed object contexts such that a group of persistent stores appears as an aggregate store. A managed object context can then create an object graph based on the union of all the data stores the coordinator covers. [Apple Inc., (2015) Core Data Framework Reference] 10. Open Main.storyboard and remove all objects. 11. Add NavigationController and new ViewController. Then select NavigationController, open Attribiutes Inspector on the right side of Xcode window and select Is Initial View Controller. Your UI shoudl looks like:

4 12. Select ViewController in Storyboard and set ViewController class 13. To new ViewController add UITableView and to navigation bar add Bar Button Item. Now your ViewController should looks like:

5 14. of UITableView in ViewController. To do it, select TableView in Storyboard and using hold ctrl drag and drop connection in class. 15. as tableview. 16. Add new ViewController to Storyboard. Select Bar Button Item and from this object make a connection to new ViewController and select Push option:

6 16. Run ios Simulator and check if your new ViewController is open after tap on Bar Button Item. 17. Create new class which Inharitance from UIViewController and name it as CreateViewController. 18. Select new ViewController in Storyboard and set CreateViewController as a class of this object. 19. Stay on CreateViewController in Storyboard and add a few objects there - UITextField, UIPickerView and UIButton. Make a connection of those objects. For UIButton create IBAction s method:

7 Create Data Model (1 point) 1. Select ToDoList.xcdatamodeld file which can you find on the left side of Xcode window. 2. Tap Add Entity button. 3. Double-click on new Entity and rename it to Task.

8 4. Select Task entity and add two attributes: name - String type priority - Integer Generating class files of Core Data s entity: Change Editor Style to Table, Graph (you can find it on the right-bottom of xcdatamodeld file): Select Task entity: Select File>New>File Select Core Data in ios section and NSManagedObject subclass

9 Select ToDoList as model data and Task as entity. After tap on create button you should see Task.h and Task.m files. Read and write data (1 point) 1. Open CreateViewController and add UIPicerViewDelegate, UIPickerViewDataSource nad CreateViewController () <UIPickerViewDelegate, UIPickerViewDataSource> NSArray 2. In viewdidload method set delegates and create NSSArray of picker s objects. - (void)viewdidload [super viewdidload]; self.pickerview.delegate = self; self.pickerview.datasource = self; _pickerdata 3. Implement UIPickerViewDelegate and UIPickerViewDataSource methods: - (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerview return 1; - (NSInteger)pickerView:(UIPickerView *)pickerview numberofrowsincomponent:(nsinteger)component return _pickerdata.count; - (NSString*)pickerView:(UIPickerView *)pickerview titleforrow: (NSInteger)row forcomponent:(nsinteger)component return [NSString stringwithformat:@"%ld",(long) [_pickerdata[row]integervalue]];

10 4. Create private method in CreateViewController.m to implement save data to Core Data (don t forget to import AppDelegate and Task class). - (BOOL)createNewTaskWithName:(NSString*)name andpriority: (NSNumber*)priority AppDelegate *appdelegate = (AppDelegate*)[[UIApplication sharedapplication] delegate]; NSManagedObjectContext *managedobjectcontext = appdelegate.managedobjectcontext; BOOL result = NO; Task *newtask = [NSEntityDescription insertnewobjectforentityforname:@"task" inmanagedobjectcontext:managedobjectcontext]; if (!newtask) return NO; newtask.name = name; newtask.priority = priority; NSError *error; if ([managedobjectcontext save:&error]) result = YES; return result; 5. Implement IBAction method - (IBAction)create:(id)sender NSNumber *priority = [_pickerdata objectatindex:[self.pickerview selectedrowincomponent:0]]; if ([self createnewtaskwithname:self.textfield.text andpriority:priority]) [self.navigationcontroller popviewcontrolleranimated:yes]; 6. Open ViewController.m class and add delegates and to private interface.

11 @interface ViewController () <UITableViewDelegate, UITableViewDataSource, (strong, nonatomic) NSFetchedResultsController 7. Add methods to get data from Core Data - (NSManagedObjectContext *)managedobjectcontext AppDelegate *appdelegate = (AppDelegate *)[[UIApplication sharedapplication]delegate]; NSManagedObjectContext *managedobjectcontext = appdelegate.managedobjectcontext; return managedobjectcontext; - (void)getfetchresultcontroller NSFetchRequest *fetchrequest = [NSFetchRequest new]; NSEntityDescription *entity = [NSEntityDescription entityforname:@"task" inmanagedobjectcontext:[self managedobjectcontext]]; NSSortDescriptor *prioritysort = [[NSSortDescriptor alloc] initwithkey:@"priority" ascending:yes]; NSArray *sortdescription fetchrequest.sortdescriptors = sortdescription; [fetchrequest setentity:entity]; if (!self.taskfetchresultcontroller) self.taskfetchresultcontroller = [[NSFetchedResultsController alloc] initwithfetchrequest:fetchrequest managedobjectcontext:[self managedobjectcontext] sectionnamekeypath:nil cachename:nil]; self.taskfetchresultcontroller.delegate = self; NSError *error; if ([self.taskfetchresultcontroller performfetch:&error]) NSLog(@"Data fatched"); else NSLog(@"Can't fatched data");

12 7. Override viewdidload methods where you set UITableView s delegates and method to reload UITableView when some changes in Core Dara are made: - (void)viewdidload [super viewdidload]; self.tableview.delegate = self; self.tableview.datasource = self; [self getfetchresultcontroller]; - (void)controllerdidchangecontent:(nsfetchedresultscontroller *)controller [self.tableview reloaddata]; 8. Implement UITableView delegate s methods - (NSInteger)tableView:(UITableView *)tableview numberofrowsinsection: (NSInteger)section id <NSFetchedResultsSectionInfo> sectioninfo = [self.taskfetchresultcontroller.sections objectatindexedsubscript:section]; return [sectioninfo numberofobjects]; - (UITableViewCell *)tableview:(uitableview *)tableview cellforrowatindexpath:(nsindexpath *)indexpath static NSString *CellIdentifier UITableViewCell *cell = [tableview dequeuereusablecellwithidentifier:cellidentifier]; if (cell == nil) cell = [[UITableViewCell alloc] initwithstyle:uitableviewcellstyledefault reuseidentifier:cellidentifier]; // Set the data for this cell: Task *task = [self.taskfetchresultcontroller objectatindexpath:indexpath]; cell.textlabel.text = task.name; return cell; 9. Run ios Simulator and add some values to Core Data.

13 Delete data (1 point) 1. Select ViewController and add methods to delete objets in Core Data. - (void)tableview:(uitableview *)tableview commiteditingstyle: (UITableViewCellEditingStyle)editingStyle forrowatindexpath: (NSIndexPath *)indexpath Task *tasktodelete = [self.taskfetchresultcontroller objectatindexpath:indexpath]; self.taskfetchresultcontroller.delegate = nil; [[self managedobjectcontext] deleteobject:tasktodelete]; if ([tasktodelete isdeleted]) NSError *error; if ([[self managedobjectcontext] save:&error]) NSError *fetchingerror; if ([self.taskfetchresultcontroller performfetch:&fetchingerror]) NSArray *rowstodelete [self.tableview deleterowsatindexpaths:rowstodelete withrowanimation:uitableviewrowanimationautomatic]; self.taskfetchresultcontroller.delegate = self; - (UITableViewCellEditingStyle)tableView:(UITableView *)tableview editingstyleforrowatindexpath:(nsindexpath *)indexpath return UITableViewCellEditingStyleDelete; 2. Now when you swipe to left on UITableViewCell you will see delete button and when you tap on it object from Core Data will be delete.

14 Custom UITableViewCell (1 point) 1. Change color of teh UITableViewCell depent on priority of the task.

EXPENSE TRACKER MOBILE APPLICATION. A Thesis. Presented to the. Faculty of. San Diego State University. In Partial Fulfillment

EXPENSE TRACKER MOBILE APPLICATION. A Thesis. Presented to the. Faculty of. San Diego State University. In Partial Fulfillment EXPENSE TRACKER MOBILE APPLICATION A Thesis Presented to the Faculty of San Diego State University In Partial Fulfillment of the Requirements for the Degree Master of Science in Computer Science by Angad

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

Praktikum Entwicklung von Mediensystemen mit ios

Praktikum Entwicklung von Mediensystemen mit ios Praktikum Entwicklung von Mediensystemen mit ios WS 2011 Prof. Dr. Michael Rohs michael.rohs@ifi.lmu.de MHCI Lab, LMU München Today Alerts, Action Sheets, text input Application architecture Table views

More information

COMP327 Mobile Computing Session: 2014-2015. Lecture Set 4 - Data Persistence, Core Data and Concurrency

COMP327 Mobile Computing Session: 2014-2015. Lecture Set 4 - Data Persistence, Core Data and Concurrency COMP327 Mobile Computing Session: 2014-2015 Lecture Set 4 - Data Persistence, Core Data and Concurrency In these Slides... We will cover... An introduction to Local Data Storage The iphone directory system

More information

BASIC IPHONE PROGRAMMING Case: Dictionary Application

BASIC IPHONE PROGRAMMING Case: Dictionary Application BASIC IPHONE PROGRAMMING Case: Dictionary Application Mikko Kaijalainen Information Technology Bachelor s Thesis May 2010 SAVONIA-AMMATTIKORKEAKOULU Koulutusohjelma Informaatioteknologia (eng.) Tekijä

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

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

Develop a ios Mobile App Consuming an OData Service Running in SAP HANA Cloud Platform

Develop a ios Mobile App Consuming an OData Service Running in SAP HANA Cloud Platform Develop a ios Mobile App Consuming an OData Service Running in SAP HANA Cloud Platform TABLE OF CONTENTS INTRODUCTION... 3 1. DEVELOPING THE UI WITH STORYBOARD... 4 2. WRITING THE CLASSES THAT REPRESENTS

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

Data storage and retrieval in ios

Data storage and retrieval in ios Data storage and retrieval in ios Sebastian Ernst, PhD! Department of Applied Computer Science AGH University of Science and Technology File structure of an ios app ios apps can store they data in files.

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

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 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

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

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

Creating a Custom Class in Xcode

Creating a Custom Class in Xcode 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

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

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

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer About the Tutorial ios is a mobile operating system developed and distributed by Apple Inc. It was originally released in 2007 for the iphone, ipod Touch, and Apple TV. ios is derived from OS X, with which

More information

iphone ios 6 Development Essentials

iphone ios 6 Development Essentials i iphone ios 6 Development Essentials ii iphone ios 6 Development Essentials First Edition ISBN-13: 978-1479211418 2012 Neil Smyth. All Rights Reserved. This book is provided for personal use only. Unauthorized

More information

Tutorial: ios OData Application Development with REST Services. Sybase Unwired Platform 2.2 SP04

Tutorial: ios OData Application Development with REST Services. Sybase Unwired Platform 2.2 SP04 Tutorial: ios OData Application Development with REST Services Sybase Unwired Platform 2.2 SP04 DOCUMENT ID: DC01976-01-0224-01 LAST REVISED: June 2013 Copyright 2013 by Sybase, Inc. All rights reserved.

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

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

โปรแกรมบ นท ก ช อ และ อ เมล โดยจ ดเก บข อม ลลงไปท SQLite

โปรแกรมบ นท ก ช อ และ อ เมล โดยจ ดเก บข อม ลลงไปท SQLite โปรแกรมบ นท ก ช อ และ อ เมล โดยจ ดเก บข อม ลลงไปท SQLite Application => Single View Application => Next Product Name = ContactLite, Devices = iphone, Use Storyboards, Use Automatic Reference Counting เล

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

Beginner level: Modules 1 to 18. Advanced level: Quick review of modules 1 to 18, then following to module 26. 1- A Simple ios Application

Beginner level: Modules 1 to 18. Advanced level: Quick review of modules 1 to 18, then following to module 26. 1- A Simple ios Application FROM 1st TO 4th OF FEBRUARY 2012 contents of the app s creation training track Beginner level: Modules 1 to 18. Advanced level: Quick review of modules 1 to 18, then following to module 26. 1- A Simple

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

Implement continuous integration and delivery in your ios projects. Pro. ios Continuous Integration. Romain Pouclet. www.allitebooks.

Implement continuous integration and delivery in your ios projects. Pro. ios Continuous Integration. Romain Pouclet. www.allitebooks. Implement continuous integration and delivery in your ios projects Pro ios Continuous Integration Romain Pouclet www.allitebooks.com For your convenience Apress has placed some of the front matter material

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 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

Harman Developer Documentation

Harman Developer Documentation Harman Developer Documentation Release 1.0 Harman International February 27, 2016 Contents 1 HDWireless ios SDK Documentations 3 2 HKWirelessHD Android SDK Documentations 5 3 Pulse2 SDK Documentation

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

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

Developing an M-Learning Application for ios

Developing an M-Learning Application for ios Informatica Economică vol. 17, no. 4/2013 77 Developing an M-Learning Application for ios Paul POCATILU Department of Economic Informatics and Cybernetics Bucharest University of Economic Studies, Romania

More information

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions MicroStrategy Mobile SDK 1 Agenda MicroStrategy Mobile SDK Overview Requirements & Setup Custom App Delegate Custom

More information

ios App Performance Things to Take Care

ios App Performance Things to Take Care ios App Performance Things to Take Care Gurpreet Singh Sachdeva Engineering Manager @ Yahoo Who should attend this session? If you are developing or planning to develop ios apps and looking for tips to

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

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

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

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

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

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

A MOBILE APPLICATION TO AID CONSUMERS IN ACCESSING COST EFFECTIVENESS IN THEIR AUTOMOBILE. A Thesis. Presented to the. Faculty of

A MOBILE APPLICATION TO AID CONSUMERS IN ACCESSING COST EFFECTIVENESS IN THEIR AUTOMOBILE. A Thesis. Presented to the. Faculty of A MOBILE APPLICATION TO AID CONSUMERS IN ACCESSING COST EFFECTIVENESS IN THEIR AUTOMOBILE A Thesis Presented to the Faculty of San Diego State University In Partial Fulfillment of the Requirements for

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 Today Schedule Organization Introduction to ios Exercise 1 2 Schedule Phase 1 Individual

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

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

IOS App Development Training

IOS App Development Training IOS App Development Training IPhone app development is currently the hottest technology. Rightly said it is not everybody's cup of tea but professional trainers make the learning experience really interesting.

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

TakeMySelfie ios App Documentation

TakeMySelfie ios App Documentation TakeMySelfie ios App Documentation What is TakeMySelfie ios App? TakeMySelfie App allows a user to take his own picture from front camera. User can apply various photo effects to the front camera. Programmers

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

Mobile App Design and Development

Mobile App Design and Development Mobile App Design and Development The course includes following topics: Apps Development 101 Introduction to mobile devices and administrative: Mobile devices vs. desktop devices ARM and intel architectures

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

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

Client Requirement. Master Data Management App. Case Study -

Client Requirement. Master Data Management App. Case Study - Idhasoft is a global world-class organization providing best-of-breed localized business and technology solutions, with continuous innovation and quality backed by best-in-class people Case Study - Master

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

Salesforce Classic Guide for iphone

Salesforce Classic Guide for iphone Salesforce Classic Guide for iphone Version 37.0, Summer 16 @salesforcedocs Last updated: July 12, 2016 Copyright 2000 2016 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark

More information

Making Money Simple. Team Saon Arthur Pang - Joshua Conner - Nicholas Pallares April 27, 2012

Making Money Simple. Team Saon Arthur Pang - Joshua Conner - Nicholas Pallares April 27, 2012 Making Money Simple Team Saon Arthur Pang - Joshua Conner - Nicholas Pallares April 27, 2012 1 Our Client Joshua Cross CEO, Hermes Commerce Ph.D., Applied Physics, Cornell Received grant from NSF to develop

More information

Copyright EPiServer AB

Copyright EPiServer AB Table of Contents 3 Table of Contents ABOUT THIS DOCUMENTATION 4 HOW TO ACCESS EPISERVER HELP SYSTEM 4 EXPECTED KNOWLEDGE 4 ONLINE COMMUNITY ON EPISERVER WORLD 4 COPYRIGHT NOTICE 4 EPISERVER ONLINECENTER

More information

MEAP Edition Manning Early Access Program Hello! ios Development version 14

MEAP Edition Manning Early Access Program Hello! ios Development version 14 MEAP Edition Manning Early Access Program Hello! ios Development version 14 Copyright 2013 Manning Publications For more information on this and other Manning titles go to www.manning.com brief contents

More information

Datatrans ios Payment Library

Datatrans ios Payment Library Datatrans ios Payment Library Attention! Important changes in ios 9. Please read section 3.9.1. Datatrans AG Swiss E-Payment Competence Kreuzbühlstrasse 26, 8008 Zürich, Switzerland Tel. +41 44 256 81

More information

Quality Companion 3 by Minitab

Quality Companion 3 by Minitab Quality Companion 3 by Minitab Contents Part 1. Introduction to Quality Companion 3 Part 2. What's New Part 3. Known Problems and Workarounds Important: The Quality Companion Dashboard is no longer available.

More information

A LITTLE PROMISE FROM YOU

A LITTLE PROMISE FROM YOU A LITTLE PROMISE FROM YOU It took me many years of experience to gather the knowledge that helped me make this guide and hours to actually produce it. But I am happy to offer it for you completely free

More information

Website Builder Documentation

Website Builder Documentation Website Builder Documentation Main Dashboard page In the main dashboard page you can see and manager all of your projects. Filter Bar In the filter bar at the top you can filter and search your projects

More information

How To Develop An App For Ios (Windows)

How To Develop An App For Ios (Windows) 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

BIS 1001 - Programming for iphone, ipod Touch, and ipad Devices Fall 2013

BIS 1001 - Programming for iphone, ipod Touch, and ipad Devices Fall 2013 page 1.1 BIS 1001 - Programming for iphone, ipod Touch, and ipad Devices Fall 2013 Class Time: 4:00-5:15pm Monday Location: McCool 100 Instructor: email: Office: Phone: Web site: Dr. Rodney Pearson (QR

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

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

ITP 342 Mobile App Dev. Alerts

ITP 342 Mobile App Dev. Alerts ITP 342 Mobile App Dev Alerts Alerts UIAlertController replaces both UIAlertView and UIActionSheet, thereby unifying the concept of alerts across the system, whether presented modally or in a popover.

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 6) Referencing Classes Now you re ready to use the Calculator class in the App. Up to this point, each time

More information

Copyright 2010 The Pragmatic Programmers, LLC.

Copyright 2010 The Pragmatic Programmers, LLC. Extracted from: ipad Programming A Quick-Start Guide for iphone Developers This PDF file contains pages extracted from ipad Programming, published by the Pragmatic Bookshelf. For more information or to

More information

Unit and Functional Testing for the ios Platform. Christopher M. Judd

Unit and Functional Testing for the ios Platform. Christopher M. Judd Unit and Functional Testing for the ios Platform Christopher M. Judd Christopher M. Judd President/Consultant of leader Columbus Developer User Group (CIDUG) Remarkable Ohio Free Developed for etech Ohio

More information

ios SDK Release Notes for ios 5.0 beta 3

ios SDK Release Notes for ios 5.0 beta 3 ios SDK Release Notes for ios 5.0 beta 3 Important: This is a preliminary document for an API or technology in development. Although this document has been reviewed for technical accuracy, it is not final.

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

GOOGLE DOCS APPLICATION WORK WITH GOOGLE DOCUMENTS

GOOGLE DOCS APPLICATION WORK WITH GOOGLE DOCUMENTS GOOGLE DOCS APPLICATION WORK WITH GOOGLE DOCUMENTS Last Edited: 2012-07-09 1 Navigate the document interface... 4 Create and Name a new document... 5 Create a new Google document... 5 Name Google documents...

More information

Gathering customer information from a mobile application James Adams, SAS Institute Inc.

Gathering customer information from a mobile application James Adams, SAS Institute Inc. Paper SAS2840-2016 Gathering customer information from a mobile application James Adams, SAS Institute Inc. ABSTRACT SAS Customer Intelligence 360 is the new cloud-based customer data gathering application

More information

Microsoft Access 2010 handout

Microsoft Access 2010 handout Microsoft Access 2010 handout Access 2010 is a relational database program you can use to create and manage large quantities of data. You can use Access to manage anything from a home inventory to a giant

More information

Continuous Integration with Xcode 6

Continuous Integration with Xcode 6 Tools #WWDC14 Continuous Integration with Xcode 6 Session 415 Brent Shank Software Engineer, Xcode 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

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

Business Insight Report Authoring Getting Started Guide

Business Insight Report Authoring Getting Started Guide Business Insight Report Authoring Getting Started Guide Version: 6.6 Written by: Product Documentation, R&D Date: February 2011 ImageNow and CaptureNow are registered trademarks of Perceptive Software,

More information

Microsoft Word 2010. Quick Reference Guide. Union Institute & University

Microsoft Word 2010. Quick Reference Guide. Union Institute & University Microsoft Word 2010 Quick Reference Guide Union Institute & University Contents Using Word Help (F1)... 4 Window Contents:... 4 File tab... 4 Quick Access Toolbar... 5 Backstage View... 5 The Ribbon...

More information

geniusport mobility training experts

geniusport mobility training experts geniu po About Geniusport: GeniusPort is a Pioneer and India's No. 1 Training Center for Mobile Technologies like Apple ios, Google Android and Windows 8 Applications Development. A one stop destination

More information

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete: Word basics Word is a powerful word processing and layout application, but to use it most effectively, you first have to understand the basics. This tutorial introduces some of the tasks and features that

More information

BAM Checkout Mobile Implementation Guide for ios

BAM Checkout Mobile Implementation Guide for ios BAM Checkout Mobile Implementation Guide for ios This is a reference manual and configuration guide for the BAM Checkout Mobile product. It illustrates how to embed credit card and optional ID scanning

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

ios Team Administration Guide (Legacy)

ios Team Administration Guide (Legacy) ios Team Administration Guide (Legacy) Contents About ios Development Team Administration 5 At a Glance 6 Team Admins Manage Team Membership and Assign Roles in the Member Center 6 Development Devices

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

Creating and Formatting Charts in Microsoft Excel

Creating and Formatting Charts in Microsoft Excel Creating and Formatting Charts in Microsoft Excel This document provides instructions for creating and formatting charts in Microsoft Excel, which makes creating professional-looking charts easy. The chart

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

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

Improving Your App with Instruments

Improving Your App with Instruments Tools #WWDC14 Improving Your App with Instruments Session 418 Daniel Delwood Software Radiologist 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package 7 2015-11-24. Data Federation Administration Tool Guide

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package 7 2015-11-24. Data Federation Administration Tool Guide SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package 7 2015-11-24 Data Federation Administration Tool Guide Content 1 What's new in the.... 5 2 Introduction to administration

More information

USER GUIDE. Let s get started! Notepad Basics... 2. Notepad Settings... 4. Keyboard Editor... 6. Getting Organized... 9. Sharing your work...

USER GUIDE. Let s get started! Notepad Basics... 2. Notepad Settings... 4. Keyboard Editor... 6. Getting Organized... 9. Sharing your work... USER GUIDE Notepad Basics... 2 Notepad Settings... 4 Keyboard Editor... 6 Getting Organized... 9 Sharing your work... 11 Importing a Document... 12 Let s get started! 1 Page Notepad Basics Create a Notepad:

More information

Microsoft Excel 2013 Tutorial

Microsoft Excel 2013 Tutorial Microsoft Excel 2013 Tutorial TABLE OF CONTENTS 1. Getting Started Pg. 3 2. Creating A New Document Pg. 3 3. Saving Your Document Pg. 4 4. Toolbars Pg. 4 5. Formatting Pg. 6 Working With Cells Pg. 6 Changing

More information

Book 1 Diving Into ios 7

Book 1 Diving Into ios 7 ios App Development for Non-Programmers Book 1 Diving Into ios 7 Kevin J McNeish ios App Development for Non-Programmers Book 1: Diving Into ios 7 Humpback whale tail fin Author Kevin J McNeish Technical

More information

Creating Carbon Menus. (Legacy)

Creating Carbon Menus. (Legacy) Creating Carbon Menus (Legacy) Contents Carbon Menus Concepts 4 Components of a Carbon Menu 4 Carbon Menu Tasks 6 Creating a Menu Using Nibs 6 The Nib File 7 The Menus Palette 11 Creating a Simple Menu

More information

Access 2007 Creating Forms Table of Contents

Access 2007 Creating Forms Table of Contents Access 2007 Creating Forms Table of Contents CREATING FORMS IN ACCESS 2007... 3 UNDERSTAND LAYOUT VIEW AND DESIGN VIEW... 3 LAYOUT VIEW... 3 DESIGN VIEW... 3 UNDERSTAND CONTROLS... 4 BOUND CONTROL... 4

More information

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010.

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010. Hands-On Lab Building a Data-Driven Master/Detail Business Form using Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING THE APPLICATION S

More information

ios App Programming Guide

ios App Programming Guide ios App Programming Guide Contents About ios App Programming 8 At a Glance 8 Translate Your Initial Idea into an Implementation Plan 9 UIKit Provides the Core of Your App 9 Apps Must Behave Differently

More information

Objectives. Understand databases Create a database Create a table in Datasheet view Create a table in Design view

Objectives. Understand databases Create a database Create a table in Datasheet view Create a table in Design view Creating a Database Objectives Understand databases Create a database Create a table in Datasheet view Create a table in Design view 2 Objectives Modify a table and set properties Enter data in a table

More information

Introduction to Word 2007

Introduction to Word 2007 Introduction to Word 2007 You will notice some obvious changes immediately after starting Word 2007. For starters, the top bar has a completely new look, consisting of new features, buttons and naming

More information