ITP 342 Mobile App Dev. Alerts

Size: px
Start display at page:

Download "ITP 342 Mobile App Dev. Alerts"

Transcription

1 ITP 342 Mobile App Dev Alerts

2 Alerts UIAlertController replaces both UIAlertView and UIActionSheet, thereby unifying the concept of alerts across the system, whether presented modally or in a popover. Unlike the classes it replaces, UIAlertController is a subclass of UIViewController. As such, alerts now benefit from the configurable functionality provided with view controller presentation. 2

3 Alerts UIAlertController is initialized with a title, message, and whether it prefers to be displayed as an alert or action sheet. Alert views are presented modally in the center of their presenting view controllers, whereas action sheets are anchored to the bottom. Alerts can have both buttons and text fields, while action sheets only support buttons. Rather than specifying all of an alert's buttons in an initializer, instances of a new class, UIAlertAction, are added after the fact. Refactoring the API in this way allows for greater control over the number, type, and order of buttons. It also does away with the delegate pattern favored by UIAlertView & UIActionSheet in favor of much more convenient completion handlers. 3

4 New Functionality UIAlertController is not just a cleanup of preexisting APIs, it's a generalization of them. With UIAlertController, it's possible to do a lot more out-of-the-box. Alert with Destructive Button Alert with >2 Buttons Login Form Sign Up Form 4

5 A Standard Alert 5

6 Using UIAlertView Deprecated in ios 8 Alert in ios 5-7 Put the following code in a method when you want to display an alert UIAlertView *alertview = [[UIAlertView alloc] initwithtitle:@"defaultstyle" message:@"the default alert view style" delegate:self cancelbuttontitle:@"cancel" otherbuttontitles:@"ok", nil]; [alertview show]; 6

7 Alert in ios 8 UIAlertController *alertcontroller = [UIAlertController alertcontrollerwithtitle:@"basic Alert Style" message:@"basic Alert With Buttons" preferredstyle:uialertcontrollerstylealert]; UIAlertAction *cancelaction = [UIAlertAction actionwithtitle:@"cancel" style:uialertactionstylecancel handler:^(uialertaction *action) { NSLog(@"Cancel action"); }]; UIAlertAction *okaction = [UIAlertAction actionwithtitle:@"ok" style:uialertactionstyledefault handler:^(uialertaction *action) { NSLog(@"OK action"); }]; [alertcontroller addaction:cancelaction]; [alertcontroller addaction:okaction]; [self presentviewcontroller:alertcontroller animated:yes completion:nil]; 7

8 Destructive Buttons UIAlertController *alertcontroller = [UIAlertController alertcontrollerwithtitle:@"basic Alert Style" message:@"basic Alert With Buttons" preferredstyle:uialertcontrollerstylealert]; UIAlertAction *cancelaction = [UIAlertAction actionwithtitle:@"cancel" style:uialertactionstylecancel handler:^(uialertaction *action) { NSLog(@"Cancel action"); }]; UIAlertAction *resetaction = [UIAlertAction actionwithtitle:@"reset" style:uialertactionstyledestructive handler:^(uialertaction *action) { NSLog(@"Reset action"); }]; [alertcontroller addaction:resetaction]; [alertcontroller addaction:cancelaction]; [self presentviewcontroller:alertcontroller animated:yes completion:nil]; 8

9 A Standard Action Sheet 9

10 Action Sheet in ios 5-7 Using UIActionSheet Deprecated in ios 8 Put the following code in a method when you want to display an action sheet UIActionSheet *actionsheet = [[UIActionSheet alloc] initwithtitle:@"is it story time?" delegate:self cancelbuttontitle:@"no" destructivebuttontitle:nil otherbuttontitles:@"absolutely", nil]; [actionsheet showinview:self.view]; 10

11 Action Sheet in ios 5-7 Use delegation // implement action sheet delegate method - (void) actionsheet: (UIActionSheet *) actionsheet clickedbuttonatindex: (NSInteger) buttonindex { } if (buttonindex!= [actionsheet cancelbuttonindex]) { [self createstory]; } 11

