TAILIEUCHUNG - Assignment 2A Doll/Cannistraro - Assignment 2B - Hello Poly (Part I)

Assignment Over the next two weeks you will build an iPhone application for displaying a polygon. The user interface will allow the user to set the number of sides for the polygon (this week’s assignment) and a custom view will draw the polygon (next week’s assignment). We will make use of several key design patterns used in Cocoa Touch applications. This week you will get the basics up and running - creating and connecting the model, view, and controller. | CS193P Spring 2009 Assignment 2A Doll Cannistraro Assignment 2B - Hello Poly Part I Due Date This assignment is due by 11 59 PM April 14. Assignment Over the next two weeks you will build an iPhone application for displaying a polygon. The user interface will allow the user to set the number of sides for the polygon this week s assignment and a custom view will draw the polygon next week s assignment . We will make use of several key design patterns used in Cocoa Touch applications. This week you will get the basics up and running - creating and connecting the model view and controller. Here s a rough outline of what you ll need to do to complete the assignment successfully 1. Create a new Window-Based Application iPhone OS application project named HelloPoly. 2. Lay out the user interface. 3. Create a controller and wire it up to the UI elements. 4. Import the PolygonShape class implemented in Assignment 2A and wire it up to your controller 5. Implement action methods that are triggered by the user interacting with the user interface. 6. Implement awakeFromNib to initialize the polygon object 7. Update the user interface in response to user input to increase or decrease the number of sides on the polygon 8. Enable or disable the user interface elements as appropriate when the number of sides on the polygon reaches the minimum and maximum allowable values Please see the accompanying walkthrough document for the details of this assignment. Testing In most assignments testing of the resulting application is the primary objective. In this case testing grading will be done both on the behavior of the application and also on the code. We will be looking at the following 1. Your project should build without errors or warnings. 2. Your project should run without crashing. 3. The number of sides of the polygon should be displayed correctly at all times. 4. Tapping the increase and decrease buttons should update the state of the polygon respectively. 5. When the number of .

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.