Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(id)init {
- if (self = [super init]) {
- NSArray *array;
- BOOL success = [[NSBundle mainBundle] loadNibNamed:@"ProfileWindow" owner: self topLevelObjects:&array];
- if (success) {
- for (id obj in array) {
- if ([obj isKindOfClass:[NSWindow class]]) {
- self.profileWindow = obj;
- }
- }
- [self.profileWindow makeKeyAndOrderFront:self];
- }
- }
- return self;
- }
Add Comment
Please, Sign In to add comment