delba / Permission

A unified API to ask for permissions on iOS
MIT License
2.9k stars 320 forks source link

Manual Integration Issues #112

Closed saruvij closed 4 years ago

saruvij commented 7 years ago

Is there any link to refer to integrate the lib manually?

Am facing a lot of issues in the manual approach.

saruvij commented 7 years ago

Screenshot:

manual integration issue

If I import UIKit, it raises other set of issues with the dictionaries declared below it, without using Hashable types.

delba commented 4 years ago

Hi @saruvij, UIControl.State doesn't comply by default to Hashable this is why you had the issues with the [UIControl.State: Any] dictionaries.

The conformance has been declared in another file (Utilities.swift). You might want to include this one as well if you want to use the lib manually.