Skip to content

Instantly share code, notes, and snippets.

@primalmotion
Created February 23, 2010 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save primalmotion/312394 to your computer and use it in GitHub Desktop.
Save primalmotion/312394 to your computer and use it in GitHub Desktop.
@implementation TNMainViewController : TNModule
{
@outlet CPTextField jid @accessors;
@outlet CPTextField mainTitle @accessors;
@outlet CPButton buttonCreateVM @accessors;
@outlet CPPopUpButton popupDeleteMachine @accessors;
@outlet CPButton buttonDeleteVM @accessors;
@outlet CPTextField healthCPUUsage @accessors;
@outlet CPTextField healthDiskUsage @accessors;
@outlet CPTextField healthMemUsage @accessors;
@outlet CPTextField healthLoad @accessors;
@outlet CPTextField healthUptime @accessors;
@outlet CPTextField healthInfo @accessors;
CPTimer _timer;
}
- (void)initializeWithContact:(TNStropheContact)aContact andRoster:(TNStropheRoster)aRoster
{
[super initializeWithContact:aContact andRoster:aRoster]
var center = [CPNotificationCenter defaultCenter];
[center addObserver:self selector:@selector(didNickNameUpdated:) name:TNStropheContactNicknameUpdatedNotification object:nil];
[....]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment