On May 8, 2012, at 8:51 AM, ecir hana wrote: > Yes, document-based. > > However, not sure if it is an issue, but I have my own subclassed window > controller. The docs also say that the default for "shouldCascadeWindows" is > YES. I tried to set it to YES in "setShouldCascadeWindows:", without luck. > > I look at the EnhancedDataBurn example but it uses the origin of already > shown window, which is slightly different than my case, I believe.
I would suggest that you download the solutions for Cocoa Programming For Mac OS X (3rd Edition) and look at Chapter 10_Archiving. This chapter contains a modern fully functional document based sample application with window cascading working perfectly. You should be able to quickly get the sample project up and running in a few minutes in Xcode 4.2 by validating the project build settings and setting the default SDK. http://www.bignerdranch.com/book/cocoa_programming_for_mac_os_x_rd_edition_ Subclassing the window controller is a more advanced topic and if I were you I would not focus on that right now. --Richard _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
