What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

IBAction Call

swilker

iPF Noob
Joined
Jul 4, 2011
Messages
12
Reaction score
0
Location
Maryland
Website
www.dean.usma.edu
: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
}
 

Most reactions

Latest posts

Top