src3/bettertextfield/bettertextfield/appdelegate.h // AppDelegate.h // BetterTextField

Size: px
Start display at page:

Download "src3/bettertextfield/bettertextfield/appdelegate.h // AppDelegate.h // BetterTextField"

Transcription

1 src3/bettertextfield/bettertextfield/appdelegate.h AppDelegate.h BetterTextField Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import AppDelegate : UIResponder (strong, nonatomic) UIWindow (strong, nonatomic) ViewController *viewcontroller;

2 src3/bettertextfield/bettertextfield/appdelegate.m AppDelegate.m BetterTextField Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import "AppDelegate.h" 1 #import window = _window; viewcontroller = _viewcontroller; 1 - (BOOL)application:(UIApplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions self.window = [[UIWindow alloc] initwithframe:[[uiscreen mainscreen] bounds]]; 2 Override point for customization after application launch. 2 self.viewcontroller = [[ViewController alloc] initwithnibname:@"viewcontroller" bundle:nil]; 2 self.window.rootviewcontroller = self.viewcontroller; 2 [self.window makekeyandvisible]; 2 return YES; (void)applicationwillresignactive:(uiapplication *)application Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 3 Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game (void)applicationdidenterbackground:(uiapplication *)application 3 3 Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 3 If your application supports background execution, this method is called instead of applicationwillterminate: when the user quits (void)applicationwillenterforeground:(uiapplication *)application 4 4 Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 4 4

3 src3/bettertextfield/bettertextfield/appdelegate.m 4 - (void)applicationdidbecomeactive:(uiapplication *)application 4 4 Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface (void)applicationwillterminate:(uiapplication *)application 5 5 Called when the application is about to terminate. Save data if appropriate. See also applicationdidenterbackground:

4 src3/bettertextfield/bettertextfield/main.m main.m BetterTextField Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import <UIKit/UIKit.h> #import "AppDelegate.h" int main(int argc, char return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

5 src3/bettertextfield/bettertextfield/viewcontroller.h 1 1 ViewController.h BetterTextField Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import ViewController : UIViewController (nonatomic, strong) IBOutlet UILabel* (nonatomic, strong) IBOutlet UITextField* textfield;

6 src3/bettertextfield/bettertextfield/viewcontroller.m ViewController.m BetterTextField Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import label = textfield = _textfield; - (void)viewdidload [super viewdidload]; - (void)viewdidunload [super viewdidunload]; - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation return (interfaceorientation!= UIInterfaceOrientationPortraitUpsideDown); - (BOOL)textFieldShouldReturn:(UITextField *)textfield self.label.text = self.textfield.text; [self.textfield resignfirstresponder]; return YES;

