diff options
author | Teddy Wing | 2018-10-26 17:38:18 +0200 |
---|---|---|
committer | Teddy Wing | 2018-10-26 17:38:18 +0200 |
commit | 4957da593c8a3b0cc81b3f122e4f8b93c8de46b3 (patch) | |
tree | 0c10eba7ac70527af2ec9598861917e7040dc523 /lib | |
parent | 388c40cd41e2bbbc3fe3e3336e32a4dc64fa84a4 (diff) | |
download | DomeKey-4957da593c8a3b0cc81b3f122e4f8b93c8de46b3.tar.bz2 |
LicenseHandler(addLicense:): Move license file to trash manually
Get the trash directory and move the file there manually. Unfortunately,
this doesn't do the renaming of the file if there's a name conflict, so
we still need to look into how to deal with that.
Thanks to Vincent Tourraine
(https://stackoverflow.com/users/135712/vincent-tourraine) on Stack
Overflow
(https://stackoverflow.com/questions/46089964/how-do-i-get-rid-of-ios-version-is-partial-introduced-in-ios-x-warnings-in-xc/46274231#46274231)
for explaining how to get rid of the `-Wunguarded-availability` warnings
I was getting as a result of using `NSTrashDirectory`. Apparently using
the availability macros doesn't silence the error. Since we're already
checking for availability without `@available`, forcibly silence the
warning here.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions