Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

swilker

macrumors newbie
Original poster
Aug 5, 2011
3
0
Maryland
:eek:
Please help.. I want to release a drawing object and or draw over it.. I have a popup with the drawing object in it. I made it by creating a class and then setting the popup to that class. The code in the class is:

- (id)initWithFrame:(CGRect)frame {
if (self = [super initWithFrame:frame]) {
// Initialization code
}
return self;
}

- (void)drawRect:(CGRect)rect {

//draw some stuff blah blah blah

}

I pass variables using a global delectation and the

extern float gPhy, gEmo, gInt;

When i release the popup and return change the globals the graph stays the same. Help!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.