7 src3/gdb/gdb/main.m main.m GDB Created by Tommy MacWilliam on 3/5/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import <Foundation/Foundation.h> void f(int, int); int main(int argc, const char * NSString* s NSLog(@"%@", s); for (int i = 0; i < 2; i++) NSLog(@"loop"); f(1, 2); return 0; void f(int x, int y) NSLog(@"%d, %d", x, y);

8 src3/textfieldexample/textfieldexample/appdelegate.h AppDelegate.h TextFieldExample Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import AppDelegate : UIResponder (strong, nonatomic) UIWindow (strong, nonatomic) ViewController *viewcontroller;

9 src3/textfieldexample/textfieldexample/appdelegate.m AppDelegate.m TextFieldExample Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import "AppDelegate.h" 1 #import window = _window; viewcontroller = _viewcontroller; 1 - (BOOL)application:(UIApplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions self.window = [[UIWindow alloc] initwithframe:[[uiscreen mainscreen] bounds]]; 2 Override point for customization after application launch. 2 self.viewcontroller = [[ViewController alloc] initwithnibname:@"viewcontroller" bundle:nil]; 2 self.window.rootviewcontroller = self.viewcontroller; 2 [self.window makekeyandvisible]; 2 return YES; (void)applicationwillresignactive:(uiapplication *)application Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 3 Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game (void)applicationdidenterbackground:(uiapplication *)application 3 3 Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 3 If your application supports background execution, this method is called instead of applicationwillterminate: when the user quits (void)applicationwillenterforeground:(uiapplication *)application 4 4 Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 4 4

10 src3/textfieldexample/textfieldexample/appdelegate.m 4 - (void)applicationdidbecomeactive:(uiapplication *)application 4 4 Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface (void)applicationwillterminate:(uiapplication *)application 5 5 Called when the application is about to terminate. Save data if appropriate. See also applicationdidenterbackground:

11 src3/textfieldexample/textfieldexample/main.m main.m TextFieldExample Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import <UIKit/UIKit.h> #import "AppDelegate.h" int main(int argc, char return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

12 src3/textfieldexample/textfieldexample/viewcontroller.h ViewController.h TextFieldExample Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import ViewController : (nonatomic, strong) IBOutlet UILabel* (nonatomic, strong) IBOutlet UITextField* (nonatomic, strong) IBOutlet UIButton* button; - (IBAction)buttonPressed:(id)sender;

13 src3/textfieldexample/textfieldexample/viewcontroller.m ViewController.m TextFieldExample Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import button = label = textfield = _textfield; - (void)viewdidload [super viewdidload]; - (void)viewdidunload [super viewdidunload]; - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation return (interfaceorientation!= UIInterfaceOrientationPortraitUpsideDown); - (void)buttonpressed:(id)sender self.label.text = self.textfield.text; self.textfield.text

14 src3/tictactoe/tictactoe/appdelegate.h AppDelegate.h TicTacToe Created by Tommy MacWilliam on 3/5/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import AppDelegate : UIResponder (strong, nonatomic) UIWindow (strong, nonatomic) ViewController *viewcontroller;

15 src3/tictactoe/tictactoe/appdelegate.m AppDelegate.m TicTacToe Created by Tommy MacWilliam on 3/5/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import "AppDelegate.h" 1 #import window = _window; viewcontroller = _viewcontroller; 1 - (BOOL)application:(UIApplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions self.window = [[UIWindow alloc] initwithframe:[[uiscreen mainscreen] bounds]]; 2 Override point for customization after application launch. 2 self.viewcontroller = [[ViewController alloc] initwithnibname:@"viewcontroller" bundle:nil]; 2 self.window.rootviewcontroller = self.viewcontroller; 2 [self.window makekeyandvisible]; 2 return YES; (void)applicationwillresignactive:(uiapplication *)application Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 3 Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game (void)applicationdidenterbackground:(uiapplication *)application 3 3 Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 3 If your application supports background execution, this method is called instead of applicationwillterminate: when the user quits (void)applicationwillenterforeground:(uiapplication *)application 4 4 Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 4 4

16 src3/tictactoe/tictactoe/appdelegate.m 4 - (void)applicationdidbecomeactive:(uiapplication *)application 4 4 Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface (void)applicationwillterminate:(uiapplication *)application 5 5 Called when the application is about to terminate. Save data if appropriate. See also applicationdidenterbackground:

17 src3/tictactoe/tictactoe/main.m main.m TicTacToe Created by Tommy MacWilliam on 3/5/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import <UIKit/UIKit.h> #import "AppDelegate.h" int main(int argc, char return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

18 src3/tictactoe/tictactoe/viewcontroller.h ViewController.h TicTacToe Created by Tommy MacWilliam on 3/5/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import ViewController : UIViewController (nonatomic, strong) NSMutableArray* (nonatomic, strong) IBOutlet UIButton* (nonatomic, assign) BOOL turn; - (BOOL)check:(int)x with:(int)y and:(int)z; - (BOOL)checkColumns; - (BOOL)checkRows; - (IBAction)game:(id)sender; - (IBAction)play:(id)sender; - (BOOL)won;

19 src3/tictactoe/tictactoe/viewcontroller.m ViewController.m TicTacToe Created by Tommy MacWilliam on 3/5/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import board = gamebutton = turn = _turn; - (void)viewdidload [super viewdidload]; initialize properties self.turn = YES; self.board = [[NSMutableArray alloc] init]; start a new game [self game:nil]; - (void)viewdidunload [super viewdidunload]; - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation return (interfaceorientation!= UIInterfaceOrientationPortraitUpsideDown); /** * Congratulatory alert view is dismissed * */ - (void) alertview:(uialertview *)alertview diddismisswithbuttonindex:(nsinteger)buttonindex start a new game [self game:nil];

20 src3/tictactoe/tictactoe/viewcontroller.m /** * Create a new game * */ - (void)game:(id)sender X always goes first self.turn = YES; clear the previous board [self.board removeallobjects]; reset button states and initialze board for (int i = 1; i <= 9; i++) clear cell text UIButton* cell = (UIButton*)[self.view viewwithtag:i]; [cell settitle:@"" forstate:uicontrolstatenormal]; represent empty cell with a 0 [self.board addobject:[nsnumber numberwithint:0]]; /** * Make a move on the board * */ - (void)play:(id)sender get the cell that was tapped UIButton* cell = (UIButton*)sender; int i = cell.tag - 1; make sure cell is blank if ([[self.board objectatindex:i] intvalue] == 0) X's turn if (self.turn) [cell settitle:@"x" forstate:uicontrolstatenormal]; [self.board replaceobjectatindex:i withobject:[nsnumber numberwithint:1]]; O's turn else [cell settitle:@"o" forstate:uicontrolstatenormal]; [self.board replaceobjectatindex:i withobject:[nsnumber numberwithint:2]]; exchange turns

21 src3/tictactoe/tictactoe/viewcontroller.m self.turn =!self.turn; check if game has been won if ([self won]) display congratulatory message UIAlertView* alert = [[UIAlertView alloc] initwithtitle:@"congrats!" message:@"you win!" delegate:self cancelbuttontitle:@"i'm the best" otherbuttontitles:nil]; [alert show]; /** * Check if 3 cells have the same non-blank value (designating a win) * */ - (BOOL)check:(int)x with:(int)y and:(int)z all three cells must be filled in if ([[self.board objectatindex:x] intvalue] == 0 [[self.board objectatindex:y] intvalue] == 0 [[self.board objectatindex:z] intvalue] == 0) return NO; row is a win if cells are the same return ([[self.board objectatindex:x] intvalue] == [[self.board objectatindex:y] intvalue] && [[self.board objectatindex:y] intvalue] == [[self.board objectatindex:z] intvalue]); /** * Check if a win is found in any column * */ - (BOOL)checkColumns check each column for (int i = 0; i < 3; i++) compare each cell in the column if ([self check:i with:(i + 3) and:(i + 6)]) return YES; return NO; /**

22 src3/tictactoe/tictactoe/viewcontroller.m * Check if a win is found in any row * */ - (BOOL)checkRows check each row for (int i = 0; i < 3; i++) compare each cell in the row if ([self check:(i * 3) with:(i * 3 + 1) and:(i * 3 + 2)]) return YES; return NO; /** * Check if the game has been won * */ - (BOOL)won game is won if row, column, or diagonal is the same return [self checkrows] [self checkcolumns] [self check:0 with:4 and:8] [self check:2 with:4 and:6];

23 src3/utilityapp/utilityapp/appdelegate.h AppDelegate.h UtilityApp Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import AppDelegate : UIResponder (strong, nonatomic) UIWindow (strong, nonatomic) MainViewController *mainviewcontroller;

24 src3/utilityapp/utilityapp/appdelegate.m AppDelegate.m UtilityApp Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import "AppDelegate.h" 1 #import window = _window; mainviewcontroller = _mainviewcontroller; 1 - (BOOL)application:(UIApplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions self.window = [[UIWindow alloc] initwithframe:[[uiscreen mainscreen] bounds]]; 2 Override point for customization after application launch. 2 self.mainviewcontroller = [[MainViewController alloc] initwithnibname:@"mainviewcontroller" bundle:nil]; 2 self.window.rootviewcontroller = self.mainviewcontroller; 2 [self.window makekeyandvisible]; 2 return YES; (void)applicationwillresignactive:(uiapplication *)application Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 3 Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game (void)applicationdidenterbackground:(uiapplication *)application 3 3 Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 3 If your application supports background execution, this method is called instead of applicationwillterminate: when the user quits (void)applicationwillenterforeground:(uiapplication *)application 4 4 Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 4 4

25 src3/utilityapp/utilityapp/appdelegate.m 4 - (void)applicationdidbecomeactive:(uiapplication *)application 4 4 Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface (void)applicationwillterminate:(uiapplication *)application 5 5 Called when the application is about to terminate. Save data if appropriate. See also applicationdidenterbackground:

26 src3/utilityapp/utilityapp/flipsideviewcontroller.h FlipsideViewController.h UtilityApp Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import FlipsideViewControllerDelegate - (void)flipsideviewcontrollerdidfinish:(flipsideviewcontroller FlipsideViewController : (weak, nonatomic) id <FlipsideViewControllerDelegate> delegate; - (IBAction)done:(id)sender;

27 src3/utilityapp/utilityapp/flipsideviewcontroller.m FlipsideViewController.m UtilityApp Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import FlipsideViewController delegate = _delegate; - (void)viewdidload [super viewdidload]; - (void)viewdidunload [super viewdidunload]; - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation return (interfaceorientation!= UIInterfaceOrientationPortraitUpsideDown); #pragma mark - Actions - (IBAction)done:(id)sender [self.delegate flipsideviewcontrollerdidfinish:self];

28 src3/utilityapp/utilityapp/main.m main.m UtilityApp Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import <UIKit/UIKit.h> #import "AppDelegate.h" int main(int argc, char return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

29 src3/utilityapp/utilityapp/mainviewcontroller.h 1 MainViewController.h UtilityApp Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import MainViewController : UIViewController <FlipsideViewControllerDelegate> - (IBAction)showInfo:(id)sender;

30 src3/utilityapp/utilityapp/mainviewcontroller.m MainViewController.m UtilityApp Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import MainViewController MainViewController - (void)viewdidload [super viewdidload]; - (void)viewdidunload [super viewdidunload]; - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation return (interfaceorientation!= UIInterfaceOrientationPortraitUpsideDown); #pragma mark - Flipside View - (void)flipsideviewcontrollerdidfinish:(flipsideviewcontroller *)controller [self dismissmodalviewcontrolleranimated:yes]; - (IBAction)showInfo:(id)sender FlipsideViewController *controller = [[FlipsideViewController alloc] initwithnibname:@"flipsideviewcontroller" bundle:nil]; controller.delegate = self; controller.modaltransitionstyle = UIModalTransitionStylePartialCurl; [self presentmodalviewcontroller:controller animated:yes];

lectures/2/src2/nib1/nib1/appdelegate.h // AppDelegate.h // Nib1 // David J. Malan // Harvard University //

lectures/2/src2/nib1/nib1/appdelegate.h // AppDelegate.h // Nib1 // David J. Malan // Harvard University // lectures/2/src2/nib1/nib1/appdelegate.h 1 1 1 1 1 1 1 1 1 2 AppDelegate.h Nib1 David J. Malan Harvard University malan@harvard.edu Demonstrates a Single View Application implemented with a nib, plus IBAction

More information

Navigation bar (Xcode version 4.5.2) 1. Create a new project. From the Xcode menu, select File > New > Project

Navigation bar (Xcode version 4.5.2) 1. Create a new project. From the Xcode menu, select File > New > Project Navigation bar (Xcode version 4.5.2) 1. Create a new project. From the Xcode menu, select File > New > Project Choose the Single View Application template Click Next. In the Choose options for your new

More information

iphone Programming Touch, Sound, and More! Norman McEntire Founder Servin Flashlight CodeTour TouchCount CodeTour

iphone Programming Touch, Sound, and More! Norman McEntire Founder Servin Flashlight CodeTour TouchCount CodeTour iphone Programming Touch, Sound, and More! Norman McEntire Founder Servin 1 Legal Info iphone is a trademark of Apple Inc. Servin is a trademark of Servin Corporation 2 Welcome Welcome! Thank you! My promise

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

Produced by. Design Patterns. MSc in Computer Science. Eamonn de Leastar

Produced by. Design Patterns. MSc in Computer Science. Eamonn de Leastar Design Patterns MSc in Computer Science Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie

More information

imate: ios Application

imate: ios Application imate: ios Application Document Version 1.0.1 Date: 27 th May, 2014 2 [IMATE: IOS APPLICATION] Contents AppDelegate Class Reference... 4 Tasks... 4 Properties... 4 Instance Methods... 4 ChatMenuViewController

More information

IOS - TEXT FIELD. Use of Text Field. Important Properties of Text Field. Updating Properties in xib

IOS - TEXT FIELD. Use of Text Field. Important Properties of Text Field. Updating Properties in xib IOS - TEXT FIELD http://www.tutorialspoint.com/ios/ios_ui_elements_text_field.htm Copyright tutorialspoint.com Use of Text Field A text field is a UI element that enables the app to get user input. A UITextfield

More information

COPYRIGHTED MATERIAL. part I Developing a Professional UI. Chapter 1: Creating a Personal Library. Chapter 2: Advancing with Tableviews

COPYRIGHTED MATERIAL. part I Developing a Professional UI. Chapter 1: Creating a Personal Library. Chapter 2: Advancing with Tableviews part I Developing a Professional UI Chapter 1: Creating a Personal Library Chapter 2: Advancing with Tableviews Chapter 3: Advancing with Map Kit Chapter 4: Understanding Action Views and Alerts Chapter

More information

ios Core Data Example Application

ios Core Data Example Application ios Core Data Example Application The Core Data framework provides an abstract, object oriented interface to database storage within ios applications. This does not require extensive knowledge of database

More information

AVAudioPlayer. avtouch Application

AVAudioPlayer. avtouch Application AVAudioPlayer avtouch Application iphone Application Index 1. iphone Application 1) iphone Application 2) iphone Application Main Method 3) iphone Application nib(.xib) 2. avtouch Application 1) avtouch

