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

Has to be the funniest headline ive ever seen

Man Brings Goat to Apple Store and has Pizza Delivered

Elusive Ninja: The Shadowy Thief - Can you survive the fast-paced ninja chaos?