I'm guessing you're talking about iPhone sample code here. The answer to your question depends, somewhat, on whether you're talking about OS X programming, or iPhone programming. Please clarify.

Luke

On Feb 18, 2009, at 1:35 PM, Weydson Lima wrote:

Hi there,

This is my first message here and I am already starting with a very newbie question. I have a broad understanding what a view is - a button, a label, etc... are views, right? But when I look at some sample codes from Apple, the application doesn't have a "main" window.. instead, it has a view and a view controller. So, what's the difference between a window and a view? Can
an application have no window but multiple views?

Thanks,
Weydson
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com

This email sent to luket...@apple.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to