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

Swift Example #18

Closed
Poonamjangir-BMF opened this issue Feb 12, 2021 · 7 comments
Closed

Swift Example #18

Poonamjangir-BMF opened this issue Feb 12, 2021 · 7 comments

Comments

@Poonamjangir-BMF
Copy link

Poonamjangir-BMF commented Feb 12, 2021

How do I use this library in swift. I didn't get any example for this.

@pjebs
Copy link
Owner

pjebs commented Feb 12, 2021

What have you tried so far?

@Poonamjangir-BMF
Copy link
Author

let o = Obfuscator.new(usingStoredSalt: "AppDelegateNSString")
o?.hex(byObfuscatingString: "dfjsdfd")

Not printing anything on console as per doc.

@Poonamjangir-BMF
Copy link
Author

Even I try this also:

let o = Obfuscator.new(withSaltUnsafe: "AppDelegateNSString")
o?.hex(byObfuscatingString: "dfjsdfd")

@Poonamjangir-BMF
Copy link
Author

No o is not nil and I have tried NSStringFromClass(AppDelegate.self) also still not working.

@pjebs
Copy link
Owner

pjebs commented Feb 12, 2021

Have a read of this first:

#1

@pjebs
Copy link
Owner

pjebs commented Feb 13, 2021

Diy it help?

@Poonamjangir-BMF
Copy link
Author

Poonamjangir-BMF commented Feb 13, 2021 via email

@pjebs pjebs closed this as completed Feb 23, 2021
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