Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

LordZartek

macrumors newbie
Original poster
Nov 1, 2008
2
0
Im assuming that the hierarchy of a class/subclass relationship is the attributes you can assign to objects right? however how do you find out the code for those attributes, like if i wanted to tell the text that appears in the text field to stream across, how would give that attribute to this code?


#import <UIKit/UIKit.h>

@interface Basic_iPhone_AppAppDelegate : NSObject <UIApplicationDelegate>
{
IBOutlet UIWindow *window;
IBOutlet UITextField *textField; //would it be entered here???
IBOutlet UILabel *label; // or in between this code with brackets?
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

- (IBAction)click:(id)sender;

@end
 

johnnybluejeans

macrumors 6502
Jan 16, 2006
294
0
New York, NY
I've read your question a few times, and I still almost don't understand what you are asking. Either way, I think that the best thing you can do for yourself is to read a Objective-C / Cocoa primer. Apple has plenty of docs on their development site that you can read, even if you are not part of the iPhone dev program.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.