Hi Brandon, (sorry, I called you Peter before, I see my mistake now!)
I think you're flailing a bit here. I'm assuming that your interface is built
using interface builder (IB), and not code - that would be sensible. However,
it's sometimes easy to get confused and end up with objects made in co
Here is what I found:
When the App first starts up, everything is initialized.
When I press the “Advanced” button in my App’s Toolbar, awakeFromNib is called,
and the “Start”, “Stop”, “Advanced”, and OGL View are “reset” to nil.
But my other UI elements like sliders and such remain non-nil.
On
On Jun 2, 2014, at 8:31 PM, Peters, Brandon wrote:
> Is there anything that could cause the getter and setter not to be generated
> properly? I have my properties declared:
>
> @property (assign) float mass, appliedForce;
>
> In the implementation file:
>
> @synthesize mass = _mass;
>
> Then
Graham,
The view is not nil on initialization, checked using NSLog’s.
On Jun 2, 2014, at 11:24 PM, Graham Cox wrote:
>
> On 3 Jun 2014, at 12:31 pm, Peters, Brandon wrote:
>
>> What could cause such a discrepancy?
>
>
> _simulationView being nil.
>
> --Graham
>
>
_
On 3 Jun 2014, at 12:31 pm, Peters, Brandon wrote:
> What could cause such a discrepancy?
_simulationView being nil.
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the l
Is there anything that could cause the getter and setter not to be generated
properly? I have my properties declared:
@property (assign) float mass, appliedForce;
In the implementation file:
@synthesize mass = _mass;
Then in the AppController:
-(IBAction)updateMass:(id)sender
{
[_simulati