Mac Os X Change App Icon

  1. Macos Change App Icon
  2. Mac Os X Change App Icon Windows 10
Mac Os X Change App Icon

Situatie

The default Mac desktop gets boring after a while. If you want to keep things interesting, try changing the icons of your favorite apps, files, and folders. Here are the two most popular methods for changing icons on Mac.

Solutie

Pasi de urmat

Jun 25, 2018  How to change icons on a Mac: Swapping the existing icons The first method to change the icon on a Mac is to swap the icon of an existing folder with some other folder. It is nothing but copying the folder of an icon in.icns format and then paste it to that folder which you want to change. Here is the step by step process. Jun 04, 2013  Switching icons from another icon is how to put to use the hidden Apple hardware icons in Mac OS X, and many of the free icon packs downloaded from the web from sites like Interface Lift.Typically those icon packs are collections of folders or empty files with an icon assigned to each file or folder in the container, making them very easy to copy and paste and use elsewhere. Jul 16, 2014  Step 1: Use Finder to navigate to the Applications folder of your Mac and select the application for which you want to change the icon. In this example, I’ll be exchanging the default iTunes icon for the one in the banner at the top of this article. On your Mac, copy the picture you want to use to the Clipboard. One way to do this is to open the picture in the Preview app, choose Edit Select All, then choose Edit Copy. Select the file or folder whose icon you want to replace, then choose File Get Info. At the top of the Info window, click the picture of the icon, then choose Edit Paste. Oct 29, 2014  Download and open LiteIcon → select category where is stored icon, which you want to change. Drag.icns file and drop it on the icon set you want to change. Click on Apply Changes button and LiteIcon will save the new icons to OS X - in our case Finder icon in Dock. Showcasing beautiful icon designs from the Mac App Store. MacOS Icon Gallery. IOS Icon Gallery; watchOS Icon Gallery; A printed book celebrating the art of iOS icon design. Official site at appiconbook.com ← Prev Next → Page 1 of 13 Search; RSS Feed; JSON Feed; Twitter; About; App Icon Book; Designed, engineered.

Change App, File, and Folder Icons Using PNG Images

When it comes to icons of any sort, PNG, with its transparent background, is the most popular format out there. You can find any PNG icon online (as long as it’s square and high-resolution) and make it an icon for any app, file, or folder on your Mac. After you download the PNG icon, double-click the image to open it in the Preview app.

Jul 15, 2014  Great places to find replacement icons that are properly formatted include deviantART and the MacRumors forums. Download the image you’d like to use as your new icon and open it in Preview. With the image open and Preview the active application, press Command-C to copy the entire image.

Use the Command+A keyboard shortcut to select the entire asset, then use the Command+C shortcut to copy the PNG icon to the clipboard. Alternatively, you can go to the menu bar and choose the Edit > Copy option.

Macos Change App Icon

Next, navigate to the app, file, or folder where you want to change the icon. Right-click the item and choose the “Get Info” option.

This will open the information panel. You’ll find the icon in the top-left corner. All you have to do is click the image to select it. Then, use the Command+V keyboard shortcut to paste the PNG here.

The icon will be updated instantly.

You might want to take a backup of the original icon because there’s no simple way to restore the icon. To do this, select the icon from the Get Info panel and use the Command+C shortcut to copy it. Then, open the Preview app and use the Command+N keyboard shortcut to create a new document from the clipboard. You can also go to the menu bar and use the File > New From Clipboard option.

Now, all you have to do is give the PNG file a name and a destination.’

You can come back to it at any time to replace the icon.

Change App, File, and Folder Icons Using ICNS Images

Did you know that macOS has its own icon format? It’s called ICNS, and while it’s not widely supported, you’ll find many exquisitely designed Mac icons in the format. Many designers on DeviantArt offer Mac icons in an ICNS format. If you have an icon in an ICNS format, switching to it is as simple as a drag and drop. In this example, we’ll be using the Bondi macOS set by designer Vidit Bhargava. It’s a custom-designed icon inspired by the OS X Aqua design language from the years past.

First, download an icon you want to use and then open the folder with the ICNS icons. Then, navigate to the app, file, or folder where you want to change the icon, and right-click it. Here, choose the “Get Info” option.

Now, simply drag the ICNS icon from the folder to on top of the current icon in the Get Info panel.

Once you let go of your cursor, the icon will be updated.

That’s it. You can repeat the process to change the icon for as many apps, files, or folders as you want!

Tip solutie

Permanent

Yes, my problem really is that simple. How the heck do I get my app to use the icon file or asset catalog?!

