diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-10-27 20:22:02 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-10-27 20:22:02 +0000 |
commit | 982c28eb83a3a834845f6f2f3fd6b36f1ca39be8 (patch) | |
tree | 4041d21f68373cd906a5a8a3bff402d3ab4c7f23 /AppKit/GTMIBArrayTest.h | |
parent | fbaa3462f3ca659bf4199cba7fe83341c9cdd672 (diff) |
[Author: thomasvl]
Adding GTMIBArray, a class that can be used in IB to build up an NSArray
directly, so developers don't need to add lots of outlets to other
objects and assemble things during awakeFromNib.
R=dmaclach
DELTA=1337 (1333 added, 0 deleted, 4 changed)
Diffstat (limited to 'AppKit/GTMIBArrayTest.h')
-rw-r--r-- | AppKit/GTMIBArrayTest.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/AppKit/GTMIBArrayTest.h b/AppKit/GTMIBArrayTest.h new file mode 100644 index 0000000..946a117 --- /dev/null +++ b/AppKit/GTMIBArrayTest.h @@ -0,0 +1,31 @@ +// +// GTMIBArrayTest.h +// +// Copyright 2009 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy +// of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. +// + + +#import <Cocoa/Cocoa.h> + +@interface GTMIBArrayTestWindowController : NSWindowController { + @private + IBOutlet NSArray *labels_; + IBOutlet NSArray *fields_; + IBOutlet NSArray *everything_; // labels + fields + buttons +} +- (NSArray *)labelsArray; +- (NSArray *)fieldsArray; +- (NSArray *)everythingArray; +@end |