Brackets-shell custom application extension - brackets-shell

Maybe I'm a bit confused here. I've built a custom extension which consists of the following files:
|--myapp
| |--main.js
|--node
|----SimpleDomain.js
If I install these as an an extension and run the Brackets app my extension works as expected.
I now want to build a custom app, the question is where do I put these files so that it becomes part of my custom application?
Regards,
Carl

Carl, See here https://groups.google.com/forum/#!topic/brackets-dev/BKVA8MIqXzk. Then here https://github.com/alloyking/node-app-brackets/tree/master

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 create a new "templates" category on Xcode 4 and use my own file templates there?

I would like to start using my own templates for iOS applications. I don't want any significant changes, but simpler things like
add/remove some boilerplate code
add some pragma mark sections
hardcode my company's name and some comments for every file
change the indentation
etc etc etc
The idea is that we will share these templates when we create apps, but at the same time we want to keep the default template files that Xcode 4 already provides. So, in the following screenshot, how can I add a "CompanyName Application" section that contains exactly the same templates (Navigation-based, View-based etc), but with my own changes?
I found that I can add a folder under /Developer/Library/Xcode/Templates/ or /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/ but I'm a bit confused with what do I need to do exactly. I would really appreciate it if you could help me with that, as I have already messed up my folders twice with no luck. Thanks!
This blog post by borealkiss has detailed instructions. For starters:
If you add your own templates, the place you should use is under the following path:
~/Library/Developer/Xcode/Templates/
The problem is that it is quite hard to create a custom template.
For example, to copy and paste the
built-in template to your place will
not show up the template on Xcode 4
until you manually change its
identifier in TemplateInfo.plist.
I just found this article from Bob McCune "Creating Custom Xcode 4 File Templates" that is exactly what I needed, so I put it here for reference.

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