I am working on an iOS project. How can I navigate "somepicure.png" quickly when I find
[UIImage imageNamed:#"somepicture.png"]?
I have tried right click and click with control/option/command, but none of them works.
While the cursor is clicked on "somepicure.png", do shift+command+O. This is quick open and it will populate the search field with the word you are clicked on and show you location
Do you mean when you see a piece of code refer to a file in your application bundle, you want to be able to go from the piece of code to the file like you do when you use a feature like "Jump to definition"? As far as I am aware, that's not possible.
You can try the KSImageNamed plugin. I use it and it works very well. It autocompletes all image names in your project.
http://github.com/ksuther/KSImageNamed-Xcode
Related
I have an issue with Appcelerator App Designer.
I have an image path in assets like app/assets/iphone/images/MainBG.png
In xml i need to use path like /images/MainBG.png
But App Designer set path like /iphone/images/MainBG.png that does not work when i run my app... Yes, i can change this path, but after that i cant see image in App Designer view.
And second question:
App Designer cant use alpha... Yes, i can manualy set BGcolor like rgba(150,0,0,0.5) but in App Designer view i cant see result.
Can any one help me?
Sorry for my English))
Though I have not used App Designer, but following might help you:
put all your image files in app/assets/images folder
now set path in XML like image='/images/MainBG.png'
Set background color manually, you can use following combos:
you can use backgroundColor:"#fff"
also you can use backgroundColor:"#ffffff"
this one also works backgroundColor:"white"
this one works for alpha - backgroundColor:"#abcd", in this syntax, alpha will be 'aa' & r/g/b will be bb/cc/dd.
so this one will also work for alpha - backgroundColor:"#aabbccdd", 2 digits for each alpha/red/green/blue
I have just bought a license to use Ruby Mine and am really struggling to learn how to use it. I keep having to go back to Text Mate to do simple things like searching.
I'm trying to find where i have defined a css div (called "category title"). From what I can gather, I need to use 'Find Usages' in Ruby Mine. Most times when I go to the edit/find menu, 'find usages' is greyed out. Then, if I click on the uppermost 'app' folder, and click find usages, it searches for 'app'. It doesn't recognise the search in the search bar. If i type the div name in the code and click alt/F7, it gives me a typo warning rather than a search option.
Does anyone know how to search the entire app (not just the specific file of the app) in RubyMine? I'm finding this incredibly frustrating.
Thank you
The command you need is Find in Path which will search your entire project, set of projects if they are open together, a specific director, etc. It has a bunch of options, including a regex search. For Mac, it is Command+Shift+f, for windows Ctrl+Shift+f
Checkout this site for keyboard reference.
https://www.jetbrains.com/ruby/documentation/index.html
You might also try shift+shift which is search everywhere, files, classes, symbols.
I am using Parse SDK as a backend and when application loading data from server i see label "Loading". But my app using another language and i wanna translate it. How can i fix it?
Image here
I am tried to change simulator language and and changing value of Localization native development region key in plist.
Anyone had this problem? I think there is very simple answer, but i cannot find it. :)
Thank you for help!
So after a long search, i discovered that you should create a file named "ParseUI.strings" in order to change UI elements like "Loading.." as you mentioned. You can see the file in the image below. You should use at least ParseUI framework 1.1.6 for this method.
After you create a file and named it as "ParseUI.strings" you can change UI elements which parse provides us. You can see which strings are editable here.
In your example you want to change "Loading..." string, so all you have to do is enter the code in your ParseUI.strings file.
"Loading..." = "Whatever thing you want to say...";
Thats it, it worked for me.
I have image which contains tags(showed with # symbols) when i click on a particular tag then i need to call a web service by passing the same tag on which i clicked and i need to push another view.
After clicked on the tag i need to perform search functionality which tag i have sent.It may have multiple tags for single image like that i have more than on image.
Great appreciation for answer.thank you.
Attached the screen shot below placed the tags with # symbol before.
There are a number of open source libraries that help with what you want to do. Check out this link to another StackOverflow post that suggests using TTAttributedLabel.
I am attempting to embed Youtube videos into some of the infowindows in the following KML file:
http://www.jonangfoundation.org/files/newdef.kml .
The videos show up fine on Google Earth and KML Builder, but on this page they do not show up at all:
http://www.jonangfoundation.org/taktentest
Anyone know what could be keeping them from showing up?
Unfortunately your 'test' page does not load - Page Not Found error.
However, I think you need to set the correct MIME type for .kml files. Your newdef.kml is presented in my browser window as XML rather than downloaded as a .kml file. That might be your problem, it is hard to tell with nothing else to go on. check out this link for details about setting the right MIME
https://developers.google.com/kml/documentation/kml_tut#kml_server
Edit: I am not sure what is going on. Your KML code looks okay to me, and I see you have tried a few different approaches, none of which appear to work. I suggest you visit this SO question, as it's answer is something you could do to make it work.
Basically, you override the default behaviour when a placemark gets clicked, and allow iframes and javascript to be used in the balloon. It is the original way of getting around your problem (however I thought it was fixed in recent version of the plug-in. Maybe not?)
I believe your content is being scrubbed. See link for description and possible work around.
https://developers.google.com/earth/documentation/balloons#scrubbing