Hello,
I'm a newbie and I have linked my URL links as followed:
In my .h file I have used
@interface moves : UIViewController {
}
-(IBAction)link1;
-(IBAction)link2;
-(IBAction)link3;
-(IBAction)link4;
-(IBAction)link5;
-(IBAction)link6;
@end
In my .m file I have used
#import "moves.h"
@implementation moves
-(IBAction)link1 {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/watch?v=ogUQDT_l4c8"]];
}
-(IBAction)link2 {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/watch?v=8zAC5cfC8-8"]];
}
-(IBAction)link3 {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/watch?v=hKum5VvybCI"]];
}
-(IBAction)link4 {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/watch?v=sYAJGEtUBn4"]];
}
-(IBAction)link5 {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/watch?v=IcPIJFYmEW4"]];
}
-(IBAction)link6 {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/watch?v=m0Zq_LvHXPE"]];
}
I have linked the URL to buttons in interface builder
I run it in simulator and it crashes!!!

I have a project due for school and I need help.
I'm using pure Xcode and no body seems to be able to help.