home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / EODEV.Z / AppController.m < prev    next >
Encoding:
Text File  |  1996-08-23  |  764 b   |  27 lines

  1. /*
  2.         Copyright (c) 1996, NeXT Software, Inc.
  3.         All rights reserved.
  4.  
  5.         You may freely copy, distribute and reuse the code in this example.
  6.         NeXT disclaims any warranty of any kind, expressed or implied,
  7.         as to its fitness for any particular use.
  8. */
  9. #import "AppController.h"
  10. #import <BusinessLogic/BusinessLogic.h>
  11. #import <EOExtensions/InsertionPopUpAssociation.h>
  12.  
  13. @implementation AppController
  14.  
  15. - (void)awakeFromNib
  16. {
  17.     InsertionPopUpAssociation *assoc = [[InsertionPopUpAssociation alloc] initWithObject:creditCardPopUp];
  18.     [assoc setAutomaticallyInsertsObject:YES];
  19.     [assoc bindAspect:@"selectedTitle" displayGroup:creditCardDisplayGroup key:@"cardType"];
  20.     [assoc establishConnection];
  21.     [assoc release];
  22. }
  23.  
  24.  
  25. @end
  26.  
  27.