TAILIEUCHUNG - Lập trình iPhone part 9

Trong chương trước, bạn làm chủ được các vấn đề cơ bản về làm việc với table views . Trong chương này, bạn sẽ được thực hành nhiều hơn , bởi vì chúng ta đang đi để khám phá điều khiển chuyển hướng. Bảng điểm và công việc điều khiển chuyển hướng bằng tay. | Cha 9 Navigation Controllers and Table Views n the previous chapter you mastered the basics of working with table views. In this chapter you re going to get a whole lot more practice because we re going to explore navigation views and navigation controllers work hand in hand. Strictly speaking a navigation controller doesn t need a table view in order to do its thing. As a practical matter however when you implement a navigation controller you almost always implement at least one table and usually several because the strength of the navigation controller is in the ease with which it handles complex hierarchical data. On the iPhone s small screen hierarchical data is best presented using a succession of table views. In this chapter we re going to build an application progressively just as we did with the tab view application back in Chapter 7. We re going to get the navigation controller and the first view controller working and then we ll start adding more controllers and more layers to the hierarchy. Each view controller we create will reinforce some aspect of table use or configuration. You re going to see how to drill down from table views into child tables and also from table views down into content views where detailed data can be viewed and even edited. You re also going to see how to use a table list to allow the user to select from multiple values and learn how to use edit mode to allow rows to be deleted from a table view. That is a lot isn t it Well nothing for it but to get started. Let s go 231 232 CHAPTER 9 Navigation Controllers and Table Views Navigation Controllers The main tool you ll use to build hierarchical applications is UINavigationController. UINavigationController is similar to UITabBarController in that it manages and swaps in and out multiple content views. The main difference between the two is that UINavigationController is implemented as a stack which makes it well suited to working with hierarchies. Already know .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.