System info:
Xcode 6.1.1 (6A2008a)
app target OS X 10.10
OS X 10.10.1 (14B25)

This is my first OS X app but I have several years' experience developing iOS apps.

Steps to reproduce:

  1. open xcode, start an entirely new cocoa application project
  2. not sure this matters, but i specified my new project not to use storyboards or core data
  3. drag a .png file from my local directory into the project structure, and make sure (a) it ends up in the build target and (b) the file copies into the project's directory
  4. drag the png into the Images.xcassets catalog under any/all of the sizes classes for AppIcon.
  5. build and run

Expected: app in dock and tab-switcher has the new icon.
Actual: app in dock and tab-switcher has the default 'blank page with instruments A on it'

Ok, maybe that's a DEBUG thing.

  1. archive the project, show in finder

Expected: app in Finder has correct icon
Actual: nope. It should be noted however that Xcode's Organizer shows the correct icon, and there does exist a file Contents/Resources/AppIcon.icns. Contents/Info.plist specifies that the Icon File is 'AppIcon'.

grrr. Let's try without the asset catalog.

  1. in the target's General settings, under App Icon, select 'don't use asset catalogs'
  2. delete Images.xcassets
  3. In Info.plist, in the line for Icon File (CFBundleIconFile), specify the icon's name (in my case 'AppIcon'). The documentation clearly states that

    The system looks for the icon file in the main resources directory of the bundle.

    File extension is not required here.

  4. build & run. also archive, to save time later.

Expected: app icon in dock and tab-switcher is correct.
Actual: nope
Expected: archived app has correct icon.
Actual: nope, but the archived product did have the correct png file in Contents/Resources.

What am I missing?!

I've tried this with .png app icons and a regular .icns file (generated by xcode via an asset catalog). I've tried excluding and including the file extension in the Info.plist. Why is this so difficult?

Edit: Clean, Clean Build Folder and deleting the Derived Data folder did not help.

So I found the answer through the help of a commenter: I had to fill all of the xcassets/icns slots with images of the exact dimensions.

Mac OSX - Allow for user input in shell script via GUI or Prompt

osx,bash,shell

From what I understand I would recommend you look in to Applescript as this will allow you to have a GUI Interface as well as executing 'SHELL' commands. First of all I would open 'Script Editor' program that comes preinstalled on Mac's This is an example script which asks for...

New warnings in iOS9

xcode,ios9

You library was compiled without bitcode but the bitcode option is enabled in your project settings. Say NO to Enable Bitcode in your target Build Settings and the Library Build Settings to remove the warnings. ...

Turn a switch Off or On on the basis of another switch state

ios,xcode,uiswitch

