GCRect drawing object

Discussion in 'iPad Apps' started by swilker, Aug 6, 2011.

  1. swilker macrumors newbie

    Aug 5, 2011
    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!
  2. Ashwood11 macrumors 65816

    Nov 10, 2010
    No codes permitted in this forum. Use the Code Sharing and Software Promos forum.

Share This Page