CSC 581: Mobile App Development

Slides:



Advertisements
Similar presentations
View-Based Application Development Lecture 1 1. Flows of Lecture 1 Before Lab Introduction to the Game to be developed in this workshop Comparison between.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Android UserInterfaces Nasrullah Niazi. overView All user interface elements in an Android app are built using View and ViewGroup objects. A View is an.
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Introducing new web content management tools for Priority...
® IBM Software Group © 2006 IBM Corporation Creating JSF/EGL Template Pages This section describes how to create.JTPL (Java Template Pages) using the Page.
CHAPTER 14 Formatting a Workbook Part 1. Learning Objectives Format text, numbers, dates, and time Format cells and ranges CMPTR Chapter 14: Formatting.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Xcode Presentation Tom Pletzke. Creating App from template Launch Xcode Select Tabbed Application.
Web Technologies Website Development Trade & Industrial Education
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
Website Development with Dreamweaver
iOS components in Swift
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
WORKBOOK FORMATTING Nolan Tomboulian Tomboulian.wikispaces.com HOW THINGS LOOK CELL COLORFONT COLOR CELL BORDERSFONT SIZE CELL SIZEFONT.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
User Interface Objects From Beginning iPhone 4 Development and The iPhone Developer’s Cookbook (Chapter 4)
Orientation Configuration adapting to orientation changes.
Creating Google Sites Laura Assem, Director of Technology.
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall.1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 8: Giving Meaning.
Lesson 6 Formatting Cells and Ranges. Objectives:  Insert and delete cells  Manually format cell contents  Copy cell formatting with the Format Painter.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Expertly position, stack, and group shapes Expertly position shapes One of the main reasons you create diagrams is that they’re much more efficient at.
Web Site Development - Process of planning and creating a website.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Lesson 4: Working with Charts and Tables
Creating Oracle Business Intelligence Interactive Dashboards
Microsoft Access 2007 – Level 2
iOS UI Components Sisoft Technologies Pvt Ltd
Practical Office 2007 Chapter 10
iOS - First Application Anatomy
Formatting Worksheet Elements
Mobile Application Development BSCS-7 Lecture # 8
Chapter A - Getting Started with Dreamweaver MX 2004
HW#9 IOS Clues CSCI571 Spring 2017
After completing this lesson, you will be able to:
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Tutorial 6: Managing Multiple Worksheets and Workbooks
Mobile Application Development Chapter 4 [Android Navigation and Interface Design] IT448-Fall 2017 IT448- Fall2017.
Visual programming Chapter 1: Introduction
UITableView API A table view is an instance of the UITableView class. Created given... an area on the screen, and A table style. Rows are created using.
Microsoft PowerPoint 2003 Illustrated Introductory
Chap 7. Building Java Graphical User Interfaces
EEC-492/693/793 iPhone Application Development
Graphical User Interfaces -- Introduction
“Placeholder for a quote to be animated here.”
Tutorial 3 – Creating a Multiple-Page Report
Formatting a Workbook Part 1
Ioannis Pavlidis Dinesh Majeti Ashik Khatri
Excel Chapter 1 Introduction to Excel
CSC 581: Mobile App Development
The work of moving ice Chapter 8 Animated snow scene (Difficult)
CSC 581: Mobile App Development
Floating and Positioning
Development with UIKit on Xamarin.ios
Microsoft Publisher 2016.
Apple Xcode with Swift Demo
EEC-492/693/793 iPhone Application Development
PowerPoint is for making high quality presentations
Charts A chart is a graphic or visual representation of data
Computer Science 10 & ICT 9 EXCEL
CSC 581: Mobile App Development
CSC 581: Mobile App Development
Microsoft Excel 2007 – Level 2
TERMS AND CONDITIONS   These PowerPoint slides are a tool for lecturers, and as such: YOU MAY add content to the slides, delete content from the slides,
Presentation transcript:

CSC 581: Mobile App Development Spring 2018 Unit 2: Introduciton to the UIKit UIKit, UIViews UIView subclasses UIControl subclasses

UIKit the UIKit is a code framework for building mobile apps the foundational class for all visual elements in the UIKit is the UIView (or just view) a view is a clear rectangular shape that is customized to display things on the screen UIView subclasses: UILabel – for displaying text UIImageView – for displaying images UIScrollView – for scrollable content most app screens consist of many views

UIView subclasses UILabel UIImageView UITextView UIScrollView for displaying text UIImageView for displaying images UITextView for entering and displaying multiline text UIScrollView for scrollable content

UIView subclasses UITableView UIToolbar UINavigationBar UITabBar for displaying data in a scrollable column of rows and sections UIToolbar for displaying a toolbar of buttons usually at the bottom of the screen UINavigationBar for displaying main navigational controls usually at the top of the screen UITabBar for displaying options for actions

UIControl subclasses UIButton UISegmentedControl UITextField UISlider can be clicked UISegmentedControl can select from visible options UITextField can enter text UISlider can select from a range UISwitch can turn on or off UIDatePicker can select a date

UIViewController recall that when you create a Single View App Xcode automatically creates several files and folders Main.storyboard is the template for the screen, used by Interface Builder ViewController.swift is a class that is derived from UIViewController typically, each screen in an app will have a scene in the storyboard each scene in the storyboard will have its own ViewController when you add an element to the screen (e.g., a button), it becomes a child view of the main view as we saw in HW1, can connect UI elements to the ViewController code by control-dragging into the code (and specifying Outlet to create a field, Action to create a method)

in-class / HW 2a review the UI elements in Lesson 2.7 follow the tutorial in Lesson 2.8 create an app with a UILabel at the top with your name a UIImageView and UILabel for a photo and description a UISegmentedControl to select among 3 photos/descriptions your app should look reasonable on different sized devices don't worry about rotations you may need to review Lesson 2.9

App layout the Add New Alignment Constraints button in Interface Builder (IB) allows you to center an element in the screen the Add New Constraints button in IB allows you to set the size of an element allows you to position an element relative to edges or other elements if you set constraints and the layout in IB does not match click on the Resolve Auto Layout button in IB

Stack views a stack view manages a row or column of UI elements select the elements and click on the Embed in Stack button stack views can be edited as a whole in the Attribute Editor vertical vs. horizontal axis fill vs. leading vs. center vs. trailing alignment fill vs. fill equally vs. fill proportionally distribution spacing amount have constraints applied as a whole can be embedded in other stack views

in-class / HW 2b review the layout details in Lesson 2.10 follow the tutorial in the Calculator Lab use layout and stack views to build a calculator interface UILabel at the top right for the number UIButtons for each of the calculator buttons add the functionality to this interface (should behave the same as the calculator in the Apple Launchpad) the CalculatorModel class is provided to help elegance is not the priority here