Changeset [677cb4638f842e62b3eda2ac024fdc4150840226] by Klaas Pieter Annema

September 14th, 2010 @ 12:58 AM

fix bug where CPViewController viewDidLoad is called to early

The bug was caused by connections (outlets) being defined in undefined order. Sometimes the view connection was decoded and connected before other connections, because setView: would automatically call viewDidLoad the first time a view was set viewDidLoad was called before the entire view was actually loaded.

ViewDidLoad is now only called from setView: if the _view === nil and no view is currently being loaded.
http://github.com/280north/cappuccino/commit/677cb4638f842e62b3eda2...

Committed by Klaas Pieter Annema

  • M AppKit/CPViewController.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins