Merge pull request #2594 from daboe01/CPSavePanel-missing-class-method

Fixed: +proposedFileURLWithDocumentName: was missing
This commit is contained in:
Martin Carlberg
2018-03-05 11:01:18 +01:00
committed by GitHub
+5
View File
@@ -35,6 +35,11 @@
CPArray _allowedFileTypes @accessors(property=allowedFileTypes);
}
+ (CPURL)proposedFileURLWithDocumentName:(CPString)aDocumentName
{
return [CPURL URLWithString:aDocumentName];
}
+ (id)savePanel
{
return [[CPSavePanel alloc] init];