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

Why Post+Mapping.swift uses NSObject #58

Open
ninjandroid opened this issue Nov 17, 2018 · 1 comment
Open

Why Post+Mapping.swift uses NSObject #58

ninjandroid opened this issue Nov 17, 2018 · 1 comment

Comments

@ninjandroid
Copy link

Why this project use both NSObject / NSObject and then in Domain uses Codeable ??

https://github.com/sergdort/CleanArchitectureRxSwift/blob/master/NetworkPlatform/Entries/Post%2BMapping.swift

@sergdort
Copy link
Owner

sergdort commented Nov 27, 2018

Hi, @ninjandroid

Because there was no Decodable back at that time when I was implementing it ¯_(ツ)_/¯

So technically we could refactor it to use Decodable protocol instead of using NSCoding

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