Hi all!
The value property in my parent view controller's property is a float, and I'm using the @property (readwrite, assign) specifier. I'm synthesizing the properties. Here's what I was just playing with:
This assert statement fails. I'm really confused why it's happening. Any ideas? The property is a float.
Thanks so much for any and all help!
The value property in my parent view controller's property is a float, and I'm using the @property (readwrite, assign) specifier. I'm synthesizing the properties. Here's what I was just playing with:
Code:
((myViewController*)self.parentViewController).otherViewController.value = 1.0;
assert(((myViewController*)self.parentViewController).otherViewController.value == 1.0);
This assert statement fails. I'm really confused why it's happening. Any ideas? The property is a float.
Thanks so much for any and all help!