Set logo for Mac application - objective-c

I am an iOS developer and did my first Cocoa Mac application using Xcode 4.2, I set the Logo image in the xcode itself and property list, but the application logo still has its default logo (the white sheet with two pens), how can I set Logo for my application?

Design your 512x512 icon and save it as png file. Open Icon Composer (installed with Xcode in /Developer/Applications/Utilities folder) and drag your png file to it and save your icon as icns.
Now in Xcode open your project and select the target. Drag your icns file to the "App Icon" box. That´s it! Build and run again...

You should place icon (icns format file) Your project target -> summary -> drag n drop in App icon box.

you need a .icns file rather than a straight png to get the file icon. This is essentially a collection of images at different sizes that mac os can use for different jobs.
as of mountain lion, the Icon Composer isn't available. You can build your icns file on the command line from a bunch of scaled and named bitmaps, or you can use the simple utility I built to do the job!
http://hobbyistsoftware.com/icnsBuilder

Related

Cannot set application icon for a GTK# application in Monodevelop 3.1.1

I set the icon as described in https://stackoverflow.com/a/12491626/67824 but it still shows as a generic app icon (grey screen with green "exec" text) in the dock and in the ⌘+tab application switcher (both when I run it from MonoDevelop and when I run it using mono foo.exe). I know it can be done, because when I run a mono-compliant version of LINQPad I'm seeing the LINQPad application icon.
I also use the SetIconFromFile method in the main window's class. Example below where my icon is copied to an Images folder at the root of my application:
this.SetIconFromFile(string.Format("{0}{1}Images{2}Logo.ico",
System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location),
System.IO.Path.DirectorySeparatorChar,
System.IO.Path.DirectorySeparatorChar));

Xcode 6.1 not showing launch image on ios 8.1

Recently I updated my Xcode version to 6.1 and ios to 8.1 . Now while launching my app on my iphone 5 its not showing me my launch image instead its showing a blank white screen only.
Selected app and launch image section is shown in image. Please tell me where am I going wrong?
Launch images are now managed in a xib file rather than an xcassests file. This is because there are more devices all with different screen sizes and Xcode has to be able to manage them.
Set up a xib file called LaunchScreen.xib with just one view in it's hierarchy and with no owner. Put your images in that view. Then in the general settings for your iOS target change Lauch Screen File to LaunchScreen.xib
If your Splash Screen not showing in Ios 8.1 then you have to check only for ios 8 or latter
just follow this....
1- click on Launch Image Source (Arrow) (You show in screenshot)
2- open Inspector and Check ios 8 or latter.
3- Add our Splash Images accordingly
Thanks

Application icon in Notification Center is the default Mac icon

I use another image.icns as my applications icon file.
I've deleted ~/Library/Application Support/NotificationCenter/*.db and restarted my computer but the notification icon is still the default Mac icon for my application.
Stop your application from running in Xcode. Force quit the Notification Center process via Activity Monitor. Relaunch Notification Center and then launch your application. Your notifications should now display your application's icon you've provided in your AppIcon.appiconset.
Turns out you should probably keep your icons in an ".iconset". And have all the recommended sizes available for the notification center to pick up (e.g. might be 32 x 32, might be 16 x 16).
And to create this, you can use the "Icon Composer" app to convert your .icns file into a full blown icon set. The .icns file does end up in your built app package / bundle in the end, though.
Details can be found in Apple's "High Resolution Guidelines for OSX" document, under the "Create a set of icons that include high-resolution versions" section.
Archive your app, export it to your applications folder. When there is a copy of your app in Applications folder, notification icon is somehow visible. This worked in my case...

How to set an installer icon for Adobe AIR applications?

I'm trying to set the installer icon of an Adobe AIR application, like in the screenshot below:
but I cannot figure out how to do it. I've specified the icons in the app.xml but nothing is showing up. Any idea how to do this?
You have to include the icon images in the AIR packagee as well as reference them in the app.xml file. (Flash and Flash Builder should do this for you, but if you are packaging from the command line, it is easy to forget.) Make sure that they end up in the correct path within the package relative to the main app SWF or HTML file. I/e/ if you reference your icon as "foo/icon.png", it has to be in the "foo" subdirectory within the package.

How to make built app with icon?

I'm writing an OSX App and added an icon for it.
After building in Xcode, I can see the app with icon under Products folder, but when I RightClick->'Show in Finder', the built file is shown without icon. I want the built file to have an icon.
For Mac OS applications, you need to create an .icns file and include it in your Info.plist just like any other project.
Just change icon.png to icon.icns
When I submit an icon image for my app, I never add the .icns extension. It is automatically assumed by the compiler. So for the icon file "icon.icns", simply enter "icon".