Inline function replaced macro returned object because code completion is worked well
Added managed object subclass to property belonging to data model
Clean up deprecated API (beginSheetForDirectory... method of NSSavePanel class is replaced)