How to get system icons in iOS - objective-c

I want to use icons like opened/closed folder in my table (UITableView)?
UPD:
For example, in Java you can get a standard image "folder" and use it in the FileTree:
new
DefaultTreeCellRenderer().getDefaultClosedIcon()
And also can use the constants of L&F (colors, styles, icons).
In the iOS, I found only these standard icons.
But not folder icons...

I'm not quite sure exactly what you want - the folder icon from iOS? Could you explain a little better?
If it is a folder icon that you want, there's no quick way to get it from code - doing so would use private API's and your app is likely to be rejected from the app store.
If you want something like a folder icon, a good way to get it would be by taking a screenshot of the iPhone simulator and editing it to the right size etc.

Related

Better PSMTabBarControl / Cocoa Tabs

I want to unify multiple windows from my OS X-Application into a Tab-View, just like Safari, Espresso, Finder, CodeRunner… I found PSMTabBarControl which does the job, but the look and feel are quite different from the other applications I saw.
Comparison (Image)
Then I found out, that those applications had always the same name for the resources used for the Tabs.
Screenshot of the recourses from CodeRunner
Could I just «steal» those images and use them in my own application with PSMTabBarControl or is there another way to get a more native look (not like the PSMTabBarControl default or Chromium Tabs).
You may want to try MMTabBarView.
MMTabBarView is a modernized and view based re-write of PSMTabBarControl.
I release a open source TabbarView controls for OS X and Cocoa recently, you may want to have a look at it here.

Setting ApplicationBarButton.IconUri with icon from Isolated Storage

I am working on windows phone application in which i need to change ApplicationBarButton icon dinamically, for example to show current date like in default Windows Phone Calendar app. Regarding to this article, we can use only png images previously added to solution and reference to them with relative Uri.
It is not a problem for me to generate correct png image (this way and using ToolStack C# PNG Writer Library) and save it to isolated storage, but when i'm initializing AppBarButton with absolute Uri to this image and trying to add it to ApplicationBar, my app throws ArgumentException.
Am i doing something wrong or i just have to draw 366 icons and add them to my project? :)
Thanks in advance!

It is possible to mute project name as presented in IntelliJ?

On the image below, i have a module datastore as part of the IdeaProjects project.
For display purposes, the name of the project is irrelevant for me. Is there a way i can chose to not display it?
Folder name can be hidden if you switch to the Packages view. It's not ideal as you might want to see other files as well, but I'm afraid it's the only way right now.
You are welcome to submit a request to make it configurable.

Location of iTunes/Xcode 4 icons?

I've been looking for the Play icon shared by iTunes and Xcode, plus others and can't find them. This reply seems to apply to Xcode 3 but not Xcode 4.
The image resources are located within private frameworks inside the following folder:
/Xcode4/Library/PrivateFrameworks/
(Note, your path may differ if you chose to install Xcode 4 at the default location, /Developer/).
IDEKit.framework seems to have most of the new UI-related images in vector (PDF) form. There's also XDInterface.framework and DevToolsInterface.framework.
I don't know the exact location, it's not in the Resources folder.
If you only need the play button, use NSToolbar and NSToolbarItem with this PNG.

Themes in Adobe AIR

What is the best way to skin/theme an AIR application. For example, I want to use a dark/blackish theme instead (similar to Tour de Flex) instead of the default gray one.
The ScaleNine themes are a good place to start, find one that is sort of like what you want, plug it into your app, and gradually replace the colors, images, and controls with your own.
http://www.scalenine.com/
I'm only just getting started in AIR as well, but if you're using Flex check out the Flex in a Week video series. There are several videos that cover creating custom MXML components and item renderers, which effectively let you skin your application.
You can also use CSS to style your app.
First you need to set the system chrome property in the air application properties file to none.
<initialWindow>
...
<systemChrome>none</systemChrome>
...
</initialWindow>
If the main file in your air app is named Main.mxml, then your application properties files will be named Main-app.xml. This file is not hard to find, it should be in the same location as the Main.mxml file.
By setting this property to none you are saying that you do not wish your air app window to take the style of the OS windows in which the app is running.
Since this property is set to none, the chrome for the air app will have to come from your Main.mxml file, which should be a WindowedApplication
Use the titleBarBackgroundSkin attriubute of the WindowedApplication To set the skin for the air app. titleBarBackgroundSkin defaults to "mx.skins.halo.ApplicationTitleBarBackgroundSkin"