ftp.nice.ch/pub/next/connectivity/mail/apps/EmptyQ.NIHS.bs.tar.gz#/EmptyQ.NIHS.bs/Source/Calendar.m

This is Calendar.m in view mode; [Download] [Up]

// This is a GREAT EXAMPLE of a Unix pipe...
// This application uses the unix cal command to generate a calendar
// May 3, 1992
// Updated February 14, 1993
// Generated by Interface Builder

#import "Calendar.h"

@implementation Calendar


// APPDIDINIT
- appDidInit:sender
{

	[NXApp activateSelf:YES]; //activate the application     	
	[NXApp loadNibSection:"CalPanel.nib" owner:self]; // load nib

        return self;
}


// SHOW INFO PANEL
- ShowInfoPanel:sender
// This method load and displays a nib file.
{
    
    [NXApp loadNibSection:"InfoPanel.nib" owner:self];
    // Load info panel nib  
  
    return self; //normal return
}


// SHOW MORE INFO PANEL
- ShowMoreInfo:sender
// This method load and displays a nib file.
{
  [NXApp loadNibSection:"MoreInfo.nib" owner:self]; //load info panel nib    
  
  return self;  //normal return
}



// NEWCALENDAR
- NewCalendar:sender
{

	[NXApp loadNibSection:"CalPanel.nib" owner:self]; // load nib

        return self;
}



@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.