Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Method #6

Closed
zhaiyuhao opened this issue Jun 20, 2016 · 1 comment
Closed

Missing Method #6

zhaiyuhao opened this issue Jun 20, 2016 · 1 comment

Comments

@zhaiyuhao
Copy link

In class CTVideoDataCenter.m

  • (void)startDownloadRemoteUrlList:(NSArray *)remoteUrlList completion:(void (^)(void))completion
    {
    [self.videoTable updateValue:@(CTVideoRecordStatusWaitingForDownload) forKey:@"status" whereKey:@"remoteUrl" inList:remoteUrlList error:NULL];
    if (completion) {
    completion();
    }
    }
  • (void)pauseRecordWithRemoteUrlList:(NSArray *)remoteUrlList completion:(void (^)(void))completion
    {
    [self.videoTable updateValue:@(CTVideoRecordStatusPaused) forKey:@"status" whereKey:@"remoteUrl" inList:remoteUrlList error:NULL];
    if (completion) {
    completion();
    }
    }

There is no this method : updateValue: forKey: whereKey: inList: error:

  • (NSArray<id> *)recordListWithStatus:(CTVideoRecordStatus)status
    {
    return [self.videoTable findAllWithKeyName:@"status" value:@(status) error:NULL];
    }

There is no this method : findAllWithKeyName: value: error:

@casatwy
Copy link
Owner

casatwy commented Jun 20, 2016

you should run 'pod update', I have released a new version of CTPersistance.

???? iPhone

? 2016?6?20??15:40?zhaiyuhao <notifications@github.commailto:notifications@github.com> ???

In class CTVideoDataCenter.m

  • (void)startDownloadRemoteUrlList:(NSArray *)remoteUrlList completion:(void (^)(void))completion
    {
    [self.videoTable updateValue:@(CTVideoRecordStatusWaitingForDownload) forKey:@"status" whereKey:@"remoteUrl" inList:remoteUrlList error:NULL];
    if (completion) {
    completion();
    }
    }
  • (void)pauseRecordWithRemoteUrlList:(NSArray *)remoteUrlList completion:(void (^)(void))completion
    {
    [self.videoTable updateValue:@(CTVideoRecordStatusPaused) forKey:@"status" whereKey:@"remoteUrl" inList:remoteUrlList error:NULL];
    if (completion) {
    completion();
    }
    }

There is no this method : updateValue: forKey: whereKey: inList: error:

  • (NSArray> *)recordListWithStatus:(CTVideoRecordStatus)status { return [self.videoTable findAllWithKeyName:@"status" value:@(status) error:NULL]; }

There is no this method : findAllWithKeyName: value: error:

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/6, or mute the threadhttps://github.com/notifications/unsubscribe/AA9Y1d9ZGVVAmgobfyj2TreUt7CAdNC8ks5qNkPZgaJpZM4I5byj.

@casatwy casatwy closed this as completed Jun 20, 2016
@hoowang hoowang mentioned this issue Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants