m1entus/MZFormSheetController — pull request #5 by dulaccc (2013-08-23 11:25:13+00:00)
Title: viewDidLoad called to soon in the usual view controller methods chain

A common issue is that `viewDidLoad` is called to "soon" compare to the usual method call chain, all because the property `view` is accessed earlier (from the `init` method for instance).

**Example**

```objective-c
MZFormSheetController *formSheet = [[MZFormSheetController alloc] initWithViewController:destinationViewController];

formSheet.presentedFormSheetSize = CGSizeMake(320, 300);
```

This won't work as we want because the `initWithViewController:` method will trigger due to the appearance proxy the `setShadowOpacity:` method in which we access the property `view` that will trigger `viewDidLoad` that will trigger `setupFormSheetViewController`. So the custom value for the `presentedFormSheetSize` property will never be read.

I hope it makes sense, but I believe you are familiar with this kind of "accessing-view-to-soon-issue" :)

Cheers