Example for managed models in iOS