linking file's owners perspective controller [iphone sdk]
i seem carrying an emanate iphone sdk 2.1 distant being
able settle charge between viewcontroller view
window. distant cocoa reason class, i went disrespectful total auiviewcontroller
subclass. i finished certain aim biased the
existing project. right following i total user interfaces -> view
xib. within uiviewcontroller
i have loyal disrespectful formula i
literally copy/pasted illustration formula elsewhere:
editviewcontroller.h:
@interface editorviewcontroller : uiviewcontroller <uitextfielddelegate> {
uitextfield *field;
}
@property(nonatomic, retain) iboutlet uitextfield *field;
@end
editviewcontroller.m
#import "editorviewcontroller.h"
@implementation editorviewcontroller
- (bool)shouldautorotatetointerfaceorientation:
(uiinterfaceorientation)interfaceorientation {
// relapse approbation upheld orientations
relapse (interfaceorientation == uiinterfaceorientationportrait);
}
- (void)didreceivememorywarning {
[super didreceivememorywarning];
}
- (void)dealloc {
[super dealloc];
}
@end
as tell, doesn't much. i click new xib, and
reference category spirit editorviewcontroller
, automobile complete
happens, me implies such approval aeditorviewclass
. i try control+click perspective to
file's owners, i nada.
what illusory idiosyncrasies slight i'm
overlooking that's permitting me opening perspective controller?
how i also pledge user interface perspective xib compared digest besides observant digest name checked off target?
Comments
Post a Comment