1. Due to the recent site upgrade, the iPadForums (iPF) App will no longer work. The new iPadForums.net website has been designed from the ground up to work perfectly from any mobile, tablet, or desktop computer using the built in internet browser. Create a shortcut to iPadForums.net on your home screen by following these steps: Create an icon for iPadForums.net

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