10.7 Auto Layout re-sizing question

2012-02-23 Thread Jonathan Waddilove
In the past I have managed to add a NSViewController's view to a subView of my 
window controller, usually something like

viewController = [[RemindersViewController alloc] 
initWithNibName:@RemindersViewController bundle:nil];
self.window.contentView = viewController.view;
[[viewController view] setFrame: [myView bounds]];

Now I'm trying to get with the program and use auto layouts. Both NIBs (window 
 view controller) have auto layout enabled and the contents of the VC view (a 
table) should re-size to fill the view.

Except  (of course) the re-sizing doesn't work. I'm obviously missing something 
very simple. Please could some kind person explain how we make the dynamically 
added subview correctly track into the parent views 'custom view'

Many thanks,  Jonathan




smime.p7s
Description: S/MIME cryptographic signature
___

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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


Re: Core Data and the Document Dirty indicator

2008-04-12 Thread Jonathan Waddilove

Exactly what I needed! Thank you, that has fixed my problem.

I wish the Conceptual documents could be made available in a book :)

Jonathan

On 11 Apr 2008, at 20:07, mmalc crawford wrote:


On Apr 11, 2008, at 11:26 AM, Jonathan Waddilove wrote:
Could some kind reader point me in the right direction to fix this  
unwanted behaviour.


http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/04_Department/chapter_5_section_2.html#//apple_ref/doc/uid/TP40002832-SW7 



mmalc



___

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 [EMAIL PROTECTED]