Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Mac OS X Development Forums > Mac OS X Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-09-2009, 03:54 PM   #1 (permalink)
New Member
 
Join Date: May 2008
Age: 28
Posts: 65
paos is an unknown quantity at this point
Default Confused about windows/views

I'm used to develop iPhone apps but i'm new on MAC OS X development, i have an application on appstore and i'm trying to do a similar one for mac, it has a navigationController and tableViews.
I'm very confused about how to start, do I need many windows or just one window with many views?

I guess I would need something like preference panes, but still don't know how to make this

Last edited by paos; 04-09-2009 at 04:31 PM.
paos is offline   Reply With Quote
Old 04-09-2009, 11:11 PM   #2 (permalink)
Registered Member
 
Join Date: Jan 2009
Location: San Diego, CA
Posts: 406
jtara is on a distinguished road
Default

A View is a KIND of Window - a window that uses a NIB to (at least partially) define it's content.

If you are just going to treat the window as a canvas that you can draw on with code, use a Window. If you want to lay it out in Interface Builder, you need a View.

A window can own sub-windows. The window owning the windows can be a view, of course, as can be the sub-windows.

It really just comes down to (on iPhone) a UIView is a subclass of a UIWindow. Upon initialization, a UIView reads from a NIB.

The word "view" is really somewhat of a misnomer. It would seem to imply that it's some "other way of looking at" a Window. No, it's just a specialized kind of Window.
jtara is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 472
15 members and 457 guests
alexeir, David-T, Dj_kades, foslock, iAppDeveloper, jeroenkeij, LunarMoon, Mijator, myach, pipposanta, QuantumDoja, robsmy, sacha1996, SLIC, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,928
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:26 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0