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
:confused:Help Please I have a popup window that uses a class I created call draw2d with:

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

- (void)drawRect:(CGRect)rect {

//code and stuff blah blah blah.....

}

The popup draws a graph. When I dismiss the popup change the data and initiate the popup the plot remains unchanged.... Hence, I need to let it go...

Please can someone help by telling me how to do this and where to do it.

Thanks.
 
:confused:Help Please I have a popup window that uses a class I created call draw2d with:

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

- (void)drawRect:(CGRect)rect {

//code and stuff blah blah blah.....

}

The popup draws a graph. When I dismiss the popup change the data and initiate the popup the plot remains unchanged.... Hence, I need to let it go...

Please can someone help by telling me how to do this and where to do it.

Thanks.

I have a feeling that you're in the wrong board, friend. :)

Try the Programming board. I would help you, but Obj-C is not my strong suit. (Yet.)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.