TAILIEUCHUNG - Lập trình iPhone part 2

Trong chương này, chúng ta sẽ sử dụng Xcode và giao diện Builder để tạo ra một ứng dụng iPhone nhỏ để hiển thị chữ "hello, world! "Trên màn hình của chúng tôi sẽ nhìn vào những gì liên quan đến việc tạo ra một Iphone ứng dụng dự án Xcode, làm việc thông qua các chi tiết cụ thể của việc sử dụng giao diện Builder để thiết kế giao diện người dùng ứng dụng của chúng tôi, và sau đó chạy các ứng dụng của chúng tôi về giả lập Iphone Sau đó, chúng tôi sẽ cung. | I Chỉ Appeasing the Tiki Gods s you re probably well aware it has become something of a tradition to call the first project in any book on programming Hello World We considered breaking this tradition but were scared that the Tiki gods would inflict some painful retribution on US for such a gross breach of etiquette. So let s do it by the book shall we In this chapter we re going use Xcode and Interface Builder to create a small iPhone application to display the text Hello World on its screen. We ll look at what s involved in creating an iPhone application project in Xcode work through the specifics of using Interface Builder to design our application s user interface and then run our application on the iPhone simulator. After that we ll give our application an icon and a unique identifier to make it feel more like a real iPhone application. We ve got a lot to do here so let s get going. Setting Up Your Project in Xcode By now you should have Xcode and the iPhone SDK installed on your machine. You should also download the book projects archive from the Apress web site. Here s a link to the book page http book wiew 9781430216261 Look for the Source Code link in the Book Extras section on the left side of the page. Expand the archive and place the project folder in a convenient location. 11 12 CHAPTER 2 Appeasing the Tiki Gods Even though you have the complete set of project files at your disposal we think you ll get more out of the book if you create each project by hand instead of simply running the version you downloaded. The biggest reason for this is the familiarity and expertise you ll gain in working with the various tools we use throughout the book if you roll your own projects. There s just no substitute for actually clicking and dragging out buttons and sliders and scrolling through source code to make changes as we move from one version of a program to another. That said our first project is in the 02 Hello World folder. If you ll be .

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.