How do I pass variables between view controllers?

前端 未结 6 1401
礼貌的吻别
礼貌的吻别 2020-12-06 20:21

i\'m having a hard time with Xcode; for some reason, it just won\'t let me pass a variable from one view controller class to another. It should work, i was basically just co

6条回答
  •  借酒劲吻你
    2020-12-06 21:09

    Just a guess, but did you try using the arrow operator -> instead of the dot operator . ?

    resultadosControllerCell->array_resultados  = [self array_resultados];
    

提交回复
热议问题