More information

Your First ios 7 App. Everything you need to know to build and submit your first ios app. Ash Furrow

Your First ios 7 App. Everything you need to know to build and submit your first ios app. Ash Furrow Your First ios 7 App Everything you need to know to build and submit your first ios app. Ash Furrow This book is for sale at http://leanpub.com/your-first-ios-app This version was published on 2014-09-13

More information

Document Version Date: 1st March, 2015

Document Version Date: 1st March, 2015 7 Minute Fitness: ios(swift) Application Document Version 1.0.1 Date: 1st March, 2015 2 [7 MINUTE FITNESS: APP DOCUMENTATION] Important Notes:... 5 AppDelegate Class Reference... 6 Tasks... 6 Instance

More information

Why Model-View-Controller?

Why Model-View-Controller? View Controllers Why Model-View-Controller? Ever used the word spaghetti to describe code? Clear responsibilities make things easier to maintain Avoid having one monster class that does everything Why

More information

Multitasking and Background Execution

Multitasking and Background Execution Multitasking and Background Execution Fall, 2012 Prof. Massimiliano "Max" Pala pala@nyu.edu Introduction Spawning Threads and Tasks Background Execution User hits 'home' button the app is sent in the background

More information

Step 1: Open Xcode and select Create a new Xcode Project from the Welcome to Xcode menu.

