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.
|
|
- Basil Jefferson
- 5 years ago
- Views:
Transcription
1 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 Select Single View Application and click Next In the Product Name field, name your project WordPlay In the Organization Name field, enter your school s name In the Organization Identifier field, enter com.yourschoolname Set Language to Swift Set Devices to Universal Click Next Choose where you want the project folder to save and click Create Embed in Naviagation Controller Select Main.storyboard on the Navigation panel (on the left hand side of the screen) Select the viewcontroller by clicking on the yellow icon at the top of the storyboard Go the the very top of xcode and under the Editor tab, select Embed In...Navigation Controller Zoom out and align the two controller windows Double click on the top of the viewcontroller Creating a new UIViewController In the storyboard, zoom out so you can see both controller panes. Search for a UIViewController in the object library Drag the resulting UIViewController on to your Storyboard Align it with the other controllers On the top left, select File...New...File Select ios..source...cocca Touch Class. Click Next
2 Name the class SecondViewController and make sure it says Subclass of UIViewController and its language is swift. Click next and create Connecting the new viewcontroller in storyboard and secondviewcontroller.swift file Select Main.storyboard on the Navigation panel (on the left hand side of the screen) Double click on the top of the new viewcontroller. Click on the identity inspector in the Utilities pane. Under Custom Class...class, select SecondViewController. Repeat for Third and Fourth ViewControllers Create a new UIViewController.swift file (name it ThirdViewController and FourthViewController) Connecting the new viewcontroller in storyboard and (ThirdViewController.swift/FourthViewController.swift) file Add a Label Select your first view controller named ViewController in the storyboard. Click on the top bar of ViewController in the storyboard and center it in the window. Search for a UILabel in the object library (located at the bottom of the Utilities Panel on the right hand side of the screen) Drag the resulting Label on to your ViewController in Storyboard until you get the intersection of the blue layout guideline at the top and blue layout guideline indicating the center of the storyboard. Double Click on the label and title it Input a noun Re center your UILabel Add a UITextField to ViewController Search for a UITextField in the object library (located at the bottom of the Utilities Panel on the right hand side of the screen) Drag the resulting TextField on to your ViewController in Storyboard below your Input a Noun Label and into the center of the storyboard.
3 Add the UITextField Delegate Control Click on your TextField and drag up to the yellow viewcontroller icon at the top of the storyboard and release. Select delegate under the Outlets heading. Add a UIButton Search for a UIButton in the object library Drag the resulting UIButton on to your ViewController in Storyboard below your text field and into the center of the storyboard. Double Click on the label and title it Add Re center your UIButton Add Constraints to your Label Select your label Look for the Layout menu options (at the bottom of the Main.storyboard) We need to align our label so it always stays in the center of the screen (whether the app is run on an iphone 4, iphone 5, or an ipad) So first go into the Align layout settings and check off Horizontal Center in container Click Add 1 Constraint Go into the Pin settings, select the line at the top of the view and pin it with a value of 26. Click the Add 1 Constraint Button Add Constraints to your TextField Select your TextField Go into the Align layout settings and check off Horizontal Center in container Click Add 1 Constraint. Go into the Pin settings, select the line at the top of the view and pin it with a value of whatever you want. Also check off the Height and Width checkboxes. Click Add 3 Constraints.
4 Add Constraints to your UIButton Select your UIButton Go into the Align layout settings and check off Horizontal Center in container Click Add 1 Constraint Go into the Pin settings, select the line at the top of the view and pin it with a value of whatever you want. Click Add 1 Constraint. Creating the segue between view controllers Go back to the first viewcontroller and control click on the Add button. Drag until you get to the second viewcontroller and let go. Select Action Segue...Show Repeat the following sections for secondviewcontroller and thirdviewcontroller Add a Label (name it Input a verb and Input an adjective ) Add a UITextField Add the UITextField Delegate Add a UIButton Add Constraints to your Label Add Constraints to your TextField Add Constraints to your UIButton Creating the segue between viewcontrollers Adding textview on Fourth View Controller Double click on the top of the fourth viewcontroller. Search for a UITextView in the object library Drag the resulting TextView on to your fourth ViewController in Storyboard Resize to use up all the viewcontroller except for the Navigation Bar. Go into the Pin settings, select the line at the top, bottom, right and left of the view and pin it with a value of 0,0, 16,16 respectively.
5 Hook your TextFields and TextView up to IBOutlets Hide the Utilities Pane on the top right corner by selecting the right most picture. Select the Assistant Editor (On the top right of the screen ) Shortcut: While holding down the option key, click your ViewController.swift file in the left hand Navigation Panel. Option + Click automatically brings up the selected file into the Assistant Editor view Move back to the first viewcontroller and click on the top. You should now see your Main.storyboard and ViewController.swift displayed side by side. If you do not, make sure that you have the top right pane set to automatic. Select your TextField in the Storyboard, and while holding down the control key, drag an outlet to ViewController.swift Drag the outlet below the class instantiation, but above the viewdidload method Name the outlet mytextfield and click Connect Now navigate to the top of the second viewcontroller, click on it and repeat the process of creating an IBOutlet for SecondViewController Repeat for ThirdViewController Repeat for FourthViewController with TextView. Name it mytextview Creating MadLib Class File and MadLib class to Store Story Select the WordPlay folder on the Navigation Panel. Now click File...New...File from the top of xcode. Select ios...source...swift File and click Next Name the file MadLib in the save as field and click Create. Go inside of the MadLib.swift file and create the MadLib class with the code: class MadLib Inside the class, create three properties to store the noun, verb and adjective. var noun:string = var verb:string = var adjective:string = Create an Object of the class Under your IBOutlet, create an instance of the class MadLib by typing: var mymadlib1 = MadLib() Repeat for each of the four viewcontrollers. Name each mymadlib# representing each viewcontroller.
6 Create prepareforsegue Inside of your first viewcontroller, type prepareforsegue and allow the autocompletion to finish the function. Inside prepareforsegue, we need to create an instance of the viewcontroller we are going to. To do this type the following code: var nvc = segue.destinationviewcontroller as! SecondViewController Get the noun out of the textfield and put it into the noun of the mymadlib object by typing the code: mymadlib1.noun = mytextfield.text Now place the noun from viewcontroller into the noun in the second viewcontroller by typing: nvc.mymadlib2 = mymadlib1 Inside of your second viewcontroller, type prepareforsegue and allow the autocompletion to finish the function. Inside prepareforsegue, we need to create an instance of the viewcontroller we are going to. To do this type the following code: var nvc = segue.destinationviewcontroller as! ThirdViewController Get the verb out of the textfield and put it into the verb of the mymadlib object by typing the code: mymadlib2.verb = mytextfield.text Now place the MadLib object from viewcontroller into the MadLib object in the third viewcontroller by typing: nvc.mymadlib3 = mymadlib2 Inside of your third viewcontroller, type prepareforsegue and allow the autocompletion to finish the function. Inside prepareforsegue, we need to create an instance of the viewcontroller we are going to. To do this type the following code: var nvc = segue.destinationviewcontroller as! FourthViewController Get the adjective out of the textfield and put it into the adjective of the mymadlib object by typing the code: mymadlib3.adjective = mytextfield.text Now place the MadLib object from viewcontroller into the MadLib object in the fourth viewcontroller by typing: nvc.mymadlib4 = mymadlib3 Displaying Story in the Fourth ViewController Inside your fourth viewcontroller, go to viewdidload and begin under super.viewdidload() Since all three words are inside your MadLib object, you simply need to place them into a String and then place that String into the TextView. Accomplish this by typing the code: mytextview.text = "There once was a \(mymadlib4.noun) that " + "\(mymadlib4.verb) with the very \(mymadlib4.adjective)" + " giant."
7 Stretch #1 Creating IBOutlets for Buttons Hide the Utilities Pane on the top right corner by selecting the right most picture. Select the Assistant Editor (On the top right of the screen ) Shortcut: While holding down the option key, click your ViewController.swift file in the left hand Navigation Panel. Option + Click automatically brings up the selected file into the Assistant Editor view Move back to the first viewcontroller and click on the top. You should now see your Main.storyboard and ViewController.swift displayed side by side. If you do not, make sure that you have the top right pane set to automatic. Select your Add Button in the Storyboard, and while holding down the control key, drag an outlet to ViewController.swift Drag the outlet below the class instantiation, but above the viewdidload method Name the outlet mybutton and click Connect Now navigate to the top of the second viewcontroller, click on it and repeat the process of creating an IBOutlet for SecondViewController Repeat for ThirdViewController Disable and Enable Button In ViewController.swift, add the code mybutton.enabled = false to viewdidload Import the delegate on the top line of the viewcontroller. We should now have: class ViewController: UIViewController, UITextFieldDelegate Select the delegate method shouldchangecharactersinrange. Add the code: if mytextfield.text!= mybutton.enabled = true return true Do the same for SecondViewController.swift and ThirdViewController.swift Stretch #2 Go to the MadLib class, create the function getstory that will receive no arguments, but will return a String func getstory() > String We want to return the story as a String. This time we want to use only the identifiers, noun, verb and adjective. We do not have an object. return There once was a \(noun) that \(verb) with the very \(adjective) giant.
8 Finally, go to FourthViewController and modify the line that places the story into the textview. It should now be: mytextview.text = getstory() Stretch #3 Inside of viewdidload on SecondViewController.swift we want to add the line of code: navigationitem.title = mymadlib2.noun Inside of viewdidload on ThirdViewController.swift we want to add the line of code: navigationitem.title = mymadlib3.noun +, + mymadlib3.verb Inside of viewdidload on FourthViewController.swift we want to add the line of code: navigationitem.title = mymadlib4.noun +, + mymadlib4.verb +, + mymadlib4.adjective Stretch #4 Inside of MadLib.swift we want to include the code: var attributedstring = NSMutableAttributedString() var mystring = String() func getattributedstory() > NSMutableAttributedString mystring = getstory() attributedstring = NSMutableAttributedString(string: mystring) changestringcolor(noun, color: UIColor.blueColor()) changestringcolor(verb, color: UIColor.blueColor()) changestringcolor(adjective, color: UIColor.blueColor()) let stringlength = attributedstring.length let font = UIFont(name: "Helvetica Bold", size: 15.0) attributedstring.addattribute(nsfontattributename, value: font!, range: NSMakeRange(0, stringlength)) return attributedstring func changestringcolor(word: String, color: UIColor) let regularexpression = NSRegularExpression(pattern: word, options: nil, error: nil) let regularmatches = regularexpression!.matchesinstring(mystring, options: nil, range: NSMakeRange(0, attributedstring.length)) for regularmatch in regularmatches let wordrange = regularmatch.rangeatindex(0) attributedstring.addattribute(nsforegroundcolorattributename, value: color, range: wordrange)
9 Now we want to modify FourthViewController.swift for viewdidload to have the line: mytextview.attributedtext = mymadlib4.getattributedstory() Stretch #5 Create a new swift file named UIColor, in it create an extension to the UIColor class. The code below can have any values sent to the red, green and blue values. They do not need to be the same as below. import UIKit extension UIColor class func nouncolor() > UIColor return UIColor(red: 255/255, green: 251/255, blue: 1/255, alpha: 1.0) class func verbcolor() > UIColor return UIColor(red: 232/255, green: 138/255, blue: 3/255, alpha: 1.0) class func adjectivecolor() > UIColor return UIColor(red: 134/255, green: 3/255, blue: 232/255, alpha: 1.0) Then modify the MadLib.swift file to have the new colors. changestringcolor(noun, color: UIColor.nounColor()) changestringcolor(verb, color: UIColor.verbColor()) changestringcolor(adjective, color: UIColor.adjectiveColor())
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 informationITP 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 informationCSC 581: Mobile App Development Spring 2018
CSC 581: Mobile App Development Spring 2018 Unit 2: Introduciton to the UIKit UIKit, UIViews UIControl subclasses 1 UIKit the UIKit is a code framework for building mobile apps the foundational class for
More informationMy 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 informationBuilding Mapping Apps for ios With Swift
Building Mapping Apps for ios With Swift Jeff Linwood This book is for sale at http://leanpub.com/buildingmappingappsforioswithswift This version was published on 2017-09-09 This is a Leanpub book. Leanpub
More informationS 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 informationMy 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 informationlecture 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 information1 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 informationMobile 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 informationCSC 581: Mobile App Development Spring 2019
CSC 581: Mobile App Development Spring 2019 Unit 1: Getting Started with App Development Xcode installing XCode, creating a project, MVC pattern interface builder, storyboards, object library outlets vs.
More informationLearn to make desktop LE
HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make desktop LE P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 Storm Viewer Get started coding in Swift by making an image viewer
More informationBuilding the App - Part 5 - Adding a Link
Unit 4 - Coding For Your App Copy and Paste the code below exactly where the tutorials tell you. DO NOT COPY TEXT IN RED. Building the App - Part 5 - Adding a Link XCODE 7 @IBAction func Button1(_ sender:
More informationTables. 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 informationios Development - Xcode IDE
ios Development - Xcode IDE To develop ios applications, you need to have an Apple device like MacBook Pro, Mac Mini, or any Apple device with OS X operating system, and the following Xcode It can be downloaded
More informationIn the first class, you'll learn how to create a simple single-view app, following a 3-step process:
Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,
More informationios 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 informationIntroductory 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 informationITP 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 informationios 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 informationMobile Application Development
Mobile Application Development Lecture 16 Controllers of View Controllers 2013/2014 Parma Università degli Studi di Parma Lecture Summary Multiple MVCs UINavigationController Segues UITabBarController
More informationUI 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 informationThe MVC Design Pattern
The MVC Design Pattern The structure of iphone applications is based on the Model-View-Controller (MVC) design pattern because it benefits object-oriented programs in several ways. MVC based programs tend
More informationStructuring 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 informationRegistering for the Apple Developer Program
It isn t necessary to be a member of the Apple Developer Program if you don t intend to submit apps to the App Stores, or don t need the cloud-dependent features. We strongly recommend joining, though,
More informationios Development Lecture 3 Controllers of View Controllers Ing. Simone Cirani
ios Development Lecture 3 Controllers of View Controllers Ing. Simone Cirani email: simone.cirani@unipr.it http://www.tlc.unipr.it/cirani Corso IFTS Cisita ios Development 2014 Parma Università degli Studi
More informationADVANCED M A. Learn SiriKit, imessage apps, rich notifications, and more. with real-world projects HACKING WITH SWIFT COMPLETE TUTORIAL COURSE
HACKING WITH SWIFT ADVANCED ios VOLUME ONE COMPLETE TUTORIAL COURSE Learn SiriKit, imessage apps, E L P rich notifications, and more M A S with real-world projects E E FR Paul Hudson Chapter 1 Happy Days
More informationObjectives. 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 informationios 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 informationCollection Views Hands-On Challenges
Collection Views Hands-On Challenges Copyright 2015 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
More informationTip Calculator App Introducing Swift, Text Fields, Sliders, Outlets, Actions, View Controllers, Event Handling, NSDecimalNumber,
3 Tip Calculator App Introducing Swift, Text Fields, Sliders, Outlets, Actions, View Controllers, Event Handling, NSDecimalNumber, NSNumberFormatter and Automatic Reference Counting Objectives In this
More informationStream 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 informationMac 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 informationStanford 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 informationCSE 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 informationITP 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 informationITP 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 informationWorking with Text, Keyboards, and Buttons
HOUR 7 Working with Text, Keyboards, and Buttons What You ll Learn in This Hour: u How to use text fields u Input and output in scrollable text views u How to enable data detectors u A way to spruce up
More informationNavigation and Segues
Navigation and Segues Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Multiple views Segues Navigation
More informationHACKING WITH SWIFT. Practical. ios 10 COMPLETE TUTORIAL COURSE. Learn to develop apps. for ios 10 by building MP. real-world projects E S
HACKING WITH SWIFT Practical ios 10 COMPLETE TUTORIAL COURSE Learn to develop apps E L for ios 10 by building MP A real-world projects E S E FR Paul Hudson Chapter 1 Happy Days www.hackingwithswift.com
More informationITP 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 informationIOS - 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 informationView 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 informationCorrections 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 informationITP 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 informationWidget 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 informationStanford 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 informationMobile Development Lab 3
Mobile Development Lab 3 Objectives Illustrate closures through examples Have fun with maps, location and geolocation Have fun with animations Closures implemented in Swift Closures are self-contained
More informationios Application Development Hello World App Rubric
ios Application Development Hello World App Rubric 1 HelloWorld App Rubric Unsatisfactory Needs Revision Proficient Exemplary There s indication that you (student) struggle to grasp concepts. Although
More informationCOMPLETE TUTORIAL COURSE. Learn to make tvos LE. apps with real-worldam S F
HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make tvos LE P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 Randomly Beautiful 2 www.hackingwithswift.com Setting up In this first
More informationDocument 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 informationTable of Contents. ios Spellbook
Table of Contents 1. Introduction 2. First Steps 3. App Anatomy 4. Views 5. Working with Colors 6. Animations 7. Touch Events and Gesture Recognizers 8. Simple UI Components 9. Auto Layout 10. View Controllers
More informationAssignment 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 informationMy First Cocoa Program
My First Cocoa Program 1. Tutorial Overview In this tutorial, you re going to create a very simple Cocoa application for the Mac. Unlike a line-command program, a Cocoa program uses a graphical window
More informationAssignment 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 informationHACKING WITH SWIFT. Practical. ios 11 COMPLETE TUTORIAL COURSE. Learn the powerful new. features in ios 11 by MP. building real-world Eapps
HACKING WITH SWIFT Practical ios 11 COMPLETE TUTORIAL COURSE Learn the powerful new E L features in ios 11 by MP A S building real-world Eapps E FR Paul Hudson Project 1 Trade My Tesla Ease yourself into
More informationITP 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 informationAssignment III: Graphing Calculator
Assignment III: Graphing Calculator Objective The goal of this assignment is to reuse your CalculatorBrain and CalculatorViewController objects to build a Graphing Calculator for iphone and ipad. By doing
More informationMiscellaneous Topics
Miscellaneous Topics Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Renaming Xcode project and
More informationIndex. btndrop function, 224, 226 btngetquote function, 246 btnpressed function, 28 btnquote method, 245. CallWeb method, 238, 240
Index A App icons section icons set, 277 LaunchImage, 278 launch screen graphics, 278 279 PNG format, 277 settings, 276 App store deployment application graphics, 273 general settings Identity section,
More informationGerontechnology II. Collecting Smart Phone Sensor Data for Gerontechnology. Using ios
Gerontechnology II Collecting Smart Phone Sensor Data for Gerontechnology Using ios Introduction to ios ios devices and sensors Xcode Swift Getting started with Sensor App ios Devices ipad iphone Apple
More informationLearn to make ios apps
HACKING WITH SWIFT PROJECTS 1-39 Learn to make ios apps E L P with real projects SAM E E FR Paul Hudson Project 1 Storm Viewer Get started coding in Swift by making an image viewer app and learning key
More informationIntroduction to WatchKit. CS193W - Spring Lecture 1
Introduction to WatchKit CS193W - Spring 2016 - Lecture 1 appleᴡᴀᴛᴄʜ Released April 24, 2015 No updates to the hardware yet. Three collections, over 30 models Two sizes The Screen OLED (organic light-emitting
More informationios 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 informationDeveloping Applications for ios
Developing Applications for ios Lab 2: RPN Calculator App (1 of 3) Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Task 1 Task: Create a new application
More informationLearn to make watchosle
HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make watchosle P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 NoteDictate 2 www.hackingwithswift.com Setting up In this project
More informationCustomize the Navigation Pane
Page 1 of 7 Microsoft Office Outlook Home > Products > Outlook > Outlook 2007 Help and How-to > Search and navigation > Navigation pane Customize the Navigation Pane Applies to: Microsoft Office Outlook
More informationApple Watch Docs. Release 0.1. Michael Hahn
Apple Watch Docs Release 0.1 Michael Hahn Nov 20, 2017 Contents 1 First Watch Glance 3 1.1 Create an iphone App.......................................... 3 1.2 Add WatchKit Targets..........................................
More informationMOBILOUS INC, All rights reserved
8-step process to build an app IDEA SKETCH CONCEPTUALISE ORGANISE BUILD TEST RELEASE SUBMIT 2 I want to create a Mobile App of my company which only shows my company information and the information of
More informationCollection Views. Dr. Sarah Abraham
Collection Views Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 What is a Collection View? Presents an ordered set of data items in a flexible layout Subclass of UIScrollView (like UITableView)
More informationStanford CS193p. Developing Applications for ios. Fall CS193p. Fall
Stanford Developing Applications for ios Today Drag and Drop Transferring information around within and between apps. EmojiArt Demo Drag and drop an image to get our EmojiArt masterpieces started. UITableView
More informationITP 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 informationChapter 2 Welcome App
2.1 Introduction Chapter 2 Welcome App 1. A app is an app that can run on iphones, ipod touches and ipads. a. multi-purpose b. global c. unrestricted d. universal Ans: d. universal 2. You can your apps
More informationStatus Bar: Right click on the Status Bar to add or remove features.
Excel 2013 Quick Start Guide The Excel Window File Tab: Click to access actions like Print, Save As, etc. Also to set Excel options. Ribbon: Logically organizes actions onto Tabs, Groups, and Buttons to
More informationImplementing UI Designs in Interface Builder
Developer Tools #WWDC15 Implementing UI Designs in Interface Builder Session 407 Kevin Cathey Interface Builder Engineer Tony Ricciardi Interface Builder Engineer 2015 Apple Inc. All rights reserved. Redistribution
More informationStanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015
Stanford CS193p Developing Applications for ios Today UITextField Bonus Topic! Table View A UIView for displaying long lists or tables of data UITextField Like UILabel, but editable Typing things in on
More informationCocoa 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 informationInstructions for Formatting MLA Style Papers in Microsoft Word 2010
Instructions for Formatting MLA Style Papers in Microsoft Word 2010 To begin a Microsoft Word 2010 project, click on the Start bar in the lower left corner of the screen. Select All Programs and then find
More informationios 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 informationCS193P: HelloPoly Walkthrough
CS193P: HelloPoly Walkthrough Overview The goal of this walkthrough is to give you a fairly step by step path through building a simple Cocoa Touch application. You are encouraged to follow the walkthrough,
More informationMobile 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 informationVisualPST 2.4. Visual object report editor for PowerSchool. Copyright Park Bench Software, LLC All Rights Reserved
VisualPST 2.4 Visual object report editor for PowerSchool Copyright 2004-2015 Park Bench Software, LLC All Rights Reserved www.parkbenchsoftware.com This software is not free - if you use it, you must
More informationlet w = UIWindow(frame: UIScreen.mainScreen().bounds)
PART I Views The things that appear in your app s interface are, ultimately, views. A view is a unit of your app that knows how to draw itself. A view also knows how to sense that the user has touched
More informationSocial 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 informationS A M P L E C H A P T E R
SAMPLE CHAPTER Anyone Can Create an App by Wendy L. Wise Chapter 2 Copyright 2017 Manning Publications brief contents PART 1 YOUR VERY FIRST APP...1 1 Getting started 3 2 Building your first app 14 3 Your
More informationMore Skills 11 Format and Position Report Controls
= CHAPTER 5 Access More Skills 11 Format and Position Report Controls Controls can be aligned using buttons on the Ribbon. Using the Ribbon s alignment tools can be quicker and more accurate than positioning
More informationDesigning 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 informationITP 342 Mobile App Dev. Collection View
ITP 342 Mobile App Dev Collection View Collection View A collection view manages an ordered collection of items and presents them in a customizable layout. A collection view: Can contain optional views
More informationITP 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 informationiphone 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 informationAssignment II: Calculator Brain
Assignment II: Calculator Brain Objective You will start this assignment by enhancing your Assignment 1 Calculator to include the changes made in lecture (i.e. CalculatorBrain, etc.). This is the last
More informationXcode 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 informationRx in the real world. 1 Rob Ciolli
Rx in the real world 1 Rob Ciolli 2 Rob Ciolli 3 Rob Ciolli The App 4 Rob Ciolli Quick architecture overview 5 Rob Ciolli MV - WTF 6 Rob Ciolli Model Simple, immutable data struct returned from DB or APIs
More informationCreating labels in Ticket 2000.
Creating labels in Ticket 2000. Ticket 2000 must be open and ready Option One: NEW LABEL: Click on FILES ICON and in the left hand column select New Label Click on the Common Tab and click once on Thermal
More informationMultimedia web page Board
Page where the users have a space (board) to create their own compositions with graphics and texts previously inserted by the author; furthermore, the users will be able to write their own texts: Multimedia
More informationElectronic Portfolios in the Classroom
Electronic Portfolios in the Classroom What are portfolios? Electronic Portfolios are a creative means of organizing, summarizing, and sharing artifacts, information, and ideas about teaching and/or learning,
More informationCreating a Title Block & Border Using Chief Architect. Architectural Design & Residential Construction Penncrest High School
Creating a Title Block & Border Using Chief Architect Architectural Design & Residential Construction Penncrest High School 2017-2018 Select New Layout to begin designing your Title Block. Note: Once the
More informationNauticom NetEditor: A How-to Guide
Nauticom NetEditor: A How-to Guide Table of Contents 1. Getting Started 2. The Editor Full Screen Preview Search Check Spelling Clipboard: Cut, Copy, and Paste Undo / Redo Foreground Color Background Color
More informationWhat s New in the GM EPC
What s New in the GM EPC The GM Next Gen EPC has numerous new features designed to make finding the right part faster and easier. For detailed instructions on using each feature, select User Guide from
More informationNews- 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