开发者

How To Make Multi-view Apps?

开发者 https://www.devze.com 2022-12-16 21:04 出处:网络
I learn x-code first time. X-code 开发者_C百科is very complicated! Would you tell me how to make multi-view apps?

I learn x-code first time. X-code 开发者_C百科is very complicated!

Would you tell me how to make multi-view apps?

(Step by step)


I created a step by step guideline to create a multiview application here: Multiview iPhone.pdf

Michael Tuszynski's vimeo tutorial (http://vimeo.com/8930397) is helpful but has some flaws (like creating view instances whenever switching)


apple does an excellent job with their documentation. There is a TON of reference material that answers your question. they provide step by step guides for building apps with multiple views: http://developer.apple.com/iphone/library/navigation/index.html?section=Resource+Types&topic=Getting+Started


Personally I don't like Apple's documentation because it almost seems to assume that you already code for cocoa on os x.

The easiest way to create a multi-view app is to start a new Tab Bar Controller based application using the template, then drag however many View Controllers you want onto the tab bar controller icon. You can set set the icons and titles on their navigation items and just design and code the view controllers just like you would if each view controller were the only one, except that you probably want to connect them somehow to some shared resource.

Check out the book Beginning iPhone 3 Development as it has excellent step-by-step tutorials on how to do several kinds of multi-view applications. It's well worth the money especially if you get it from a discount book store online or something.


Apress Beginning iPhone 3 Development Exploring the iPhone SDK Jul.2009, By Dave and Jeff. They have given a wonderful tutorial for many types of applications including multiview apps

0

精彩评论

暂无评论...
验证码 换一张
取 消