Step 1: Open Xcode and select Create a new Xcode Project from the Welcome to Xcode menu. In this tutorial we are going to build a simple calculator using buttons that are all linked together using the same method. We will also add our own method to the source code to create some additional

More information

Designing iphone Applications

Designing iphone Applications Designing iphone Applications 4 Two Flavors of Mail 5 Organizing Content 6 Organizing Content 6 Organizing Content 6 Organizing Content 6 Organizing Content Focus on your user s data 6 Organizing Content

More information

ITP 342 Mobile App Dev. Connections

ITP 342 Mobile App Dev. Connections ITP 342 Mobile App Dev Connections User Interface Interactions First project displayed information to the user, but there was no interaction. We want the users of our app to touch UI components such as

More information

CS 6030 Bioinformatics Summer II 2012 Semester Project Final Report Chandana Sripha Guduru Jason Eric Johnson

CS 6030 Bioinformatics Summer II 2012 Semester Project Final Report Chandana Sripha Guduru Jason Eric Johnson CS 6030 Bioinformatics Summer II 2012 Semester Project Final Report Chandana Sripha Guduru Jason Eric Johnson 1 Team Members:! 3 Project Description:! 3 Project Goals:! 3 Research/Design:! 3 Web Service

More information

Integrating Game Center into a BuzzTouch 1.5 app

Integrating Game Center into a BuzzTouch 1.5 app into a BuzzTouch 1.5 app This tutorial assumes you have created your app and downloaded the source code; created an App ID in the ios Provisioning Portal, and registered your app in itunes Connect. Step

More information

iphone Application Tutorial

iphone Application Tutorial iphone Application Tutorial 2008-06-09 Apple Inc. 2008 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any

More information

Life Cycle. Chapter Explore the Game Application. Understanding the Views in a Game

Life Cycle. Chapter Explore the Game Application. Understanding the Views in a Game 3 Chapter Explore the Game Application Life Cycle There is more to a game than just the fun parts. Almost all of the games on the market, and definitely the big titles, involve multiple views and a reasonably

More information

SDK Quick Start Guide

SDK Quick Start Guide SDK Quick Start Guide Index Requirements...3 Required Frameworks...3 Project Target Build Settings...4 AppDelegate sub- classing...4 Using the Low Level API...6 C2CallPhone Base class for low- level C2Call

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

View Controllers CPRE 388

View Controllers CPRE 388 View Controllers CPRE 388 View Controllers Manage views in model view controller design template. Many types: custom view controller; container view controller; modal view controller. Custom View controllers

More information

Social Pinboard: ios(swift) Application

Social Pinboard: ios(swift) Application Social Pinboard: ios(swift) Application Document Version 1.0.1 Date: 15 th May, 2015 2 [SOCIAL PINBOARD: APP DOCUMENTATION] Important Notes:... 5 AppDelegate Class Reference... 6 Tasks... 6 Instance Methods...

More information

News- ipad: ios(swift) Application

News- ipad: ios(swift) Application News- ipad: ios(swift) Application Document Version 1.0.1 Date: 9 th Nov, 2014 2 [NEWS- IPAD: APP DOCUMENTATION] Important Notes:... 6 AppDelegate Class Reference... 7 Tasks... 7 Instance Methods... 7

