Add methods for NSFontAssetRequest.

This commit is contained in:
Gregory John Casamento 2020-04-14 13:41:27 -04:00
parent a761a01eb5
commit 8bdb4ffe16
2 changed files with 41 additions and 1 deletions

View file

@ -26,5 +26,27 @@
@implementation NSFontAssetRequest
- (instancetype) initWithFontDescriptors: (NSArray *)fontDescriptors
options: (NSFontAssetRequestOptions)options
{
return [super init];
}
- (NSArray *) downloadedFontDescriptors
{
return nil;
}
- (NSProgress *) progress
{
return [NSProgress progressWithTotalUnitCount: 0.0];
}
- (void)downloadFontAssetsWithCompletionHandler: (GSFontAssetCompletionHandler)completionHandler
{
NSError *error = nil;
CALL_BLOCK(completionHandler, error);
}
@end