Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [677cb4638f842e62b3eda2ac024fdc4150840226] by Klaas Pieter Annema

Revision 677cb4638f842e62b3eda2ac024fdc4150840226, committed 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...

1 changed file

  • M AppKit/CPViewController.j