Skip to content

How can i use this library in swift project #172

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

Open
Ahzam-Hassan opened this issue Jan 29, 2025 · 1 comment
Open

How can i use this library in swift project #172

Ahzam-Hassan opened this issue Jan 29, 2025 · 1 comment

Comments

@Ahzam-Hassan
Copy link

i am working with appkit and i want to use this library, but i am not sure how, if anyone can assist me with this

@MaddTheSane
Copy link

You will need Universal Detector to be checked out beside the project (see my Simple Comic project to see what it looks like.

However, I recommend that you wrap a lot of the code in Objective-C @try/@catch blocks as Swift doesn't like exceptions populated to its run-time, and this project throws Objective-C exceptions on fairly trivial failures (I think XADMaster was developed before using NSError was common, or even possible). My fork wraps around a lot of the Obj-C throwing, but it is 1. a fork, and 2. not well tested.

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