Re: 'unowned' cannot be applied to non-class type

2016-02-12 Thread Rick Mann
f] in >let button = UIBarButtonItem(barButtonSystemItem: .Trash, target: > self, action: "deleteSelection:") > return button > }() > } > > I get > > 'unowned' cannot be applied to non-class type 'ModelBrowserController -> () > -> M

'unowned' cannot be applied to non-class type

2016-02-12 Thread Rick Mann
'unowned' cannot be applied to non-class type 'ModelBrowserController -> () -> ModelBrowserController' and Cannot convert value of type 'ModelBrowserController -> () -> ModelBrowserController' to expected argument type 'AnyObject?' when referencing self. Google tells me the soluti