1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

GCRect drawing object

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

  1. macrumors newbie

    #1
    :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!
     
  2. macrumors 65816

    #2
    No codes permitted in this forum. Use the Code Sharing and Software Promos forum.
     

Share This Page