More information

iphone App Basics iphone and ipod touch Development Fall 2009 Lecture 5

iphone App Basics iphone and ipod touch Development Fall 2009 Lecture 5 iphone App Basics iphone and ipod touch Development Fall 2009 Lecture 5 Questions? Announcements Assignment #1 due this evening by 11:59pm Remember, if you wish to use a free late you must email me before

More information

Your First iphone Application

Your First iphone Application Your First iphone Application General 2009-01-06 Apple Inc. 2009 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form

More information

Mobile Apps 2010 iphone and Android

Mobile Apps 2010 iphone and Android Mobile Apps 2010 iphone and Android March 9, 2010 Norman McEntire, Founder Servin Corporation - http://servin.com Technology Training for Technology ProfessionalsTM norman.mcentire@servin.com 1 Legal Info

More information

ITP 342 Mobile App Dev. Delegates

ITP 342 Mobile App Dev. Delegates ITP 342 Mobile App Dev Delegates Protocol A protocol is a declaration of a list of methods Classes that conform to the protocol implement those methods A protocol can declare two kinds of methods: required

More information

Corrections and version notes

Corrections and version notes Last updated 7 th May, 2014 Programming apps for the iphone Corrections and version notes Please feel free to email Graeme (gbsummers@graemesummers.info) for additional help or clarification on any of

More information

Learning ios 8 for Enterprise

Learning ios 8 for Enterprise Learning ios 8 for Enterprise Design and develop stunning ios applications for business environments Mayank Birani BIRMINGHAM - MUMBAI Learning ios 8 for Enterprise Copyright 2014 Packt Publishing All

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 Table View Navigation Controller Passing Data Between Scenes Assignment 2 2 Navigation-based

More information

From Hello World to Finished App. raywenderlich.com

From Hello World to Finished App. raywenderlich.com From Hello World to Finished App Why Learn ios? - Strong demand - Motivating - App Store - It s fun! What s This All About? - One Day Crash Course - For beginners & intermediates - Making apps with UIKit

More information

1.1 Why Foxit Mobile PDF SDK is your choice Foxit Mobile PDF SDK Key features Evaluation...

1.1 Why Foxit Mobile PDF SDK is your choice Foxit Mobile PDF SDK Key features Evaluation... TABLE OF CONTENTS 1 Introduction to...2 1.1 Why is your choice... 2 1.2... 3 1.3 Key features... 4 1.4 Evaluation... 4 1.5 License... 5 1.6 About this Guide... 5 2 Getting Started...6 2.1 Requirements...

More information

Intro to Native ios Development. Dave Koziol Arbormoon Software, Inc.

Intro to Native ios Development. Dave Koziol Arbormoon Software, Inc. Intro to Native ios Development Dave Koziol Arbormoon Software, Inc. About Me Long time Apple Developer (20 WWDCs) Organizer Ann Arbor CocoaHeads President & ios Developer at Arbormoon Software Inc. Wunder

More information

Widget Tour. iphone and ipod touch Development Fall 2009 Lecture 7

Widget Tour. iphone and ipod touch Development Fall 2009 Lecture 7 Widget Tour iphone and ipod touch Development Fall 2009 Lecture 7 Questions? Announcements Assignment #2 due Tonight by 11:59pm Today s Topics Controls Buttons Switches Sliders Segmented Controls Text

More information

UI Design and Storyboarding

UI Design and Storyboarding UI Design and Storyboarding Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Model-View-Controller

More information

Your First iphone OS Application

Your First iphone OS Application Your First iphone OS Application General 2010-03-15 Apple Inc. 2010 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form

More information

AVAudioRecorder & System Sound Services

AVAudioRecorder & System Sound Services AVAudioRecorder & System Sound Services Dept. of Multimedia Science, Sookmyung Women s University. prof. JongWoo Lee Index AVAudioRecorder? - (AudioRecorder) System Sound Service? - (SysSound) AVAudioRecorder

More information

src2/section2.0/section2/main.m // main.m // Students7 // David J. Malan // Harvard University // // Demonstrates mutable arrays.

src2/section2.0/section2/main.m // main.m // Students7 // David J. Malan // Harvard University // // Demonstrates mutable arrays. src2/section0/section2/main.m 1 1 1 1 2 2 2 2 2 2 2 2 2 30. 3 3 3 3 3 3 3 3 3 40. 4 4 4 4 main.m Students7 David J. Malan Harvard University malan@harvard.edu Demonstrates mutable arrays. #import

More information

A Vertical Slider for iphone

A Vertical Slider for iphone A Vertical Slider for iphone The UISlider control offers a way to continuously get values from the user within a range of set values. In the Interface Builder library of controls, there is only a horizontal

More information

MVC and Interface Builder IAP 2010

