IBAction Call

Discussion in 'iPad General Discussions' started by swilker, Jul 24, 2011.

  1. swilker
    Offline

    swilker iPF Novice

    Joined:
    Jul 4, 2011
    Messages:
    12
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Maryland
    Ratings:
    +0 / 0
    :confused:
    Help Please,

    I'm new. I've been working on a plotting function that used a draw2D routing I found on line. I need to call the routine from IBAction with a date picker change and want to pass the date in the date picker. So basically I want to combine the IBAction and the plotting on the following two routines. Unsure how to combine them.


    -(IBAction)showDate: (id) sender {
    //date calculations.....
    }

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

    - (void)drawRect: (CGRect)rect {
    //drawing code
    }

Share This Page