12 Action Sheet in ios 8 UIAlertController *alertcontroller = [UIAlertController alertcontrollerwithtitle:@"archive or Delete Data" message:@"deleted data cannot be undone" preferredstyle:uialertcontrollerstyleactionsheet]; UIAlertAction *cancelaction = [UIAlertAction actionwithtitle:@"cancel" style:uialertactionstylecancel handler:^(uialertaction *action) { /* code */ }]; UIAlertAction *deleteaction = [UIAlertAction actionwithtitle:@"delete" style:uialertactionstyledestructive handler:^(uialertaction *action) { /* code */ }]; UIAlertAction *archiveaction = [UIAlertAction actionwithtitle:@"archive" style:uialertactionstyledefault handler:^(uialertaction *action) { /* code */ }]; [alertcontroller addaction:cancelaction]; [alertcontroller addaction:deleteaction]; [alertcontroller addaction:archiveaction]; [self presentviewcontroller:alertcontroller animated:yes completion:nil]; 12

13 Action Sheet The previous code will work great on iphones The cancel button, if present, is always shown as the bottom of the view regardless of the order it was added to the alert controller. The other actions are shown top to bottom in the order they were added. The ios Human Interface Guidelines recommend that any destructive action is shown first. The previous code will create a runtime exception on ipads 13

14 Action Sheet on ipad The action sheet is displayed in a popover. A popover always requires an anchor point which can be a source view or a bar button item. We use a standard UIButton to trigger the action sheet so let's use it as the anchor point. A big difference in ios 8 is that we no longer need to write code to test for the interface idiom. The UIAlertController takes care of adapting to the display environment so we can simply ask it for a popover controller. On an iphone/compact width device this returns nil. 14

15 Action Sheet on ipad Add extra code to configure the popover // Create actionsheet and actions; add actions to actionsheet UIPopoverPresentationController *popover = actionsheet.popoverpresentationcontroller; if (popover) { popover.sourceview = sender; popover.sourcerect = sender.bounds; popover.permittedarrowdirections = UIPopoverArrowDirectionAny; } [self presentviewcontroller:actionsheet animated:yes completion:nil]; 15

16 Popover Problem If you compile your code, you may get the following error: Property "bounds" not found on object It's failing on the following line: popover.sourcerect = sender.bounds; Your sender is an id type which has no bounds property. You need to cast the sender to a UIButton which has a bounds property. 16