MVC and Interface Builder IAP 2010 MVC and Interface Builder IAP 2010 iphonedev.csail.mit.edu edward benson / eob@csail.mit.edu Information-Driven Applications Application Flow UIApplication Main NIB Initialized UIAppDelegate - (void)applicationdidfinishlaunching:(uiapplication

More information

ITP 342 Mobile App Dev. Connections

ITP 342 Mobile App Dev. Connections ITP 342 Mobile App Dev Connections User Interface Interactions First project displayed information to the user, but there was no interaction. We want the users of our app to touch UI components such as

More information

InterfaceBuilder and user interfaces

InterfaceBuilder and user interfaces ES3 Lab 2 InterfaceBuilder and user interfaces This lab InterfaceBuilder Creating components Linking them to your code Adding buttons, labels, sliders UITableView Creating a tableview Customizing cells

More information

Xcode 4 Cookbook. Steven F. Daniel. Chapter No. 2 "User Interfaces Creating the UI"

Xcode 4 Cookbook. Steven F. Daniel. Chapter No. 2 User Interfaces Creating the UI Xcode 4 Cookbook Steven F. Daniel Chapter No. 2 "User Interfaces Creating the UI" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter NO.2 "User

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

Topics in Mobile Computing

Topics in Mobile Computing Topics in Mobile Computing Workshop 1I - ios Fundamental Prepared by Y.H. KWOK What is ios? From Wikipedia (http://en.wikipedia.org/wiki/ios): ios is an operating system for iphone, ipad and Apple TV.

More information

App. Chapter 19 App. App (ViewController) App. Single View Application Single View Application View. (View Controller)

App. Chapter 19 App. App (ViewController) App. Single View Application Single View Application View. (View Controller) Chapter 19 App App (ViewController) App 19.1 App App Single View Application Single View Application View Controller View Controller Label Button Button (View Controller) 2 View Controller Utility Area

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 Storyboards Automatic Reference Counting Animations Exercise 3 2 Timeline

More information

COMP327 Mobile Computing Session: Lecture Set 1a - Swift Introduction and the Foundation Framework Part 2

COMP327 Mobile Computing Session: Lecture Set 1a - Swift Introduction and the Foundation Framework Part 2 COMP327 Mobile Computing Session: 2018-2019 Lecture Set 1a - Swift Introduction and the Foundation Framework Part 2 73 Other Swift Guard Already seen that for optionals it may be necessary to test that

More information

IPHONE DEVELOPMENT. Getting Started with the iphone SDK

IPHONE DEVELOPMENT. Getting Started with the iphone SDK IPHONE DEVELOPMENT Getting Started with the iphone SDK OBJECTIVE-C The Big Picture STRICT SUPERSET OF C The Objective C Language Any C stuff applies Standard libs are here (time, sqrt etc) The C Language

More information

Objective-C ICT/7421ICTNathan. René Hexel. School of Information and Communication Technology Griffith University.

Objective-C ICT/7421ICTNathan. René Hexel. School of Information and Communication Technology Griffith University. Objective-C 2.0 2501ICT/7421ICTNathan René Hexel School of Information and Communication Technology Griffith University Semester 1, 2012 Outline Fast Enumeration and Properties 1 Fast Enumeration and Properties

More information

Computer Science 251. iphone Application Development. Autorotation, Popover Controllers, Modal Controllers

Computer Science 251. iphone Application Development. Autorotation, Popover Controllers, Modal Controllers Computer Science 251 iphone Application Development Autorotation, Popover Controllers, Modal Controllers Two Types of Orientation Device: physically upside down, rotated left, on its back, etc. Can be

More information

ITP 342 Mobile App Dev. Fundamentals

ITP 342 Mobile App Dev. Fundamentals ITP 342 Mobile App Dev Fundamentals Objective-C Classes Encapsulate data with the methods that operate on that data An object is a runtime instance of a class Contains its own in-memory copy of the instance

More information

Cocoa Touch Best Practices

Cocoa Touch Best Practices App Frameworks #WWDC15 Cocoa Touch Best Practices Session 231 Luke Hiesterman UIKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

More information

Coding Conventions Objective-C coding conventions and styling Jens Willy Johannsen

Coding Conventions Objective-C coding conventions and styling Jens Willy Johannsen Coding Conventions Objective-C coding conventions and styling 22-06-2012 Jens Willy Johannsen jens@greenerpastures.dk Greener Pastures Change log... 4 Revision 3 (2012-06-22)... 4 Revision 2... 4 Comments...

More information

Intro to Development for ios. Dave Koziol Arbormoon Software, Inc.

Intro to Development for ios. Dave Koziol Arbormoon Software, Inc. Intro to Development for ios Dave Koziol Arbormoon Software, Inc. About Me Long time Apple Developer (21 WWDCs) Organizer Ann Arbor CocoaHeads President & ios Developer at Arbormoon Software Inc. Multiple

More information

src7-malan/c/array/array/main.c // main.c // Array // David J. Malan // Harvard University // // Demonstrates arrays. 11.

src7-malan/c/array/array/main.c // main.c // Array // David J. Malan // Harvard University // // Demonstrates arrays. 11. src7-malan/c/array/array/main.c 1 1 1 1 2 2 2 2 2 2 2 2 2 30. 3 3 3 main.c Array David J. Malan Harvard University malan@harvard.edu Demonstrates arrays. #include int main(int argc, const char

More information

Acollada ios Charting Components

Acollada ios Charting Components Acollada ios Charting Components Acollada ios Charting Components... 1 LineChartView... 3 Description... 3 Screenshot... 3 Protocols to be implemented... 3 Customizing the LineChartView aspect... 4 How

More information

AdFalcon ios SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group

AdFalcon ios SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group AdFalcon ios SDK 4.1.0 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction... 3 Prerequisites... 3 2 Install AdFalcon SDK... 4 2.1 Use CocoaPods

More information

Lab #1: Chuck Norris Joke Generator Class

Lab #1: Chuck Norris Joke Generator Class Lab #1: Chuck Norris Joke Generator Class Chuck Norris does not need Twitter... he is already following you. Chuck Norris doesn t flush the toilet, he scares the sh*t out of it. Chuck Norris is the reason

More information

Naviga&on and Tab Bar Controllers and Table View

Naviga&on and Tab Bar Controllers and Table View Naviga&on and Tab Bar Controllers and Table View UINaviga)onController Stack of view controllers Naviga)on bar How It Fits Together Top view controller s view Top view controller s )tle Previous view controller