first of all you need to create IBOutlet of both UISwitch in your header .h file @property (strong, nonatomic) IBOutlet UISwitch *isMale; @property (strong, nonatomic) IBOutlet UISwitch *isFemale; then in your IBAction do as follow. - (IBAction)isMale:(id)sender { if ([sender isOn]) { [_isFemale setOn:NO animated:YES]; } else { // do...

Xcode - Colours look different but should be the same

ios,xcode,hex,uicolor

Because of the blurring effect on a translucent UINavigationBar, the color you set is not exactly how it will be displayed on screen. You can either set your navigation bar's translucent property to NO: self.navigationController.navigationBar.translucent = NO; ... or use this handy calculator to work out the correct input color...

Call to implicitly-deleted copy constructor in LLVM(Porting code from windows to mac)

c++,osx,c++11,compiler-errors,llvm

This line of code is very ambiguous: for (auto it : _unhandledFiles)//ERROR HERE auto uses template argument deduction, so std::string s; std::string& sr = sr; auto x = sr; in the above code x is deduced to be of type std::string, not std::string&. So your loop is equivalent to: for...

pcap_dispatch() always returns 0 on Mac OSX for wifi interface

osx,pcap,libpcap,arp

If you are capturing in monitor mode, you will be getting native 802.11 packets, which do not look like Ethernet packets, so filtering similarly to Ethernet will not work. Furthermore, if you're capturing in monitor mode on a protected network, i.e. a network using WEP or WPA/WPA2, everything past the...

Build error after I localized Info.plist

ios,objective-c,xcode,swift,localization

Roll back those changes, add a InfoPlist.strings file to your project, localize it and then add the needed keys to it. For example: 'CFBundleDisplayName' = 'App display name'; 'CFBundleName' = 'App bundle name'; ...

control may reach end of non-void function xcode

c++,xcode,visual-studio-2012

When writing something like Type func() { ... } The compiler expect you to return an object of type Type in every paths of the function, which is not what you do here. Or your LOG function return an A object, which I doubt, and you should write return LOG(),...

Eclipse CDT - No Console Output on OSX

c++,eclipse,osx,terminal,64bit

Are you using the right compiler? If you are compiling with Cross GCC it might not run on a 64bit OS X device. Try using MacOS GCC for compiling if so.

When trying to get dynamically created UILabel to wrap, text disappears

xcode,swift,word-wrap,cgrect,sizetofit

Changing the position of sizeToFit() after assigning text did the job as suggested by Bartlomiej above

Xcode referencing old copies of files

ios,objective-c,xcode,file-management

Xcode does not keep the source files, it just points to them. Most likely you are editing a copy Xcode is not using. In Xcode check the location of the file it is using: ...

ASP.NET vnext overriding status code set in controller. Is this a bug?

osx,asp.net-5,kestrel

The behavior of void returning action was recently changed to not convert to 204 status code. However, for you scenario you could use the CreatedAtRoute helper method(this actually creates a CreatedAtRouteResult) which sets the Location header. [HttpPost] public void Post([FromBody]CrudObject crudObject) { return CreatedAtRoute(routeName: 'GetByIdRoute', routeValues: new { id =...

Crash when processing `__Atom` class object in Objective C (using Objective C runtime )

objective-c,osx,objective-c-runtime

+[NSObject isSubclassOfClass:] is a class method for NSObject and not all classes are subclasses of NSObject. It seems as if you have find private class that is not a subclass of NSObject, so it requires a more delicate handling for checking for inheritance. Try: BOOL isSubclass(Class child, Class parent) {...

Transferring an Xcode project to another computer with all files/frameworks

ios,xcode,frameworks,transfer,projects

Try transferring everything from plists to the storyboard. I did this with a friend of mine and it only took about 20 minutes for the code to build and run successfully on his own laptop. the biggest issue is going to be transferring the files that Xcode is going to...

Login with Facebook option trigger suggest to download an app

android,ios,facebook,osx,login

I found out what I was talking about. Facebook is adding a new feature which ask users if they want to get a link to the mobile app. This is in Beta right now but you will automatically eligible for the feature if: You have integrated the new Facebook Login...

Capitalize all files in a directory using Bash

Mac Os X Change App Icon Windows 10

osx,bash,rename

In Bash 4 you can use parameter expansion directly to capitalize every letter in a word (^^) or just the first letter (^). for f in *; do mv -- '$f' '${f^}' done You can use patterns to form more sophisticated case modifications. But for your specific question, aren't you...

AutoLayout complains about constraints for 2 UITextFields with no borders

ios,xcode,swift,autolayout,nslayoutconstraint

'Add Missing Constraints' is not always a good idea to add constraints..rather you should always prefer to add constraints manually... Here is the image for your UI...I used wAnyhAny layout as it is good practice for add constraints for universal devices... I used simply width constraint for textfield, rather you...

SKEmitterNode particles lag at start

ios,xcode,swift,particles,skemitternode

The solution was setting the advanceSimulationTime to exactly 1.0 sec. I'm not entirely sure why this is the case, but I suppose that the creation 'animation' takes up this time. Anyway, case closed and thanks for the help to everyone, especially lchamp since he suggested the solution....

Change the “about this” window on mac app

java,osx,deployment

If your application is an .app bundle then it should have an info.plist. Inside the info.plist will normally contain version information that should display the version number: <key>CFBundleShortVersionString</key> <string>2.0.0</string> Typically the version information here is populated in places that call for it (eg. About). To change the name that would...

Display django runserver output from Vagrant guest VM in host Mac notifications?

python,django,osx,notifications,vagrant

Why not run a SSH server on the VM and connect from the host via a terminal? See MAC SSH. Which OS is running on the VM? It should not be too hard to get the SSH server installed and running. Of course the VM client OS must have an...

Read plist inside ~/Library/Preferences/

objective-c,xcode,osx

You need to use NSString method: stringByExpandingTildeInPath to expand the ~ into the full path. NSString *resPath = [@'~/Library/Preferences/' stringByExpandingTildeInPath]; NSLog(@'resPath: %@', resPath); Output: resPath: /Volumes/User/me/Library/Preferences ...

Use Unix Executable File to Run Shell Script and MPKG File

osx,shell,unix

The most common issue when handling variables containing paths of directories and files is the presence of special characters such as spaces. To handle those correctly, you should always quote the variables, using double quotes. Better code would therefor be: sudo sh '$path/join.sh' sudo sh '$path/join2.sh' It is also advised...

How can I display the time offset (years, months, weeks, …) from two dates at my labels?

ios,xcode,swift

I have created a new extension to output the offset components as string for you: import UIKit extension NSDate { func yearsFrom(date:NSDate) -> Int{ return NSCalendar.currentCalendar().components(.CalendarUnitYear, fromDate: date, toDate: self, options: nil).year } func monthsFrom(date:NSDate) -> Int{ return NSCalendar.currentCalendar().components(.CalendarUnitMonth, fromDate: date, toDate: self, options: nil).month } func weeksFrom(date:NSDate) -> Int{...

How to use existing SQLite database in swift?

ios,database,xcode,sqlite,swift

First add libsqlite3.dylib to your Xcode project (in project settings/Build Phases/Link Binary with Libraries), then use something like fmdb, it makes dealing with SQLite a lot easier. It's written in Objective-C but can be used in a Swift project, too. Then you could write a DatabaseManager class, for example... import...

Getting video from Asset Catalog using On Demand ressources

ios,xcode,xcode7,ios9,asset-catalog

I think its not possible to use Asset Catalog for video stuff, Its simplify management of images. Apple Documentation Use asset catalogs to simplify management of images that are used by your app as part of its user interface. An asset catalog can include: Image sets: Used for most types...

Can't figure out coder aDecoder: NSCoder

ios,xcode,swift

Your custom initializer cannot initialize the immutable property. If you want it to be immutable then, instead of creating a custom initializer, just initialize in one of the required or designated initializer. Like this, class AddBook: UIViewController { @IBOutlet weak var bookAuthor: UITextField! @IBOutlet weak var bookTitle: UITextField! let bookStore:...

Why label still append 0 once press clear button “C”?

xcode,swift

Just add this condition into displayHistory() method : if history.text '0' { history.text = historyLabel }else { history.text = historyLabel + history.text! } ...

How to get NSTableView to use a custom cell view mixed with preset cell views?

osx,swift,cocoa,nstableview,nstableviewcell

I'd try just giving the default cell your own identifier in Interface Builder... ...then just use that in conjunction with makeViewWithIdentifier:: func tableView(tableView: NSTableView, viewForTableColumn tableColumn: NSTableColumn?, row: Int) -> NSView? { var viewIdentifier = 'StandardTableCellView' if let column = tableColumn { switch column.identifier { case 'nameColumn': viewIdentifier = 'nameCellView'...

canEvaluatePolicy Extra argument 'error' in call Swift Xcode 7

ios,xcode,ios8,xcode7

As mentioned in Using Swift with Cocoa and Objective-C, all Objective-C methods that use NSError to return an error object will now throw when called from Swift 2.0, so you need to use: do { try method() } catch let error as NSError { reportError(error) } Removing the reference to...

Running app from console gets CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'

xcode,xctool

After reading several posts at stackoverflow and several post at Github, I found this one where I found a solution at the end. Therefore, my solution was: xctool/xctool.sh -workspace Supermaxi.xcworkspace -scheme Supermaxi build CODE_SIGN_IDENTITY=' CODE_SIGNING_REQUIRED=NO It worked for me....

How can I fix crash when tap to select row after scrolling the tableview?

ios,xcode,swift,uitableview,tableviewcell

Because you are using reusable cells when you try to select a cell that is not in the screen anymore the app will crash as the cell is no long exist in memory, try this: if let lastCell = self.diceFaceTable.cellForRowAtIndexPath(lastIndexPath) as! TableViewCell{ lastCell.checkImg.image = UIImage(named: 'uncheck') } //update the data...

UIView within a container view not showing

ios,xcode,swift

All you have to do is Set the label ':' in centre vertical and horizontally and align all the constraints according to it . align the blue view giving it top , height , width and centre X to the label ':' and all other views giving them top and...

UITapGestureRecognizer sender is the gesture, not the ui object

ios,xcode,swift,uigesturerecognizer

You can get a reference to the view the gesture is added to via its view property. In this case you are adding it to the button so the view property would return you you the button. let button = sender.view as? UIButton ...

OSX tmux configuration session open file in vim automatically

osx,session,vim,configuration-files,tmux

Explicitly inserting a space should do it: send -t 1 vim space ~/Path/to/my/file enter or you can quote command arguments (I prefer this one): send -t 1 'vim ~/Path/to/my/file' 'enter' ...

How do you work with views in MainMenu.xib?

objective-c,xcode,osx,cocoa

So the default is that your main application window is an outlet in the app delegate. You should keep MainMenu.xib's owner as the app delegate. A common alternative, if you are creating your own custom window controller, is to create a property in the AppDelegate of type CustomWindowController, then in...

Coco2dx - Changing To Background Image

ios,iphone,xcode,xcode6,ios-simulator

Create and add a CCSprite: CCSprite *bg = [CCSprite spriteWithFile:@'bg.png']; bg.tag = 1; bg.anchorPoint = CGPointMake(0, 0); [self addChild:bg]; ...

How to uninstall all python versions and use the default system version of OS X 10.10?

python,osx

The file /usr/bin/python (and /usr/bin/pythonw, which is a hard link to the same file) is actually a launcher program that invokes the default version of Python from /System/Library/Frameworks/Python.framework/Versions. You can select the version (2.6 and 2.7 in Yosemite) the launcher invokes using either the defaults command or the VERSIONER_PYTHON_VERSION environment...

PFUser not unwrapped - swift

ios,xcode,swift

Mac Os X Change App Icon

Here is explanation: What is an 'unwrapped value' in Swift? PFFacebookUtils.logInWithPermissions(['public_profile', 'user_about_me', 'user_birthday'], block: { user, error in if user nil { println('the user canceled fb login') //add uialert return } //new user else if user!.isNew { println('user singed up through FB') //get information from fb then save to...

type casting in objective-c, (NSInteger) VS. integerValue

ios,xcode,casting

NSNumber is a class; NSInteger is just a typedef of long, which is a primitive type. dic[@'count'] is a pointer, which means that dic[@'count'] holds an address that points to the NSNumber instance. NSNumber has a method called integerValue which returns an NSInteger as the underlying value that the NSNumber...

How to get CPU utilization in % in terminal (mac)

osx,terminal,cpu

This works on a Mac (includes the %): ps -A -o %cpu | awk '{s+=$1} END {print s '%'}' To break this down a bit: ps is the process status tool. Most *nix like operating systems support it. There are a few flags we want to pass to it: -A...

Swift 2 : NSData(contentsOfURL:url) returning nil

ios,json,xcode,foundation,swift2

I would expect it to work in the terminal, since what you're seeing here is likely not a bug in Swift or Cocoa Touch, but the side effects of a new feature in iOS 9 called App Transport Security. What this means is that by default, iOS will not permit...

UIWebView path depends on previous pressed button Xcode

ios,objective-c,iphone,xcode,uiviewcontroller

in your ClassA.m - (IBAction)button1:(UIButton *)sender{ path=[[NSBundle mainBundle] pathForResource:@'filename' ofType:@'pdf']; [self performSegueWithIdentifier:@'yourIdentifierName' sender:self]; } - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if([segue.identifier isEqualToString:@'yourIdentifierName']) { classB *clsB =segue.destinationViewController; clsB.typeofSelect=path; } } in your class B.h @property (nonatomic, weak) NSString *typeofSelect; in your Class B.m @synthesize typeofSelect;...

Swift timer in milliseconds

xcode,swift

As Martin says in his comment, timers have a resolution of 50-100 ms (0.02 to 0.1 seconds). Trying to run a timer with an interval shorter than that will not give reliable results. Also, timers are not realtime. They depend on the run loop they are attached to, and if...

Command-Line Testing Using Cocoa Touch

xcode,cocoa,kif

After checking several options, I have decided to use xctool because this is a recommended tool when the tests have been done using KIF. At the beginning I had some trouble trying to run the test, but after reading other posts I have use the following commands: For running all...

Objective C - bold and change string text size for drawing text onto pdf

objective-c,xcode,pdf,size,bold

Solved it by making a separate method as below (I used + since I have this inside an NSObject and is a class method rather than in a UIViewController): +(void)addText:(NSString*)text withFrame:(CGRect)frame withFont:(UIFont*)font; { [text drawInRect:frame withFont:font]; } Outside the method, declaring inputs and calling it: UIFont *font = [UIFont fontWithName:@Helvetica-Bold'...

Xcode UIWebView not changing page with changed URL

ios,objective-c,xcode,uiwebview

[self.webView reload] - will reload the current page. This is probably happening before the loadRequest has finished. Try removing this line. Also, @joern's comment is correct; the 'event' is the user making a pan gesture. Lose the timer....

Chance of a conditional occurring in Swift: Xcode

xcode,swift,if-statement,conditional,percentage

You can use arc4random_uniform to create a read only computed property to generate a random number and return a boolean value based on its result. If the number generated it is equal to 1 it will return true, if it is equal to 0 it will return false. Combined with...

change Auto Layout dynamically

ios,iphone,xcode,storyboard,autolayout

Just give top, left , right, height and equal width constraints to all label.... ...

Comments are closed.