Commit graph

8 commits

Author SHA1 Message Date
Fred Kiefer
8206719047 * Source/NSCollectionView.m (+initialize): Add binding for
content.
        * Source/NSViewController.m (-loadView): Don't try to load the
        view if there is no name for the NIB.
        * Source/NSArrayController.m (-initWithContent:): Sets
        automaticallyRearrangesObjects to true.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38384 72102866-910b-0410-8b05-ffd578937521
2015-03-06 22:40:27 +00:00
Fred Kiefer
9a15cb6b88 * Source/NSViewController.m: Retain the view.
* Source/NSOutline.m(-drawRow:clipRect:): The selected cell
        * shows
        its first responder state.
        Patch by Frank LeGrand <frank.legrand@testplant.com>



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36378 72102866-910b-0410-8b05-ffd578937521
2013-03-17 22:36:34 +00:00
Fred Kiefer
0e308561c1 * Source/GSXibLoader.m (GSXibKeyedUnarchiver -_preProcessXib:):
Release the document.
        Patch by Doug Simons <doug.simons@testplant.com>
        * Source/GSXibLoader.m: Fix a problem where owner,
        * firstResponder and application
        were put in the list of top-level objects, creating a
retain-cycle.
        * Source/NSViewController.m: Fix a problem where view
        * controllers
        did not release their top-level objects as expected.
        * Source/NSWindowController.m: Fix a problem where window
        controllers did not release their top-level objects as expected.
        Changes made in occordance with
        https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html
        Patch by Jonathan Gillaspie <jonathan.gillaspie@testplant.com>



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36134 72102866-910b-0410-8b05-ffd578937521
2013-02-14 09:22:56 +00:00
Fred Kiefer
7761771a56 Add missing #import for NSArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35866 72102866-910b-0410-8b05-ffd578937521
2012-12-08 11:41:44 +00:00
Fred Kiefer
c100baf6b4 Lots of minimal changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33613 72102866-910b-0410-8b05-ffd578937521
2011-07-23 13:43:33 +00:00
Fred Kiefer
2a781c1651 * Source/NSViewController.m (-loadView): Retain the topLevelObjects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32889 72102866-910b-0410-8b05-ffd578937521
2011-04-18 22:12:08 +00:00
Fred Kiefer
6eaff61772 Add loading of NIB to NSViewController.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31940 72102866-910b-0410-8b05-ffd578937521
2011-01-24 11:47:55 +00:00
Dave Wetzel
79ac03cdf1 new Files NSViewController.h and NSViewController.m. Fixes #29822
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30506 72102866-910b-0410-8b05-ffd578937521
2010-05-31 03:46:35 +00:00