More information

CS 47. Beginning iphone Application Development

CS 47. Beginning iphone Application Development CS 47 Beginning iphone Application Development Introductions Who, why, which? Shameless Plug: LoudTap Wifi Access (If it works..) SSID: Stanford Username/password: csp47guest Expectations This is a programming

More information

ios Tic Tac Toe Game John Robinson at Rowan University

ios Tic Tac Toe Game John Robinson at Rowan University ios Tic Tac Toe Game John Robinson at Rowan University Agenda Day 3 Introduction to Swift and Xcode Creating the Tic Tac Toe GUI Lunch Break Writing the Tic Tac Toe Game Code RAMP Wrap up Process for Developing

More information

View Controller Lifecycle

View Controller Lifecycle View Controller Lifecycle View Controllers have a Lifecycle A sequence of messages is sent to them as they progress through it Why does this matter? You very commonly override these methods to do certain

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

ios 101 Hands-On Challenges

ios 101 Hands-On Challenges ios 101 Hands-On Challenges Copyright 2014 Razeware LLC. All rights reserved. No part of this book or corresponding materials (such as text, images, or source code) may be reproduced or distributed by

More information

Mobile Application Programing: ios. Messaging

Mobile Application Programing: ios. Messaging Mobile Application Programing: ios Messaging Application Model View Controller (MVC) Application Controller User Action Update View Notify Update Model Messaging Controller User Action Update Notify Update

More information

Lab #1: Chuck Norris Joke Generator Class

Lab #1: Chuck Norris Joke Generator Class Lab #1: Chuck Norris Joke Generator Class Chuck Norris does not need Twitter... he is already following you. Chuck Norris doesnʼt flush the toilet, he scares the sh*t out of it. Chuck Norris is the reason

More information

Mobile Development - Lab 2

Mobile Development - Lab 2 Mobile Development - Lab 2 Objectives Illustrate the delegation mechanism through examples Use a simple Web service Show how to simply make a hybrid app Display data with a grid layout Delegation pattern

More information

ITP 342 Advanced Mobile App Dev. Memory

ITP 342 Advanced Mobile App Dev. Memory ITP 342 Advanced Mobile App Dev Memory Memory Management Objective-C provides two methods of application memory management. 1. In the method described in this guide, referred to as manual retain-release

More information

Mobile Computing. Overview. What is ios? 8/26/12. CSE 40814/60814 Fall 2012

