How to create safari extension for iOS? - ios

I found a way to create Safari extension here
but this is only for 'OS X'. I wonder if there is a way to create one for the iOS.
Any help will be appreciated!

You can not make extensions for mobile safari.
On the other hand you can add bookmarklets.
The article is pretty old but it should do the trick: https://code.tutsplus.com/tutorials/create-bookmarklets-the-right-way--net-18154

Related

Reading .bundle files in Cocoa Application

I am creating a cocoa web browser using WKWebView and Swift. Like most browsers, they have extensions or plugins. I want to implement the same thing in my web browser. I came across CFPlugin. I want to use this feature but I do not know how. It would be good if you give a sample application.
I haven't tried anything because I don't know what to do
This is how I want my extension to look like
myExtension.bundle/
info.plist
scripts1.js
popoverview.xib
popoverview.swift
script2.js
popuppage.html
image.png
popuppage.css
I want to know how to read the files in the bundle
Thanks!
After a few minutes of trying I found the answer
Bundles are considered as Directories
so you can do something like this
MyBundle.bundle/Contents/Info.plist
MyBundle.bundle/Contents/Resources/MyView.xib

How I can build 'How to use this app' tutorial inside my iOS app?

I built a new iOS app,
After I ended it they asked me to make a self inside app tutorial explaining How to use this app !!
They mean something like the tutorials you view them on some famous apps,
Like: To add new item: press here, and they put an arrow signing to the add button.
So I'm wondering if there is any solution or idea I can start with it to make this tutorial .
Thanks in advance.
Depends on what you want.
You could show a video as #wasted suggests.
Another way of solving this is to use a UIPageViewController which embeds other simple UIViewControllers containing images and text explaining what you app does. An example of how to do that is shown [here] (http://www.appcoda.com/uipageviewcontroller-tutorial-intro/)
You can also find several frameworks made for this purpose, here are some of them:
https://github.com/vsouza/awesome-ios
https://github.com/ephread/Instructions
https://github.com/ariok/BWWalkthrough
https://github.com/ruipfcosta/SwiftyWalkthrough
Hope that gives you something to work with.

VFR Reader search functionality

Hi just downloaded the VFR-Reader. Its fantastic [exactly what I wanted] except it doesn't have search functionality included...
Does a fork exist that has this implemented? Otherwise what is the best method to include this functionality
Thanks
You can add search functionality by using another project - PDFKitten. I'm using them both in my own project and they work perfectly fine!

how to use UTImportedTypeDeclarations in our app

i need some help here, i want to make my app can open all file types from another app, just like Open In feature in IPAD, is it true to use UTImportedTypeDeclarations ?
but i dont know what to do, is there any tutorial to use it?
thank you
Yes, you need UTImportedTypeDeclarations.
Here's a few tutorials:
http://www.raywenderlich.com/1948/how-integrate-itunes-file-sharing-with-your-ios-app
http://www.raywenderlich.com/1980/how-to-import-and-export-app-data-via-email-in-your-ios-app

Read firefox extension version from the extension code itself

I'm developing a firefox extension and I'm looking for a way to access (read) the version of my extension from the extension code itself.
Thanks.
This post provides the APIs you would need to use to make this work. Even has sample code!
You can use nsIFile and read your own .rdf, I suppose.

Resources