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.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

Table Views UITableView. Overview Table view basics Tables display lists of data Each item in a tables list is a row Tables can have an unlimited number.
Theming for V12 Revolution
HTML Concepts and Techniques Fourth Edition Project 6 Using Frames in a Web Site.
TableView and TableViewController
Site Modules > Page Builder Access the Page Builder module through the Site Modules top navigation link. Access Page Builder from the Site Modules navigation.
FIRST COURSE PowerPoint. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is PowerPoint? PowerPoint is a powerful presentation graphics.
2.02E Adding and Animating Text into Computer Animations 2.02 Develop Computer Animations.
PowerPoint Lesson 3 Working with Visual Elements
This is a 20 second slide, the asterisk below will appear after 15 seconds Add text, change font/size, change color and background, etc. *
Creating Tables in a Web Site Using an External Style Sheet
Chapter Objectives Discuss the relationship between page length, content placement, and usability Complete Step 4: Specify the website’s navigation system.
® Microsoft Office 2010 Word Tutorial 3 Creating a Multiple-Page Report.
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 Design, 4 th Edition 4 Planning a Successful Web Site: Part 2.
MIS 201 Web Design. Website Planning Before even considering the practical aspects of creating a website, there are some important fundamental questions.
Web Technologies Website Development Trade & Industrial Education
Use “Paint” to create a Title Page and page 1. Start Menu 2. All Programs 3. Accessories 4. Paint 5. Click on Paint Bucket (Fill with Color) 6. Select.
Microsoft Word 2000 Presentation 7 Microsoft Word 2000 Presentation 7.
Microsoft Expression Web-Illustrated Unit I: Working with Tables.
Adobe Dreamweaver CS3 Revealed CHAPTER FIVE: USING HTML TABLES TO LAY OUT A PAGE.
® Microsoft Office 2010 Excel Tutorial 2: Formatting a Workbook.
MIS 201 Web Design 1. Website Planning Before even considering the practical aspects of creating a website, there are some important fundamental questions.
Course Summary Xcode & iPhone Simulator
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Exploring Microsoft Office XP- Microsoft Word Chapter 41 Exploring Microsoft Word 2000 Chapter 4 Advanced Features: Outlines, Tables, Styles, And Sections.
Web Design Part I. Click Menu Site to create a new site root.
FIRST COURSE PowerPoint Tutorial 2 Applying and Modifying Text and Graphic Objects.
COMPREHENSIVE PowerPoint Tutorial 2 Applying and Modifying Text and Graphic Objects COM111 Introduction to Computer Applications.
Table Views UITableView.
MSOffice PowerPoint 1 Part 2 ® Microsoft® Office 2010: Illustrated Introductory.
Web Site Development - Process of planning and creating a website.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
1 3/30/05CS120 The Information Era CS120 The Information Era Chapter 4 – More HTML Specifics TOPICS: Frames Problem Review, Nested Frames.
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
Connecting From Home Editing at Home(You don’t have to.)
2.02F Adding and Animating Text in Computer Animations
Course Summary Xcode & iPhone Simulator
Creating a Presentation
Your GIMP Portfolio Navigation Menu.
Microsoft® Office 2010: Illustrated Introductory
EEC-492/693/793 iPhone Application Development
Electronic Communication
MIS 201 Web Design.
2.02E Adding and Animating Text into Computer Animations
Spreadsheet Formatting
Spreadsheet Formatting
Tutorial 3 – Creating a Multiple-Page Report
Tutorial 6 Creating Dynamic Pages
DREAMWEAVER MX 2004 Chapter 3 Working with Tables
CSC 581: Mobile App Development
Grauer and Barber Series Microsoft Word Chapter Four
Spreadsheet Formatting
8.02 Spreadsheet Formatting
Spreadsheet Formatting
Working Knowledge Training
Spreadsheet Formatting
Spreadsheet Formatting
2.02E Adding and Animating Text into Computer Animations
Spreadsheet Formatting cleanvideosearch
Add text, change font/size, change color and background, etc.
Computer Literacy BASICS
Lesson 19 Organizing and Enhancing Worksheets
EEC-492/693/793 iPhone Application Development
Practice Activity – Part 1
Microsoft Publisher 2016.
Learning the Basics of Microsoft Word 2010 for Microsoft Windows
Flash Demonstration – Unit 5 – ActionScript 3.0
HIBBs is a program of the Global Health Informatics Partnership Learning the Basics of Microsoft Word 2019 and Microsoft office support TFN
Presentation transcript:

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 cells that are UITableViewCell objects. Two Protocols are used: Data Sourse: to provide data used to populate the table Delegate: to managing the appearance and behavior of the table (e.g., headers, footers, reorder cells)

Protocols used Remember: A protocol specifies a behavior through the inclusion of methods in the implementing object. UITableViewDataSource Protocol has two required methods: Number of rows in selection Cell for row at index path UITableViewDelegate Protocol Has no required methods.

Table Cells A Data Source method returns a cell object for a visible row. Cells can contain: an image or text content. The Table Cell object has methods that: manage cell selection, editing, accessory views, and cell configuration.

Table Uses Display graphics or text. Can be hierarchical. Application based menu navigation. Usually hierarchical. http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/Table View_iPhone/TableViewAndDataModel/TableViewAndDataModel.html

Example Download the DetailOverlayLayer.[h,m] files. Import the .h file in both AsteroidsAppDelegate.m and AsteroidsLayer.h. In AsteroidsAppDelegate.m create the layer node and add it to the scene as a child (just like the AsteroidLayer). Hint: you might want to create a global to hold the DetailOverlaylayer *doLayer In AsteroidsLayer.m do a reloadData on the table in the step method so that the results of the step are redisplayed.

Try Adding Color In tableView:cellForRowAtIndexPath: // Set the colors at the cells... // Create a background view for the cell UIView *bg = [[UIView alloc] initWithFrame:cell.frame]; bg.backgroundColor = [UIColor colorWithRed:0.0f green:1.0f blue:0.0f alpha:1.0f]; cell.backgroundView = bg; [bg release]; // UILabel is subclassed from UIView so it just get's colored idx.backgroundColor = [UIColor colorWithRed:0.0f green:1.0f blue:0.0f alpha:1.0f];