Mobile Computing. Overview. What is ios? 8/26/12. CSE 40814/60814 Fall 2012 Mobile Computing CSE 40814/60814 Fall 2012 Overview ios is the opera8ng system that runs iphones, ipod Touches, ipads, and Apple TVs. The language used to develop sogware for ios is Objec8ve- C (very similar

More information

The Sensors in your iphone. Dr Alasdair Allan

The Sensors in your iphone. Dr Alasdair Allan The Sensors in your iphone Dr Alasdair Allan Available Hardware Hardware Features Original iphone iphone 3G iphone 3GS 1st Gen ipod touch 2nd Gen ipod touch 3rd Gen ipod touch Cellular Wi-Fi Bluetooth

More information

ITP 342 Mobile App Dev. Code

ITP 342 Mobile App Dev. Code ITP 342 Mobile App Dev Code Comments Variables Arithmetic operators Format specifiers if - else Relational operators Logical operators Constants Outline 2 Comments For a single line comment, use // The

More information

Mobile Application Programming. Objective-C Classes

Mobile Application Programming. Objective-C Classes Mobile Application Programming Objective-C Classes Custom Classes @interface Car : NSObject #import Car.h + (int) viper; - (id) initwithmodel:(int)m; @implementation Car Point position; float velocity;

More information

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

Mac OS X and ios operating systems. Lab 1 Introduction to Mac OS X and ios app development. Gdańsk 2015 Tomasz Idzi Mac OS X and ios operating systems 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

More information

View Concepts. iphone Application Programming Lecture 4: User Interface Design. SDK provide many types of Views to show your content

View Concepts. iphone Application Programming Lecture 4: User Interface Design. SDK provide many types of Views to show your content View Concepts iphone Application Programming Lecture 4: User Interface Design SDK provide many types of Views to show your content At run-time Views are organized as a tree Chat Wacharamanotham Media Computing

More information

CLOCK4 TUTORIAL VERY SIMPLE HELLO WORLD COCOA APPLICATION

CLOCK4 TUTORIAL VERY SIMPLE HELLO WORLD COCOA APPLICATION http:clanmills.com Page 1/8 CLOCK4 TUTORIAL VERY SIMPLE HELLO WORLD COCOA APPLICATION Life in a new programming environment has to start somewhere. Everybody knows the hello world application written in

More information

ITP 342 Advanced Mobile App Dev. Core Data

ITP 342 Advanced Mobile App Dev. Core Data ITP 342 Advanced Mobile App Dev Core Data Persistent Data NSUser Defaults Typically used to save app preferences Property List (plist) in Documents Directory Data is in a dictionary or an array Coders

More information

} override func didreceivememorywarning() { 26 super.didreceivememorywarning() 27 } 28 } Pause Stop

} override func didreceivememorywarning() { 26 super.didreceivememorywarning() 27 } 28 } Pause Stop Chapter 30 30.1 App App MP3 Don t Download This Song [1] Finder MP3 Xcode UI 1 import UIKit 2 import AVFoundation 3 4 class ViewController: UIViewController { 5 6 var player: AVAudioPlayer? 7 8 override

More information

Praktikum Entwicklung von Mediensystemen mit

Praktikum Entwicklung von Mediensystemen mit Praktikum Entwicklung von Mediensystemen mit Sommersemester 2013 Fabius Steinberger, Dr. Alexander De Luca Today Organization Introduction to ios programming Hello World Assignment 1 2 Organization 6 ECTS

More information

Embed ios SDK in to a fitness app

Embed ios SDK in to a fitness app Embed ios SDK in to a fitness app Objective: To embed smart messaging in to an existing ios app for fitness Implementation: 1. Add TeamchatSDK.framework to your project. 2. Add TeamchatSDK.framework to

More information

lecture 10 UI/UX and Programmatic Design cs : spring 2018

lecture 10 UI/UX and Programmatic Design cs : spring 2018 lecture 10 UI/UX and Programmatic Design cs198-001 : spring 2018 1 Announcements custom app progress form due before lab (~1 minute) will be released after lecture only 2 labs left (both very important)

More information

Notifications. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder

Notifications. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Notifications Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Alerts Internal notifications Local

More information

A Mad Libs app that you will navigate through 3 UIViewControllers to add text that will be shown in a story on the fourth UIViewController.

A Mad Libs app that you will navigate through 3 UIViewControllers to add text that will be shown in a story on the fourth UIViewController. WordPlay App: A Mad Libs app that you will navigate through 3 UIViewControllers to add text that will be shown in a story on the fourth UIViewController. Create a new project Create a new Xcode project

More information

Types of Views. View category Purpose Examples of views. Display a particular type of content, such as an image or text.

Types of Views. View category Purpose Examples of views. Display a particular type of content, such as an image or text. ios UI Components Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283 Types of Views View

More information

Tables. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder

Tables. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Tables Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Table View Controller Table View Table Cells

More information

Guides ios Document current as of 08/22/ :11 PM. Installation. Install SDL SDK

Guides ios Document current as of 08/22/ :11 PM. Installation. Install SDL SDK Guides ios Document current as of 08/22/2017 05:11 PM. Installation In order to build your app on a SmartDeviceLink (SDL) Core, the SDL software development kit (SDK) must be installed in your app. The

More information

Introductory ios Development

Introductory ios Development Introductory ios Development 152-164 Unit 5 - Multi-View Apps Quick Links & Text References What is a Delegate? What is a Protocol? Delegates, Protocols and TableViews Creating a Master-Detail App Modifying

More information

Collections. Fall, Prof. Massimiliano "Max" Pala

Collections. Fall, Prof. Massimiliano Max Pala Collections Fall, 2012 Prof. Massimiliano "Max" Pala pala@nyu.edu Overview Arrays Copy and Deep Copy Sets Dictionaries Examples Arrays Two Classes NSArray and NSMutableArray (subclass of NSArray) int main(int

More information

ios Document current as of 03/21/ :20 AM. Guides Installation Install SDL SDK

ios Document current as of 03/21/ :20 AM. Guides Installation Install SDL SDK Guides ios Document current as of 03/21/2017 09:20 AM. Installation In order to build your app on a SmartDeviceLink (SDL) Core, the SDL software development kit (SDK) must be installed in your app. The

More information

Introductory ios Development

Introductory ios Development Instructor s Introductory ios Development Unit 3 - Objective-C Classes Introductory ios Development 152-164 Unit 3 - Swift Classes Quick Links & Text References Structs vs. Classes Structs intended for

More information

HPE AppPulse Mobile. Software Version: 2.1. Adding AppPulse Mobile to Your ios App

HPE AppPulse Mobile. Software Version: 2.1. Adding AppPulse Mobile to Your ios App HPE AppPulse Mobile Software Version: 2.1 Adding AppPulse Mobile to Your ios App Document Release Date: November 2015 Contents How to Add HP AppPulse Mobile to Your ios App 3 Advanced Options 7 Crash Stack

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 UI Element of the Week UIToolbar ipad Split View Popover Universal (iphone + ipad) Application Demo Friday Section AVFoundation framework - Capturing and manipulating

More information

Mobile Application Development

Mobile Application Development Mobile Application Development Lecture 13 Introduction to ObjectiveC Part II 2013/2014 Parma Università degli Studi di Parma Lecture Summary Object creation Memory management Automatic Reference Counting

More information

epicurious Anatomy of an ios app Robert Tolar Haining June 25, 2010 ConvergeSE

epicurious Anatomy of an ios app Robert Tolar Haining June 25, 2010 ConvergeSE epicurious Anatomy of an ios app Robert Tolar Haining June 25, 2010 ConvergeSE + = Prototype iphone ipad Why iphone apps Simplicity Control Speed Revenue Epicurious Defined as a Recipe Utility Cookbook

More information

ITP 342 Mobile App Dev. Table Views

ITP 342 Mobile App Dev. Table Views ITP 342 Mobile App Dev Table Views Table Views The most common mechanism used to display lists of data to the user Highly configurable objects that can be made to look practically any way you want them

More information

Arise Documentation. Release 2.7. Arise.io

Arise Documentation. Release 2.7. Arise.io Arise Documentation Release 2.7 Arise.io January 31, 2014 Contents 1 Setup your first A/B test 3 1.1 Overview................................................. 3 1.2 Getting Started..............................................

More information

Sorting. Sorting. 2501ICT/7421ICTNathan. René Hexel. School of Information and Communication Technology Griffith University.

Sorting. Sorting. 2501ICT/7421ICTNathan. René Hexel. School of Information and Communication Technology Griffith University. 2501ICT/7421ICTNathan School of Information and Communication Technology Griffith University Semester 1, 2012 Outline 1 Sort Algorithms Many Sort Algorithms Exist Simple, but inefficient Complex, but efficient

More information