You didn't post the answer once, but at least three times:
https://stackoverflow.com/a/51537203
Here is a port of PDFKitten to swift, with some modifications to the way the string searching / content indexing is done, as well as support for truetype fonts.
[GitHub link]
... to a question asking about CGPDFScanner
callbacks. So your answer basically states "Don't use the standard object and don't care about callbacks, use my library" - without any explanation whatsoever how that library solves the problem at hand.
https://stackoverflow.com/a/51537258
A little off-topic, but i did the exact same thing (porting PDFKitten to swift) and released the result as an open source project on github. I also did some modifications to the way the string searching / content indexing is done, as well as support for truetype fonts. You may want to look into that if you're planning on doing the same thing.
[GitHub link]
[Disclaimer : lib author]
... to a question about a specific piece of code, where the OP is asking how to iterate over a byte pointer pointing to a string. Not an answer to the question whatsoever.
https://stackoverflow.com/a/51537229
This is a pretty intensive task. There are libs like PDFKitten which are not maintained anymore. Here is a port of PDFKitten to swift that i did, with some modifications to the way the string searching / content indexing is done, as well as support for truetype fonts.
[GitHub link]
[disclaimer : lib author]
... to a question asking how to get the page contents from a CGPDFDocumentGetPage
, which apparently again is about something with pointers.
In all cases, you're just spamming a link to a library you wrote. Sure, you're proud of what you built, and probably rightfully so. But that doesn't mean that you should write a boilerplate answer and post that to even tangentially related questions.
Make sure your answer answers the question. None of those three answers do so. You're just pointing them to your library, without showing any code that would solve the problem at hand. Merely adding "[Disclaimer : lib author]" doesn't make your answer better or eligible for undeletion (even though it already happened in two out of three cases).
So no, don't vote to undelete and don't flag for moderator attention until you've made sure that your answers answer the question.