X Tutup
The Wayback Machine - https://web.archive.org/web/20210917234856/https://github.com/SwifterSwift/SwifterSwift/issues/910
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 鈥淪ign up for GitHub鈥, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NSUbiquitousKeyValueStore.url(forKey:) #910

Open
1 task done
RomanPodymov opened this issue Oct 15, 2020 路 5 comments
Open
1 task done

Add NSUbiquitousKeyValueStore.url(forKey:) #910

RomanPodymov opened this issue Oct 15, 2020 路 5 comments

Comments

@RomanPodymov
Copy link
Contributor

@RomanPodymov RomanPodymov commented Oct 15, 2020

馃殌

What did you do?

I tried to call NSUbiquitousKeyValueStore.url(forKey:) because I know there is UserDefault.url(forKey:).

What did you expect to happen?

I want to have this function in NSUbiquitousKeyValueStore.

What happened instead?

Did not find this function.

SwifterSwift Environment

  • SwifterSwift version: 5.2.0
  • Xcode version: 12.0.1
  • macOS version running Xcode: 10.15.7
  • Swift version: 5.3
  • Platform(s) running SwifterSwift: iOS

Demo Project

I want to have the following function:

if let url = NSUbiquitousKeyValueStore.default.url(forKey: "key") {
    print(url.absoluteString)
}
@edi-stern
Copy link

@edi-stern edi-stern commented Nov 23, 2020

I tried to do that, it's my first contribution ever on open source project so don't judge it very hard

@LucianoPAlmeida
Copy link
Member

@LucianoPAlmeida LucianoPAlmeida commented Nov 23, 2020

I tried to do that, it's my first contribution ever on open source project so don't judge it very hard

Welcome to the project!
Why are the PR's closed?

@edi-stern
Copy link

@edi-stern edi-stern commented Nov 23, 2020

I tried to do that, it's my first contribution ever on open source project so don't judge it very hard

Welcome to the project!
Why are the PR's closed?

I got CocoaPods (watchOS) job failed and the other ones on CocoaPods cancelled, and I tried to see what's the issue so I closed the PR

@LucianoPAlmeida
Copy link
Member

@LucianoPAlmeida LucianoPAlmeida commented Nov 23, 2020

The issue is probably because this class is not available for watchOS so we have to add an extra !os(WatchOS) ...

edi-stern pushed a commit to edi-stern/SwifterSwift that referenced this issue Nov 23, 2020
@edi-stern
Copy link

@edi-stern edi-stern commented Nov 23, 2020

The issue is probably because this class is not available for watchOS so we have to add an extra !os(WatchOS) ...

You were right. thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
X Tutup