iOS UI Components Sisoft Technologies Pvt Ltd

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

© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Chapter 3 – Web Design Tables & Page Layout
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Create a calculator– 2nd iPhone programming exercise CSE 391 Fall 2012.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
Getting Started with Adobe Dreamweaver CS6. Unit Objectives Define web design software Start Adobe Dreamweaver CS6 View the Dreamweaver workspace Work.
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Advanced User Guide to Outlook and all its features.
Web Technologies Website Development Trade & Industrial Education
Favorite Twitter® Searches App Android How to Program © by Pearson Education, Inc. All Rights Reserved.
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
Website Development with Dreamweaver
iOS components in Swift
Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® Copyright 2012 Adobe.
Office of Educational Technology School District of Philadelphia Introduction to Sites Google Sites This presentation is available at
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 3 Welcome Application Introduction to Visual Programming.
IOS with Swift Hello world app.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
User Interface Objects From Beginning iPhone 4 Development and The iPhone Developer’s Cookbook (Chapter 4)
User Interface Components Lecture # 5 From: interface-elements.html.
PestPac Software. Leads The Leads Module allows you to track all of your pending sales for your company from the first contact to the close. By the end.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
ANDROID LAYOUTS AND WIDGETS. Slide 2 Introduction Parts of the Android screen Sizing widgets and fonts Layouts and their characteristics Buttons, checkboxes.
Chapter 8 Using Document Collaboration, Integration, and Charting Tools Microsoft Word 2013.
Pasewark & Pasewark 1 Windows Vista Lesson 1 Windows Vista Basics Microsoft Office 2007: Introductory.
Dive Into® Visual Basic 2010 Express
Introduction to iOS App Development Environment
4.2 Microsoft Word.
Drawing And Animations
Java FX: Scene Builder.
IOS Design Patterns Sisoft Technologies Pvt Ltd
Integrating Office 2003 Applications and the World Wide Web
Add More Zing to your Dashboards – Creating Zing Plot Gadgets
Notification Sisoft Technologies Pvt Ltd
iOS - First Application Anatomy
Learning the Basics – Lesson 1
User Interface Components
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Chapter 2 – Introduction to the Visual Studio .NET IDE
Media Library Sisoft Technologies Pvt Ltd
View-Controller Family
Getting Started with Dreamweaver
What is UI Element in iPhone Development?
Chap 7. Building Java Graphical User Interfaces
EEC-492/693/793 iPhone Application Development
Graphical User Interfaces -- Introduction
Chapter 2 – Introduction to the Visual Studio .NET IDE
Oracle Sales Cloud Sales campaign
Tutorial 6 Creating Dynamic Pages
CSC 581: Mobile App Development
CSC 581: Mobile App Development
EEC-492/693/793 iPhone Application Development
Using Templates and Library Items
Objectives At the end of this session, students will be able to:
Development with UIKit on Xamarin.ios
Shelly Cashman: Microsoft Excel 2016
EEC-492/693/793 iPhone Application Development
Presentation transcript:

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 category Purpose Examples of views Content Display a particular type of content, such as an image or text. Image view, label Collections Display collections or groups of views. Collection view, table view Controls Perform actions or display information. Button, slider, switch Bars Navigate, or perform actions. Toolbar, navigation bar, tab bar Input Receive user input text. Search bar, text view Containers Serve as containers for other views. View, scroll view Modal Interrupt the regular flow of the app to allow a user to perform an action. Action sheet, alert view

Labels Properties Creating Programatically NSObject->UIResponder->UIView->UILabel The UILabel class implements a read-only text view. Properties text textColor numberOfLines Creating Programatically UILabel *sLabel = [[UILabel alloc] initWithFrame:CGRectMake(20,300,100,60)] ;

UIButton NSObject->UIResponder->UIView->UIControl->UIButton Implements a button that intercepts touch events and sends an action message to a target object when it's tapped You can set the title, image, and other appearance properties of a button In addition, you can specify a different appearance for each button state.

UIButton… Common action Touch Up Inside Inspector window showing various properties

[self.myButton addTarget:self action:@selector(myAction:) UIButton… A button sends the UIControlEventTouchUpInside event when the user taps it. You can respond to this event by performing some corresponding action in your app, such as saving information. You register the target-action methods for a button as shown below. [self.myButton addTarget:self action:@selector(myAction:) forControlEvents:UIControlEventValueChanged];

Text Field NSObject->UIResponder->UIView->UIControl->UITextField A UITextField object is a control that displays editable text When the user taps in a text field, that text field becomes the first responder and automatically asks the system to display the associated keyboard To dismiss the keyboard, send the resignFirstResponder message to the text field that is currently the first responder.

Text Field Properties text Placeholder Font textColor

Text View NSObject->UIResponder->UIView->UIScrollView->UITextView The UITextView class implements the behavior for a scrollable, multiline text region. The class supports the display of text using custom style information and also supports text editing.

ImageView NSObject->UIResponder->UIView->UIImageView An image view object provides a view-based container for displaying either a single image or for animating a series of images. Initialization : - initWithImage Properties image highlightedImage

UISlider NSObject->UIResponder->UIView->UIControl->UITextField UISlider displays a horizontal bar, called a track, that represents a range of values The current value is shown by the position of an indicator, or thumb A user selects a value by sliding the thumb along the track You can customize the appearance of both the track and the thumb.

UISlider…. Common action Value Changed Inspector window showing various properties

UISlider…. Properties Value minimumValue maximumValue

UISwitch NSObject->UIResponder->UIView->UIControl->UISwitch class to create and manage the On/Off buttons used The UISwitch class declares a property and a method to control its on/off state when the user manipulates the switch control (“flips” it) a UIControlEventValueChanged event is generated, which results in the control (if properly configured) sending an action message

UISegmentedControl NSObject->UIResponder->UIView->UIControl->UISegmentedControl Displays an element that comprises multiple segments Each of which functions as a discrete button Each segment can display either text or an image, but not both UISegmentedControl ensures that the width of each segment is proportional, based on the total number of segments, unless you set a specific width.

UISegmentedControl… Common action Value Changed Inspector window showing various properties

Keyboard Inputs

Selecting Keyboard Type For Text Field

Types of Keyboard Default NumberPad DecimalPad PhonePad NumberPhonePad E-mail Address Url Twitter Numbers And Punctuations ASCII Capable

Defaault,Decimal And E-Mail Pad Look

Several different keyboards and input methods

Relative keyboard sizes in portrait and landscape modes

Keyboard Method In Objective-C there are several method related to keyboard. There are delegate method for keyboard that handle the keyboard properties. Loading the keyboard. Hiding the keyboard. Show the keyboard automatically.

Some Code [textBoxName sendMessage]; Displaying the Keyboard: [textField becomeFirstResponder]; Dismissing the Keyboard [textField resignFirstResponder]; Notification -(void)keyboardDoneObserver: (NSNotification*)notification For more on working with keyboard visit link: https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html