I want to use the React Native Image Picker I saw (here's the link https://github.com/marcshilling/react-native-image-picker/blob/master/README.md )
In step 3, what does the documentation mean by "Make sure you have 'Create Groups' selected" ?
Also, "Make sure UIImagePickerManager.m is listed under 'Compile Sources' in your project's 'Build Phases' tab"
How can I add the UIImagePickerManager.m in Build Phases, because when I try to add the file, I can only the pick the folder where the is located, not the exact file.
To answer your first question: In Xcode when you add files that are in existing Groups (what Xcode calls folders because they're separate from actual file structures) you can create the groups you are missing automatically by checking a box in the dialog that is labeled "Create Groups" or something similar. However, I don't think adding the folder to your library will prompt you in that way.
Second question: You could simply drag that single file out of the library and into your Compile Sources. At this point it might prompt you with a dialog that does include "Create Groups" as an option.
Related
In vscode, when I'm working with NodeJS, there are some files that occasionally replicated themselves. Why? and how can I fix it?
I don't know how to solve..
Looking at the names of the files you can see that they differ by an additional number. This is an indication that you copied such a file in place (for example using copy + paste). Try it out. Select one, say main.hbs press Ctrl+C and then Ctrl+V. You will get a new file named main 3.hbs (because main 2.hbs already exists.
So, I assume you have done this by accident before, when you believed the code editor has the focus, but instead the file tree was active.
I'm trying to build a plugin that implements buttons on a specified region of a site. (ex: under certain div id tag, always place buttons).
I saw a similar plugin to the one I intended, called Sourcegraph (https://chrome.google.com/webstore/detail/sourcegraph-for-github/dgjhfomjieaadpoljlnidmbgkdffpack?hl=en ), and I'm trying to understand one of the files there (/js/inject.bundle.js, background.bundle.js, etc).
From my shallow understanding, plugins should have the 'original js template' of the website that you intend on changing, and should also have the intended 'inject' template in which the new added changes will be implemented. As I understand that the bundles in this js folder are critical for pinpointing where the changes should be made, I'm stifled on 1. how to get this code for the intended site 2. what exactly this code means.
Help would be very appreciated. TIA!
Let's say I'm building a website and using an already made Wordpress theme. Say it's a pretty complex theme and there's a lot of folders and files. If I wanted to change something specific, like text, or an image, or something that happens in Javascript/jQuery, and the change that I want is not an option in the themes control panel, what do I do? I know I have to go into the files but how do I know which file to go to? Lately, I've just download the theme to my desktop and use the windows search companion and type in the field that says "a word or phrase in the file." Sometimes it comes up and sometimes it doesn't. For CSS changes I usually use Firebug and click on the element, but many times I want to change the HTML/PHP/Javascript. I feel like I'm doing it the wrong way and there's an easier way that I'm missing.
As you mentioned WordPress theme so I will specifically try to answer this question for editing WordPress theme.
When it comes to WordPress, everything is very structured and well organized. If theme written following standard practices then each component has its specific file. If you are familiar with WordPress theme structure and want to change php code or say a static part then all you need to do is locate the component file say sidebar.php, home.php, single-{type}.php, header.php and many similar files. http://codex.wordpress.org/Template_Hierarchy
Now if you want to edit something that is shown in right/left side of page as sidebar then chances of finding it in sidebar.php are maximum. Similarly to change something on home page try looking for home.php, for posts it could be single-post.php.
Many a times what you are looking to change might need a tweak in widgets. In this case, process remains same as theme you just need to look in different folder.
Javascript: For editing javascript, beautify the code if it came minified. When you have code ready much of js debugging can be done using firebug/Developer Console in chrome. Best way is to put breakpoints at relevant position and then inspect code behavior. You will be able to locate code block that you need to tweak to achieve what you want.
CSS: Create a child theme and then use it override default theme properties.
You can probably use grep in PowerShell, Cygwin, etc.
grep -lir "a word or phrase in the file." *
edit: Emulating Grep in Powershell
We are using ExtJs 3.4. I would like to build a trimmed version of ext-all.js so that the file size will be reduced. Is there any automated way to build this custom file or should I manually dig into the file and search for dependencies.
We have a page that use the following components.
Tab Panel
Panel
XTemplate
Radio Group
Button
And we use 'view port' to render the components. Can any one suggest how can we achieve this?
Even before that, given our case where we use these components, is it advisable to go for this customization ?
See http://www.sencha.com/learn/legacy/Tutorial:Building_Ext_From_Source
I have the eclipse setup working pretty well for the java files in my code. But now I want to integrated the JS files also, leaving other XSLs/CSS files. Can I do that?
One is adding all the folders and then manually delete the unwanted ones, but Is there some clean way of doing that?
-Prtcl
You can
reference the JS folder in your workspace (without actually copying it): see linked folder.
then try adding a filter (in the package explorer, in the upper right corner of the view, there is a little down arrow, with a Tool tip saying "view menu": Java Element Filters)
If you do not want to view any xsl/css file, try to hide then to the "Name filter patterns" list