Nib 2 only partly works. Changes made in the custom view do not
show up in the managed object model or in the user interface found
in nib 1.
So now we also need to see your custom view code.
Here is the code for nib 2 which only partly works. Changes to the
model property num are reflected in the custom view but changes to the
num property in the custom view do not show up in the model.
All code in the custom view that touch the num property use the
accessor methods. The controller in the nib is in entity mode and
bound to File's Owner (MyDocument) managed object context.