I know this really isn't one of the main types of C programming but it is something I do so please bear with me. I also understand that this might not be the correct sub-forum and, since I'm new, don't really know how things work here.
The reason I'm making this thread is because every time I make an application in Objective-C I get an error called a SIGABRT error (which in my opinion is very unspecific and doesn't lead to a place where you can fix the problem in the slightest). If I'm doing something wrong please tell me what I do every time that makes this happen. My code is as follows...
Time_Zone_ConverterAppDelegate.h
Code:
#import <Cocoa/Cocoa.h>
@interface Time_Zone_ConverterAppDelegate : NSObject <NSApplicationDelegate> {
@private
NSWindow *window;
IBOutlet NSTextField *time_Input1;
}
@property (assign) IBOutlet NSWindow *window;
@end
Time_Zone_ConverterAppDelegate.m
Code:
#import "Time_Zone_ConverterAppDelegate.h"
@implementation Time_Zone_ConverterAppDelegate
@synthesize window;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
}
- (IBAction)zoneConvert:(id)sender {
[time_Input1 setStringValue:@"hello"];
}
@end
It is highly possible I've done something wrong here however this happens every time which makes me thing there is something wrong with XCode. Below is a screenshot of the error as it appears to me. If anyone here knows anything about this please, please tell me...