change NSTabViewItem from other NSView


i have little problem, want change view of nstabview tab view...if create action with

code:
selectnexttabviewitem
on window controller (where define nstabview outlet) work perfectly...if this

code:
appcontroller *controller = [[appcontroller alloc] init]; [controller.tabview selectnexttabviewitem:nil];
also if do

code:
- (void) next {     [self.tabview selectnexttabviewitem:nil];  }     appcontroller *controller = [[appcontroller alloc] init];     [controller next];
where error?
 

are sure want creating new appcontroller object? think you'd wanting access exiting appcontroller object.
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Mail will not Quit when shutting down

MacBook Air 2011 Reviews

What's the max amount of RAM an iMac can have to run BootCamp & Parallels Windows 7?