17 Option 1: Popover Solution Change your method signature such that the sender is cast to a UIButton. Example: - (IBAction) createstorybuttontapped: (UIButton *) sender { 17

18 Option 2: Popover Solution Inside the method, create a local variable of type UIButton. Then use that variable for the popover. Example: UIButton *createstorybutton = (UIButton *) sender; UIPopoverPresentationController *popover = actionsheet.popoverpresentationcontroller; if (popover) { popover.sourceview = createstorybutton; popover.sourcerect = createstorybutton.bounds; popover.permittedarrowdirections = UIPopoverArrowDirectionAny; } 18

19 Text Input Alerts 19

20 Text Input Alerts The greater flexibility of the UIAlertController means that you no longer need to be constrained by the built-in styles for plain text, secure text or login and password input alert views. We can add an arbitrary number of UITextField objects to the alert and use all of the standard UITextField configuration options. When you add the text field to the alert controller you specify a block that is used to configure the text field. 20

21 Text Input Alerts UIAlertController *alertcontroller = [UIAlertController alertcontrollerwithtitle:alerttitle message:alertmessage preferredstyle:uialertcontrollerstylealert]; [alertcontroller addtextfieldwithconfigurationhandler:^(uitextfield *textfield) { textfield.placeholder = }]; [alertcontroller addtextfieldwithconfigurationhandler:^(uitextfield *textfield) { textfield.placeholder = textfield.securetextentry = YES; }]; action") style:uialertactionstyledefault handler:^(uialertaction *action) { UITextField *login = alertcontroller.textfields.firstobject; UITextField *password = alertcontroller.textfields.lastobject;... }]; 21

22 Resources entation/uikit/reference/uialertcontroller_cl ass/ tcontroller-changes-in-ios-8.html 22

View Controller Advancements for ios8

View Controller Advancements for ios8 Frameworks #WWDC14 View Controller Advancements for ios8 Session 214 Bruce D. Nilo Manager, UIKit Fundamentals 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without

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

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

ITP 342 Mobile App Dev. Interface Components

ITP 342 Mobile App Dev. Interface Components ITP 342 Mobile App Dev Interface Components Human Interface Guidelines ios Human Interface Guidelines (HIG) https://developer.apple.com/ library/ios/documentation/us erexperience/conceptual/m obilehig/index.html

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

ReportPlus Embedded. ReportPlus Embedded - ios SDK Guide 1.0

ReportPlus Embedded. ReportPlus Embedded - ios SDK Guide 1.0 ReportPlus Embedded ios SDK Guide ReportPlus Embedded - ios SDK Guide 1.0 Disclaimer THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROVIDED AS IS WITHOUT ANY EXPRESS REPRESENTATIONS OF WARRANTIES. IN ADDITION,

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

Stanford CS193p. Developing Applications for ios. Spring Stanford CS193p. Spring 2012

Stanford CS193p. Developing Applications for ios. Spring Stanford CS193p. Spring 2012 Developing Applications for ios Today NSTimer and perform after delay Two delayed-action alternatives. More View Animation Continuation of Kitchen Sink demo Alerts and Action Sheets Notifying the user

More information

ITP 342 Mobile App Dev. Interface Fun

ITP 342 Mobile App Dev. Interface Fun ITP 342 Mobile App Dev Interface Fun Human Interface Guidelines ios Human Interface Guidelines https://developer.apple.com/ library/ios/documentation/ userexperience/conceptual/ MobileHIG/index.html 2

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

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

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

OVERVIEW. Why learn ios programming? Share first-hand experience. Identify platform differences. Identify similarities with.net

OVERVIEW. Why learn ios programming? Share first-hand experience. Identify platform differences. Identify similarities with.net OVERVIEW Why learn ios programming? Share first-hand experience. Identify platform differences. Identify similarities with.net Microsoft MVP for 4 years C#, WinForms, WPF, Silverlight Joined Cynergy about

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

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

A Better MVC. 300 line view controllers or bust. Dave A guy who thinks too deeply about stuff

A Better MVC. 300 line view controllers or bust. Dave A guy who thinks too deeply about stuff A Better MVC 300 line view controllers or bust Dave DeLong @davedelong A guy who thinks too deeply about stuff Heads Up This is all my opinion (! hi legal & pr teams!) Lots of similar terminology View

More information

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

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

More information

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

src3/bettertextfield/bettertextfield/appdelegate.h // AppDelegate.h // BetterTextField src3/bettertextfield/bettertextfield/appdelegate.h 1 1 1 1 AppDelegate.h BetterTextField Created by Tommy MacWilliam on 3/7/ Copyright (c) 2012 MyCompanyName. All rights reserved. #import

More information

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

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

More information

ITP 342 Mobile App Dev. Interface Builder in Xcode

ITP 342 Mobile App Dev. Interface Builder in Xcode ITP 342 Mobile App Dev Interface Builder in Xcode New Project From the Main Menu, select the File à New à Project option For the template, make sure Application is selected under ios on the left-hand side

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

Building GUIs with UIKit. Kevin Cathey

Building GUIs with UIKit. Kevin Cathey Building GUIs with UIKit Kevin Cathey Building GUIs with UIKit acm.uiuc.edu/macwarriors/devphone Building GUIs with UIKit What is UIKit? acm.uiuc.edu/macwarriors/devphone Building GUIs with UIKit What

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

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

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

More information

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

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

Cocoa, Objective C - Alert Panels!

Cocoa, Objective C - Alert Panels! Cocoa, Objective C - Alert Panels By Debasis Das March - 2014 1 of 13 Alerts are key to any application. Some of the usages of an application alerts are as - To display an informative message - To take

More information

Lesson 1: Hello ios! 1

Lesson 1: Hello ios! 1 Contents Introduction xxv Lesson 1: Hello ios! 1 ios Developer Essentials 1 A Suitable Mac 1 A Device for Testing 2 Device Differences 2 An ios Developer Account 4 The Official ios SDK 6 The Typical App

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

Create an App that will drop PushPins onto a map based on addresses that the user inputs.

Create an App that will drop PushPins onto a map based on addresses that the user inputs. Overview Create an App that will drop PushPins onto a map based on addresses that the user inputs. Part 1: Introduction to MKMapKit Part 2: Introduction to PushPins Part 3: Use Google s API to lookup an

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

Assignment III: Graphing Calculator

Assignment III: Graphing Calculator Assignment III: Graphing Calculator Objective You will enhance your Calculator to create a graph of the program the user has entered which can be zoomed in on and panned around. Your app will now work

More information

Community Mobile Patrol Officer User Guide v13.4

Community Mobile Patrol Officer User Guide v13.4 Community Mobile Patrol Officer User Guide v13.4 To download the PatrolLIVE App for the iphone: 1. On the iphone, go to the App Store and search for Guard Tour (Please note: The App is not supported on

More information

QuickPrints SDK for ios Version 3.3 August 06, 2014

QuickPrints SDK for ios Version 3.3 August 06, 2014 Introduction The QuickPrints SDK for ios (ipod Touch, iphone, and ipad) is a static library that provides a set of APIs that can be used to submit a photo print order to a Walgreens store. This document

More information

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

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

More information

Object-Oriented Programming in Objective-C

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

More information

ITP 342 Mobile App Dev. Unit Testing

ITP 342 Mobile App Dev. Unit Testing ITP 342 Mobile App Dev Unit Testing Testing Xcode provides you with capabilities for extensive software testing. Testing your projects enhances robustness, reduces bugs, and speeds the acceptance of your

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

SP4i HTML Builder for RDi

SP4i HTML Builder for RDi SP4i HTML Builder for RDi SmartPad4i HTML Builder - SystemObjects 2017 Page: 1 Introduction HTML Builder is a new SmatPad4i module. It s part of the SmartPad4i Development license, and it s installed automatically

More information

Structuring an App Copyright 2013 Apple Inc. All Rights Reserved.

Structuring an App Copyright 2013 Apple Inc. All Rights Reserved. Structuring an App App Development Process (page 30) Designing a User Interface (page 36) Defining the Interaction (page 42) Tutorial: Storyboards (page 47) 29 App Development Process Although the task

More information

ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout

ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout Overview : Today s Lecture Model View Controller Design Pattern Creating Views in Storyboard Connecting your Views to Code Auto

More information

Sage ACT! 2013 Pro & Premium Upgrade Guide for ACT! 2008/9 Users

Sage ACT! 2013 Pro & Premium Upgrade Guide for ACT! 2008/9 Users UPGRADE YOUR ACT! SOFTWARE Sage Pro & Premium Upgrade Guide Latest ACT! Updates: ACT 2013 ACT 2008/9 Works with Windows 7 & Microsoft Office 2010 X Supports Windows Small Business Server 2011 X Internet

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

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

Customer Progress s Enhancement

Customer Progress  s Enhancement Dealer Business Management Software for Contract Furniture Dealers Customer Progress Emails Enhancement Version 2.0 / January 2014 17.05.00 or higher This module and all associated changes throughout the

More information

The English School Network

The English School Network The English School Network What is my NetID? Your NetID is the only username and password that is used to access computer systems at The English School. Email, workstations and WIFI all use the same user

More information

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

Stanford CS193p. Developing Applications for ios. Fall CS193p. Fall Stanford Developing Applications for ios Today More about Documents Demo Use Codable to create a JSON representation of our document Store it in the filesystem Think better of that and let UIDocument store

More information

Please keep this document for your records. 3. Tap the FREE button. Once tapped, it will turn into the INSTALL button.

Please keep this document for your records. 3. Tap the FREE button. Once tapped, it will turn into the INSTALL button. Accessing CopWare s iphone Version of the California Peace Officers Legal Sourcebook Installation Instructions: Please keep this document for your records. 1. After purchasing our software for the iphone,

More information

ios SDK Documentation February 8 By Midtrans

ios SDK Documentation February 8 By Midtrans ios SDK Documentation February 8 By Midtrans 1 Table Of Contents Table Of Contents 2 Getting Started 3 Transaction flow 3 Supported Payment Methods 4 Security Aspects 4 Prerequisites 5 ios SDK 6 Installation

More information

Announcements. Today s Topics

Announcements. Today s Topics Announcements Lab 2 is due tonight by 11:59 PM Late policy is 10% of lab total per day late So -7.5 points per day late for lab 2 Labs 3 and 4 are posted on the course website Extensible Networking Platform

More information

ios Developer s Guide Version 1.0

ios Developer s Guide Version 1.0 HealthyFROGS ios Developer s Guide ios Developer s Guide Version 1.0 Tuesday May 7, 2013 2012-2013 Computer Science Department, Texas Christian University - All Rights Reserved HealthyFROGS ios Developer

More information

Stream iphone Sensor Data to Adafruit IO

Stream iphone Sensor Data to Adafruit IO Stream iphone Sensor Data to Adafruit IO Created by Trevor Beaton Last updated on 2019-01-22 04:07:41 PM UTC Guide Contents Guide Contents Overview In this learn guide we will: Before we start... Downloading

More information

2 P a g e P o w e r H o u s e C e r t i f y ( A M S ) 1. 1 U s e r G u i d e

2 P a g e P o w e r H o u s e C e r t i f y ( A M S ) 1. 1 U s e r G u i d e Content User Manual AMS Introduction... 5 The AMS Assessment Workflow... 5 Adding a Qualification to Your Site... 5 Assessment Certification Process... 5 The Learner Dashboard... 6 Learning Material...

More information

PrinterOn iphone and ipad app

PrinterOn iphone and ipad app PrinterOn iphone and ipad app Contents PrinterOn App... 2 iphone And ipad app... 3 Main Screen... 4 Print Queues... 5 Printing Photos... 6 Printing web pages... 7 Email attachment Printing... 8 Print Preview...

More information

User Experience: Windows & Views

User Experience: Windows & Views View Controller Programming Guide for ios User Experience: Windows & Views 2011-01-07 Apple Inc. 2011 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval

More information

XenData Alert Module Administrator Guide

XenData Alert Module Administrator Guide XenData Alert Module Administrator Guide Version 6.11 2006-2013 XenData Limited. All rights reserved. XenData is a trademark of XenData Limited. Document last modified date: 20 Dec 2013 Contents 1. Overview

More information

Outlook Getting Started QUICK. Source. Microsoft

Outlook Getting Started QUICK. Source. Microsoft Microsoft QUICK Outlook 2010 Source Getting Started The Outlook Window u v w x z Using the Backstage View The Backstage view allows you to quickly manage Outlook settings, such as Account Settings, Mailbox

More information

Documentation for the new Self Admin

Documentation for the new Self Admin Documentation for the new Self Admin The following documentation describes the structure of the new Self Admin site along with the purpose of each site section. The improvements that have been made to

More information

Announcements. Paparazzi 3 assignment is due Wednesday 2/17 This Friday s extra session will feature Evan Doll

Announcements. Paparazzi 3 assignment is due Wednesday 2/17 This Friday s extra session will feature Evan Doll CS193P - Lecture 11 iphone Application Development Text Input Presenting Content Modally 1 Announcements Paparazzi 3 assignment is due Wednesday 2/17 This Friday s extra session will feature Evan Doll

More information

iphone Application Programming Lecture 5: View Programming

iphone Application Programming Lecture 5: View Programming Lecture 5: View Programming Nur Al-huda Hamdan RWTH Aachen University Winter Semester 2015/2016 http://hci.rwth-aachen.de/iphone Name the UI Elements In the Screen 2 View Programming 3 View Programming

More information

CardValet Self-Service FAQs

CardValet Self-Service FAQs CardValet Self-Service FAQs General Questions What types of phones are supported by CardValet? What Citizens Bank cards are available within CardValet? How much does CardValet cost? Can I unsubscribe from

More information

Beginning Xamarin Development for the Mac

Beginning Xamarin Development for the Mac Beginning Xamarin Development for the Mac Create ios, watchos, and Apple tvos apps with Xamarin.iOS and Visual Studio for Mac Dawid Borycki www.allitebooks.com Beginning Xamarin Development for the Mac

More information

Cocoa: Multiple windows COSC346

Cocoa: Multiple windows COSC346 Cocoa: Multiple s COSC346 Window controller The behaviour of each is controlled by an NSWindowController object To create a new, create a new class that extends (abstract) NSWindowController When creating

More information

ITP 342 Mobile App Dev. Table Views

ITP 342 Mobile App Dev. Table Views ITP 342 Mobile App Dev Table Views Tables A table presents data as a scrolling, singlecolumn list of rows that can be divided into sections or groups. Use a table to display large or small amounts of information

More information

NATIVE APP INTERCEPTS on ios & ANDROID

NATIVE APP INTERCEPTS on ios & ANDROID ethnio tm NATIVE APP INTERCEPTS on ios & ANDROID VERSION NO. 2 CREATED JAN 17, 2018 ETHNIO, INC. 6121 W SUNSET BLVD LOS ANGELES, CA 90028 TEL (888) 879-7439 OVERVIEW There are two basic methods for implementing

More information

Walkthrough: Binding an ios Objective-C Library

Walkthrough: Binding an ios Objective-C Library Walkthrough: Binding an ios Objective-C Library Binding an existing ios Objective-C Library with Objective Sharpie Overview When working on ios, you might encounter cases where you want to consume a third-party

More information

ITP 342 Mobile App Dev. Unit Testing

ITP 342 Mobile App Dev. Unit Testing ITP 342 Mobile App Dev Unit Testing Testing Xcode provides you with capabilities for extensive software testing. Testing your projects enhances robustness, reduces bugs, and speeds the acceptance of your

More information

Mobile Banking Release August 8, 2016

Mobile Banking Release August 8, 2016 Please update your Presidio Mobile Banking app in the app store to version 5.2 in order for the following new features to be available on your device. Although our targeted live date is scheduled for Monday,

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

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

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

Running Code on an ios Device. Appendix. The ios Developer Program

Running Code on an ios Device. Appendix. The ios Developer Program ------- Appendix A Running Code on an ios Device Developing for ios is many things: challenging, fun, rewarding, and exciting. One thing it is not is free. To begin, doing any legitimate ios development

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

CSE 374 Programming Concepts & Tools

CSE 374 Programming Concepts & Tools CSE 374 Programming Concepts & Tools Hal Perkins Fall 2017 Lecture 8 C: Miscellanea Control, Declarations, Preprocessor, printf/scanf 1 The story so far The low-level execution model of a process (one

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

HTML version of slides:

HTML version of slides: HTML version of slides: http://people.mozilla.org/~bbirtles/pres/graphical-web-2014/ Animations can be used for more than just cat gifs. They can be used to tell stories too. Animation is essentially

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

Mobile Application Programming. Messaging and Delegation

Mobile Application Programming. Messaging and Delegation Mobile Application Programming Messaging and Delegation Color Chooser Color Chooser MFColorChooserView UIControl or UIView MFColorChooserWheelView UIControl MFColorChooserValueSliderView UIControl MFColorChooserAlphaSliderView

More information

Porting Objective-C to Swift. Richard Ekle

Porting Objective-C to Swift. Richard Ekle Porting Objective-C to Swift Richard Ekle rick@ekle.org Why do we need this? 1.2 million apps in the ios App Store http://www.statista.com/statistics/276623/numberof-apps-available-in-leading-app-stores/

More information

User Guide. Chapter 6. Teacher Pages

User Guide. Chapter 6. Teacher Pages User Guide Chapter 6 s Table of Contents Introduction... 5 Tips for s... 6 Pitfalls... 7 Key Information... 8 I. How to add a... 8 II. How to Edit... 10 SharpSchool s WYSIWYG Editor... 11 Publish a...

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

ITP 342 Mobile App Dev. Animation

ITP 342 Mobile App Dev. Animation ITP 342 Mobile App Dev Animation Views Views are the fundamental building blocks of your app's user interface, and the UIView class defines the behaviors that are common to all views. Responsibilities

More information

Swift, functional programming, and does it matter? Alexis

Swift, functional programming, and does it matter? Alexis Swift, functional programming, and does it matter? Alexis Gallagher @alexisgallagher Questions What s new in Swift? Is Swift a functional programming language? And what is functional anyway? How useful

More information

Mobile Client. Software User s Manual. IPhone/IPad Self-adaptive

Mobile Client. Software User s Manual. IPhone/IPad Self-adaptive idmss (IPad/IPhone) Mobile Client Software User s Manual IPhone/IPad Self-adaptive Contents 1 OVERVIEW... 2 1.1 General Introduction... 2 1.2 Feature... 2 1.3 Environment... 2 2 SOFTWARE INSTRUCTION...

More information

OPENVPN CLIENT: AUTORUN AND AUTOCONNECT. https://www.bestvpn.com/blog/11276/get-openvpn-autorun-autoconnect/

OPENVPN CLIENT: AUTORUN AND AUTOCONNECT. https://www.bestvpn.com/blog/11276/get-openvpn-autorun-autoconnect/ OPENVPN CLIENT: AUTORUN AND AUTOCONNECT https://www.bestvpn.com/blog/11276/get-openvpn-autorun-autoconnect/ At BestVPN we always recommend using OpenVPN, as by far it is always the most secure tunnelling

More information

CREATING ANNOUNCEMENTS. A guide to submitting announcements in the UAFS Content Management System

CREATING ANNOUNCEMENTS. A guide to submitting announcements in the UAFS Content Management System CREATING ANNOUNCEMENTS A guide to submitting announcements in the UAFS Content Management System Fall 2017 GETTING STARTED 1 First, go to news.uafs.edu. 2 Next, click Admin at the bottom of the page. NOTE:

More information

CS193P - Lecture 11. iphone Application Development. Text Input Presenting Content Modally

CS193P - Lecture 11. iphone Application Development. Text Input Presenting Content Modally CS193P - Lecture 11 iphone Application Development Text Input Presenting Content Modally 1 Announcements 2 Announcements Paparazzi 3 assignment is due Wednesday 2/17 2 Announcements Paparazzi 3 assignment

More information

Writing Great Alerts. Design #WWDC17. Natalie Calvert, Designer

Writing Great Alerts. Design #WWDC17. Natalie Calvert, Designer Session Design #WWDC17 Writing Great Alerts 813 Natalie Calvert, Designer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. When

More information

MVC & Onwards. CS 442: Mobile App Development Michael Saelee

MVC & Onwards. CS 442: Mobile App Development Michael Saelee MVC & Onwards CS 442: Mobile App Development Michael Saelee Agenda - Recap: view-controller communication - Delegation as a general pattern - Observer pattern - Controller responsibilities & MVC - Multiple

More information

Using Voodoo SMS within Zapier

Using Voodoo SMS within Zapier Using Voodoo SMS within Zapier B ULK SMS MARKETING Requirements This plug-in has the following requirements: Zapier Account - Zapier have different types of plans, see the pricing page for more information.

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

Enhancing your apps for the next dimension of touch

Enhancing your apps for the next dimension of touch App Frameworks #WWDC16 A Peek at 3D Touch Enhancing your apps for the next dimension of touch Session 228 Tyler Fox UIKit Frameworks Engineer Peter Hajas UIKit Frameworks Engineer 2016 Apple Inc. All rights

More information

Secure Your First BlackBerry Dynamics App

Secure Your First BlackBerry Dynamics App Hong Kong 2018 Hong Kong 2018 Secure Your First BlackBerry Dynamics App EK Choi, Enterprise Solutions Manager Build Integration Dynamics runtime is for secure mobile and desktop applications Exposes capabilities

More information

Version 1.1. Mobile Optimisation

Version 1.1. Mobile Optimisation Version 1.1 1 Table Of contents 1. Introduction. Page 3 1.1. SmartPay mobile payment pages... Page 3 1.2. A simple and straight forward Multi page..page 3 2. How to integrate...page 4 2.1. Option 1: native

More information

Mobile Phone Monitor Software User s Manual

Mobile Phone Monitor Software User s Manual Mobile Phone Monitor Software User s Manual Version 3.0.0 Table of Contents 1 OVERVIEW... 3 1.1 General Introduction... 3 1.2 Feature... 3 1.3 Environment... 3 2 SOFTWARE INSTALLATION... 4 3 DVR SETUP...

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

CHI Easy Access: Register From on the CHI Network

CHI Easy Access: Register From on the CHI Network CHI Easy Access: Register From on the CHI Network Go to chieasyaccess.org and click "Register Now." You'll see the screen below. Your CHI Easy Access account is configured to use the same password you

More information

ios 9 SDK Development

ios 9 SDK Development Extracted from: ios 9 SDK Development Creating iphone and ipad Apps with Swift This PDF file contains pages extracted from ios 9 SDK Development, published by the Pragmatic Bookshelf. For more information

More information

Applying Code Generation Approach in Fabrique Kirill Kalishev, JetBrains

Applying Code Generation Approach in Fabrique Kirill Kalishev, JetBrains november 2004 Applying Code Generation Approach in Fabrique This paper discusses ideas on applying the code generation approach to help the developer to focus on high-level models rather than on routine

More information