What do these Xcode 4 debugger icons mean? - icons

I haven't been able to find what these Xcode icons mean. Some you can deduce (cup icon is cocoa, person icon is your code) but other's are more mysterious.
UPDATE 1:
I was able to find the icon files under:
.../Xcode.app/Contents/PlugIns/DebuggerFoundation.ideplugin/Contents/Resources
There's a total of 13 different icons and they are all clearly labeled. In the screenshot that I posted we have:
Person icon is User
Mug icon is AppKit (or UIKit)
Briefcase icon is Frameworks
Gear icon is System
Morse code icon is Foundation
Spider web looking icon is Web
Update 2:
A while back I wrote a blog post that's easier to read:
http://jlmendezbonini.com/2013/03/27/Xcode-4-debugger-icons.html
Update 3:
Looks like Apple finally documented it in the Process View Display
section. Here's a link to the image:

Here's a quick screen shot of the folder mentioned. The names explain the meaning of each icon. This is from xcode 5 beta 2.

The icon means, in general, assembly for which you don't have debugging symbols. Not your code (the person icon), not public, top-level Cocoa code (the mug), not Framework/library code (the suitcase) but plain old assembly.
I don't think this is documented anywhere (I haven't seen it) but it seems to hold true for all the tests I've done.

Related

What Executable Icons/Thumbnails are Chosen by Windows?

The Visual compilers and GCC use .rc files to add resources to your executable. One can specify a resource type called ICON, to add an Icon to your executable. If I specify multiple ICONs in my .rc files, which one is chosen to be displayed as a thumbnail in the Windows explorer and which one is chosen to be displayed as the window icon, when the programm starts?
I conducted a few tests and it seems, that it allways chooses the same one to be displayed in the Windows Explorer as a thumbnail, but perhaps this is some caching done by windows. The Properties window from the Windows Explorer allways shows a different icon, perhaps one with the smallest size. The icon beeing displayed, when the program is executed differes (it might be the one, with the lowest value, described by nameID in the docs).
The official Windows docs do not answer this question: https://learn.microsoft.com/en-us/windows/win32/menurc/icon-resource. I don't think there are any docs about this from gcc/windres specifically.
By the way, even though the docs clearly say...
Defines a bitmap that defines the shape of the icon to be used for a given application or an animated icon.
...using a bmp file (exported by Windows Paint) is not accepted as an icon by windres (windres: icon file 'bmpicon.bmp' does not contain icon data).
I use gcc, as well as windres to compile the program, but I hope it wouldn't change the outcome, if I used the Visual compilers from Microsoft. In case it was still unclear: Windows is the operating system used.
I am unsure, if this is the correct forum to post such a question, but in case it isn't, I apologize.
Thanks in Advance for sharing hard to find information.

Finding documentation in XCode 4.5

I'm very used to option clicking on something in XCode, and then clicking the "notebook" icon in the top right, to bring up the appropriate documentation (see the image below).
Where has this icon gone in XCode 4.5? (i.e. how do I get to the documentation in 4.5?)
If you click on the link in the reference section of the popup, it will take you to the documentation section of organizer. I'm not sure if this is what you are looking for as I have never used the feature pre 4.5. Just tested this on my computer and it worked though.

Small exclamation icon over my STS project icon

I am working on Struts project using the Spring Source Toolsuite IDE.
When there are complier errors or something, a red X mark or yellow exclamation mark appear over the icon for my project.
But even after I made sure there are no complier errors, I got this exclamation mark in my project icon. My project is building and running successfully and I am getting the proper output.
Why is it there? How can I find out what it is complaining about?
Click Window -> Show View -> Problems and you'll see the list of errors/warnings and you can take it from there.
As ptsw pointed out, too:
If the Problems item isn't visible in Window -> Show View menu, choose Other... instead and select Problems in the General group to view the Problems pane:

How to access iPhone Simulator's images

Is there any way to access the internal images that the iPhone simulator uses?
For example, if I want to get the original image used for one of the default app icons (e.g. Contacts). This way I could get the highest possible resolution, and examine it for purposes of creating similar icons for my app.
Another example of an image I might want to access is the default icon for a contact:
I'm not asking for a programmatic solution (although that would work), I'm asking for a manual solution, possibly navigating the Simulator's file system using Finder.
You can find the apps at e.g. /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/Applications. The icon of Contacts is at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/Applications/Contacts.app/icon.png or icon#2x.png. But you can't easily read them, as they are in a strange format (it's not standard PNG), you need to convert them. See for example this article or this article.
EDIT: added two more links for iphone icon images.
You dont need to do this.
Just grab a User Interface Kit:
Heres a website you can go to to download the .psd files which you can use for your self for free:
http://webdesignledger.com/freebi
For another library of iphone icons. This one includes the contacts icon:
http://www.iphonestudio.co.uk/page/iphone_icon_gallery
And here are the iphone icons on the main screen made downloadable for your own use.
here are official icons in different sizes.
check the quality of the Photos icon.
wow.
http://www.iconarchive.com/category/application/iphone-icons-by-judge.html
Hope this helps.
Let me know if it did
PK

Custom Application Icon for processing app

I've written a small Processing App which I'm planning to release soon. What's still missing is a sweet custom icon for Titlebar/Taskbar (Win) and Dock (Mac). Any suggestions how to do this?
Thx!
Meanwhile I figured it out on my own:
Obviously this works for Mac OS by replacing the sketch.icns file within the exported app, for win & liunx is done by adding this line to your setup method:
frame.setIconImage( getToolkit().getImage("sketch.ico") );
It depends if you have any artistic ability or not.
If not, then you can hire an icon designer to do one, or search the web for free icons - there are billions.
If you have a modicum of artisticness, then you could grab a free icon that is almost what you want and then tweak it. IcoFX is a great free application for doing this sort of thing.
If you think you have what it takes to draw an icon from scratch, then a good plan is to use a vector art package. This allows you to export the same graphic at multiple resolutions so you can get top quality at every icons size you need (from 16x16 to 256x256). Alternatively, draw a large (512x512) verison in a bitmap editor and then downscale it as required. As long as you start big and downscale, you shouldn't have any problems (although to get a good icon at 16x16 and 32x32 you will still need a good eye and a lot of manual tweaking).
In your code, just type this line:
frame.setIconImage( getToolkit().getImage("sketch.ico") );
For Windows/Linux, this will do it. For Mac/OSX, follow these steps:
Find your sketch in Finder
Right click > info, or CmdI
Find your icon and open it in Preview
In Preview, click on your icon and press CmdA or right click > select all
In Preview, press CmdC, or right click > copy
Go back to Finder. Click on the current icon of your sketch. You'll know you've selected it when a blue outline appears. Press CmdV, or right click > paste
Tips:
The standard icon size is 512x512
When making your icon, make sure that your transparencies are working

Resources