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

Some tweaks for objective-c compatibility #80

Merged
merged 2 commits into from
Feb 7, 2017
Merged

Conversation

noamtamim
Copy link
Contributor

No description provided.

@noamtamim noamtamim requested review from ElizaSapir and a user February 7, 2017 13:34
PKLog.error("LocalDataStore not set")
return nil
throw NSError.init(domain: "LocalAssetsManager", code: -1, userInfo: nil)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add centralized enum for domain names(maybe for codes also)? in case we will want to change in the future.
for example:

enum ErrorManager {
    
    enum Domain: String {
        case PlayKitReachability = "PlayKit.Reachability"
    }
}

@@ -128,21 +156,30 @@ public class LocalAssetsManager: NSObject {
}
}

public protocol LocalDataStore {
@objc public protocol LocalDataStore: class {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ":class" is redundant here no? @objc makes the protocol for NSObject classes?

@noamtamim noamtamim merged commit bd41759 into develop Feb 7, 2017
@noamtamim noamtamim deleted the objc-compat branch February 7, 2017 14:51
srivkas added a commit that referenced this pull request Feb 20, 2017
…EM-831-Changes

* commit '6965fe817fe14075b66413ba27e7072c60d699d9': (65 commits)
  Simple OVP Session Provider (#90)
  #FEM-1117 (#88)
  #FEC-6462 #comment [~oren.melamed], do we know this issue doesn’t happen for Phoenix too? If you could get me a response sample for concurrency I could check. (#87)
  Added initObj key to the media mark request. It was missing. (#84)
  fix podspec
  Fec 6473 (#86)
  Small enhancement to player config (#82)
  Fixes memory leak created by Apple’s interoperability (#85)
  Update README.md
  Fix to prevent initializing `PlayKitManager` from outside in swift and objc (#81)
  Some tweaks for objective-c compatibility (#80)
  fixed issue with `KalturaLiveStatsPlugin` conforming to PKPlugin (#79)
  support wideinve privae pod
  Config API change and PKPlugin (#78)
  LocalAssetsManager: rename registerDownloadedAsset to assetDownloadFinished. (#77)
  bump v0.1.9
  fix event observation on KalturaLiveStatsPlugin
  fix issues with tests after events change. (#74)
  bump v0.1.8
  update podfile
  ...

# Conflicts:
#	Example/PlayKit.xcodeproj/project.pbxproj
#	Example/Podfile
#	Example/Podfile.lock
#	Example/Tests/MediaEntryProvider/OVPMediaProviederTest.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant