0 | I have two Objective-C classes that communicate data with each other by passing variables through method parameters. For example I might call a method that will pass a variable:
The variable is successfully received by
However when I try to use
I've also tried to setup the variable in a variety of ways in my class definition / header and in the implementation:
Any ideas on why this classVariable gets reset to EDIT: I am using ARC, not MRC. EDIT: Is it possible that EDIT: Here's my | |||
1 | All of your | ||||
Did this answer by Wain help you? It's easy to give back. Sign up to get started. | |||||
|
'모바일개발(Mobile Dev) > IOS개발(ObjectC)' 카테고리의 다른 글
Unwind Segues in iOS Storyboards (0) | 2015.10.10 |
---|---|
The official raywenderlich.com Objective-C style guide. (0) | 2015.10.02 |
Xcode 정리 (0) | 2015.10.02 |
Encapsulating Data (0) | 2015.10.02 |
How to deal with a Data Flow between Controller1 and Controller2 (0) | 2015.10.01 |
globalVariable
a property? Are you using ARC or MRC? – Sebastian Sep 3 '13 at 22:23@property
in theClassX
header file. And yes, I am using ARC. Please see my edits. – Sam Sep 3 '13 at 22:30x
after you set the value? – Wain Sep 3 '13 at 22:53