Hello,

I tried to use AV Foundation's playback capability.
So, by following AV Foundation Programming Guideline, it wrote codes for Mac. ( 
The document is written for iOS. )
Also, I looked up "View Controller" sample codes and "AnimatedTableView".

What is strange is that it doesn't return after loadView was called in my 
testing project, although it does in those sample codes.
I didn't find any semantic difference yet.

This is from my sample codes :

An app delegate class :

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
        // Insert code here to initialize your application
        
        NSLog( @"AppDelegate >> applicationDidFinishLaunching" );       
        
        [_placeholderView addSubview:_viewController.view]; => calls loadView 
of a child class of NSViewController
        [_viewController.view setFrame:_placeholderView.frame];
        [_viewController setRepresentedObject:[NSNumber 
numberWithUnsignedLong:[[_viewController.view subviews] count]]];
}


The child class of NSViewController

- (void)loadView
{
        [self viewWillLoad];
        [super loadView]; <= doesn't return
        [self viewDidLoad];
}

Does anyone know why the loadView doesn't return?
Can you spare me your idea?

Thank you.


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to