mardi 22 avril 2014

Edit outlet from different class - Cocoa


Vote count:

0




I need to update the value of a NSProgressIndicator through a class different from the one where the outlet was defined.


Es:



  • In class A.h I define the outlet for the NSProgressIndicator and link it.

  • In class A.m I have a method to update the doubleValue of the Indicator.

  • In class B.m I call, through an istance of class A, the method but nothing happens.


Istead if i call the same method within class A it works fine.


What am I missing ?



asked 1 min ago

FoxNos

185





Aucun commentaire:

Enregistrer un commentaire