├── Source
├── ChangeAppIcon
│ ├── ThankYou.pdf
│ ├── Screenshots
│ │ ├── 1.png
│ │ ├── 2.png
│ │ ├── 3.png
│ │ ├── 4.png
│ │ ├── 5.png
│ │ ├── 6.png
│ │ └── ChangeAppIcon.gif
│ ├── Icons
│ │ ├── ic_london.png
│ │ ├── ic_mumbai.png
│ │ ├── ic_newyork.png
│ │ └── ic_sydney.png
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── Info.plist
│ ├── AppDelegate.swift
│ └── ViewController.swift
└── ChangeAppIcon.xcodeproj
│ ├── project.xcworkspace
│ └── contents.xcworkspacedata
│ ├── xcshareddata
│ └── xcschemes
│ │ └── ChangeAppIcon.xcscheme
│ └── project.pbxproj
├── .travis.yml
├── README.md
├── LICENSE
└── .gitignore
/Source/ChangeAppIcon/ThankYou.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/ThankYou.pdf
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Screenshots/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Screenshots/1.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Screenshots/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Screenshots/2.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Screenshots/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Screenshots/3.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Screenshots/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Screenshots/4.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Screenshots/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Screenshots/5.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Screenshots/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Screenshots/6.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Icons/ic_london.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Icons/ic_london.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Icons/ic_mumbai.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Icons/ic_mumbai.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Icons/ic_newyork.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Icons/ic_newyork.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Icons/ic_sydney.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Icons/ic_sydney.png
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Screenshots/ChangeAppIcon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hemangshah/ChangeAppIcon/HEAD/Source/ChangeAppIcon/Screenshots/ChangeAppIcon.gif
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | osx_image: xcode8.0
2 | language: objective-c
3 |
4 | xcode_project: ChangeAppIcon.xcodeproj
5 |
6 | # whitelist
7 | branches:
8 | only:
9 | - master
10 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ChangeAppIcon
2 |
3 | From iOS 10.3 and above – Apple allows to change app icons runtime.
4 |
5 | [](https://travis-ci.org/hemangshah/ChangeAppIcon)
6 |
7 | 
8 |
9 | I have written an [article](https://ikiwitech.wordpress.com/2017/05/08/change-your-ios-application-icon-runtime/) for the same.
10 |
11 | All the icons, Mumbai, New York, Sydney and London has been downloaded from [Flaticon](http://www.flaticon.com). Please read the [ThankYou.pdf](https://github.com/hemangshah/ChangeAppIcon/blob/master/Source/ChangeAppIcon/ThankYou.pdf) for the attribution.
12 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | }
43 | ],
44 | "info" : {
45 | "version" : 1,
46 | "author" : "xcode"
47 | }
48 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Hemang Shah
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | CFBundleIcons
38 |
39 | CFBundleAlternateIcons
40 |
41 | city_mumbai
42 |
43 | CFBundleIconFiles
44 |
45 | ic_mumbai
46 |
47 | UIPrerenderedIcon
48 |
49 |
50 | city_newyork
51 |
52 | CFBundleIconFiles
53 |
54 | ic_newyork
55 |
56 | UIPrerenderedIcon
57 |
58 |
59 | city_sydney
60 |
61 | CFBundleIconFiles
62 |
63 | ic_sydney
64 |
65 | UIPrerenderedIcon
66 |
67 |
68 |
69 | CFBundlePrimaryIcon
70 |
71 | CFBundleIconFiles
72 |
73 | ic_london
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // ChangeAppIcon
4 | //
5 | // Created by Hemang on 5/8/17.
6 | // Copyright © 2017 Hemang Shah. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34 | }
35 |
36 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Created by https://www.gitignore.io/api/swift,xcode,objective-c
3 |
4 | ### Objective-C ###
5 | # Xcode
6 | #
7 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
8 |
9 | ## Build generated
10 | build/
11 | DerivedData/
12 |
13 | ## Various settings
14 | *.pbxuser
15 | !default.pbxuser
16 | *.mode1v3
17 | !default.mode1v3
18 | *.mode2v3
19 | !default.mode2v3
20 | *.perspectivev3
21 | !default.perspectivev3
22 | xcuserdata/
23 |
24 | ## Other
25 | *.moved-aside
26 | *.xccheckout
27 | *.xcscmblueprint
28 |
29 | ## Obj-C/Swift specific
30 | *.hmap
31 | *.ipa
32 | *.dSYM.zip
33 | *.dSYM
34 |
35 | # CocoaPods
36 | #
37 | # We recommend against adding the Pods directory to your .gitignore. However
38 | # you should judge for yourself, the pros and cons are mentioned at:
39 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
40 | #
41 | # Pods/
42 |
43 | # Carthage
44 | #
45 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
46 | # Carthage/Checkouts
47 |
48 | Carthage/Build
49 |
50 | # fastlane
51 | #
52 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
53 | # screenshots whenever they are needed.
54 | # For more information about the recommended setup visit:
55 | # https://docs.fastlane.tools/best-practices/source-control/#source-control
56 |
57 | fastlane/report.xml
58 | fastlane/Preview.html
59 | fastlane/screenshots
60 | fastlane/test_output
61 |
62 | # Code Injection
63 | #
64 | # After new code Injection tools there's a generated folder /iOSInjectionProject
65 | # https://github.com/johnno1962/injectionforxcode
66 |
67 | iOSInjectionProject/
68 |
69 | ### Objective-C Patch ###
70 |
71 | ### Swift ###
72 | # Xcode
73 | #
74 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
75 |
76 | ## Build generated
77 |
78 | ## Various settings
79 |
80 | ## Other
81 |
82 | ## Obj-C/Swift specific
83 |
84 | ## Playgrounds
85 | timeline.xctimeline
86 | playground.xcworkspace
87 |
88 | # Swift Package Manager
89 | #
90 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
91 | # Packages/
92 | # Package.pins
93 | .build/
94 |
95 | # CocoaPods
96 | #
97 | # We recommend against adding the Pods directory to your .gitignore. However
98 | # you should judge for yourself, the pros and cons are mentioned at:
99 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
100 | #
101 | # Pods/
102 |
103 | # Carthage
104 | #
105 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
106 | # Carthage/Checkouts
107 |
108 |
109 | # fastlane
110 | #
111 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
112 | # screenshots whenever they are needed.
113 | # For more information about the recommended setup visit:
114 | # https://docs.fastlane.tools/best-practices/source-control/#source-control
115 |
116 |
117 | ### Xcode ###
118 | # Xcode
119 | #
120 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
121 |
122 | ## Build generated
123 |
124 | ## Various settings
125 |
126 | ## Other
127 |
128 | ### Xcode Patch ###
129 | *.xcodeproj/*
130 | !*.xcodeproj/project.pbxproj
131 | !*.xcodeproj/xcshareddata/
132 | !*.xcworkspace/contents.xcworkspacedata
133 | /*.gcno
134 |
135 | # End of https://www.gitignore.io/api/swift,xcode,objective-c
136 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon.xcodeproj/xcshareddata/xcschemes/ChangeAppIcon.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // ChangeAppIcon
4 | //
5 | // Created by Hemang on 5/8/17.
6 | // Copyright © 2017 Hemang Shah. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | private enum cityName:String {
12 | case london
13 | case mumbai
14 | case newyork
15 | case sydney
16 | }
17 |
18 | class ViewController: UIViewController {
19 |
20 | @IBOutlet weak var segmentCurrentCity: UISegmentedControl!
21 | @IBOutlet weak var imgViewCityIcon: UIImageView!
22 |
23 | var arraySegmentValues = Array()
24 |
25 | //MARK: View Life Cycle
26 | override func viewDidLoad() {
27 | super.viewDidLoad()
28 | // Do any additional setup after loading the view, typically from a nib.
29 | getAllTitles()
30 | setCurrentSelection()
31 | }
32 |
33 | override func didReceiveMemoryWarning() {
34 | super.didReceiveMemoryWarning()
35 | // Dispose of any resources that can be recreated.
36 | }
37 |
38 | //MARK: IBAction
39 | @IBAction func actionCityChange(_ sender: UISegmentedControl) {
40 | let selectedIndex = sender.selectedSegmentIndex
41 | let selectedCity = getCityNameForIndex(index: selectedIndex)
42 | let icon = iconNameForSelection(city: selectedCity)
43 | let plistIconKeyName = plistIconKeyForSelection(city: selectedCity)
44 |
45 | setCityIconWithName(iconName: icon)
46 |
47 | if(selectedIndex > 0) {
48 | setAppIconWithName(appIcon: plistIconKeyName)
49 | } else {
50 | // 0 index = London
51 | //This will set the primary icon.
52 | UIApplication.shared.setAlternateIconName(nil)
53 | }
54 | }
55 |
56 | //MARK: Helpers
57 | private func getAllTitles() -> Void {
58 | for index in 0.. Void {
64 | let currentAppIconName = UIApplication.shared.alternateIconName ?? ""
65 | segmentCurrentCity.selectedSegmentIndex = getSegmentIndexFromPlistIconKey(iconName: currentAppIconName)
66 | let selectedCity = getCityNameForIndex(index: segmentCurrentCity.selectedSegmentIndex)
67 | let icon = iconNameForSelection(city: selectedCity)
68 | setCityIconWithName(iconName: icon)
69 | }
70 |
71 | private func setCityIconWithName(iconName:String) -> Void {
72 | imgViewCityIcon.image = getImageForImageName(imageName: iconName)
73 | }
74 |
75 | private func setAppIconWithName(appIcon:String) -> Void {
76 | if UIApplication.shared.supportsAlternateIcons {
77 | UIApplication.shared.setAlternateIconName(appIcon) { error in
78 | if let error = error {
79 | print("Error while changing the app icon: \(error)")
80 | }
81 | }
82 | }
83 | }
84 |
85 | private func getCityNameForIndex(index:Int) -> cityName {
86 | switch index {
87 | case 1:
88 | return .mumbai
89 | case 2:
90 | return .newyork
91 | case 3:
92 | return .sydney
93 | default:
94 | return .london
95 | }
96 | }
97 |
98 | private func getImageForImageName(imageName:String) -> UIImage {
99 | return UIImage.init(named: imageName)!
100 | }
101 |
102 | //This method is use to get app icon for UIImageView.
103 | private func iconNameForSelection(city:cityName) -> String {
104 | return "ic_".appending(city.rawValue)
105 | }
106 |
107 | //This method is used to get plist's app icon name.
108 | private func plistIconKeyForSelection(city:cityName) -> String {
109 | return "city_".appending(city.rawValue)
110 | }
111 |
112 | //This function is used to get the segment index for the particular app icon key in plist.
113 | private func getSegmentIndexFromPlistIconKey(iconName:String) -> Int {
114 | let onlyCity = iconName.components(separatedBy: "_").last!
115 | guard !onlyCity.isEmpty else {
116 | return 0
117 | }
118 |
119 | let upperCaseCity = onlyCity.capitalized
120 | guard arraySegmentValues.contains(upperCaseCity) else {
121 | return 0
122 | }
123 | return arraySegmentValues.index(of: upperCaseCity)!
124 | }
125 | }
126 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
--------------------------------------------------------------------------------
/Source/ChangeAppIcon.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | F158BE091EC067FC00C642B9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F158BE081EC067FC00C642B9 /* AppDelegate.swift */; };
11 | F158BE0B1EC067FC00C642B9 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F158BE0A1EC067FC00C642B9 /* ViewController.swift */; };
12 | F158BE0E1EC067FC00C642B9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F158BE0C1EC067FC00C642B9 /* Main.storyboard */; };
13 | F158BE101EC067FC00C642B9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F158BE0F1EC067FC00C642B9 /* Assets.xcassets */; };
14 | F158BE131EC067FC00C642B9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F158BE111EC067FC00C642B9 /* LaunchScreen.storyboard */; };
15 | F158BE231EC07C8D00C642B9 /* ThankYou.pdf in Resources */ = {isa = PBXBuildFile; fileRef = F158BE221EC07C8D00C642B9 /* ThankYou.pdf */; };
16 | F158BE2D1EC07F5100C642B9 /* 1.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE271EC07F5100C642B9 /* 1.png */; };
17 | F158BE2E1EC07F5100C642B9 /* 2.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE281EC07F5100C642B9 /* 2.png */; };
18 | F158BE2F1EC07F5100C642B9 /* 3.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE291EC07F5100C642B9 /* 3.png */; };
19 | F158BE301EC07F5100C642B9 /* 4.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE2A1EC07F5100C642B9 /* 4.png */; };
20 | F158BE311EC07F5100C642B9 /* 5.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE2B1EC07F5100C642B9 /* 5.png */; };
21 | F158BE321EC07F5100C642B9 /* 6.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE2C1EC07F5100C642B9 /* 6.png */; };
22 | F158BE341EC07F6C00C642B9 /* ChangeAppIcon.gif in Resources */ = {isa = PBXBuildFile; fileRef = F158BE331EC07F6C00C642B9 /* ChangeAppIcon.gif */; };
23 | F158BE3A1EC07F8600C642B9 /* ic_london.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE361EC07F8600C642B9 /* ic_london.png */; };
24 | F158BE3B1EC07F8600C642B9 /* ic_mumbai.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE371EC07F8600C642B9 /* ic_mumbai.png */; };
25 | F158BE3C1EC07F8600C642B9 /* ic_newyork.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE381EC07F8600C642B9 /* ic_newyork.png */; };
26 | F158BE3D1EC07F8600C642B9 /* ic_sydney.png in Resources */ = {isa = PBXBuildFile; fileRef = F158BE391EC07F8600C642B9 /* ic_sydney.png */; };
27 | /* End PBXBuildFile section */
28 |
29 | /* Begin PBXFileReference section */
30 | F158BE051EC067FC00C642B9 /* New City Guide.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "New City Guide.app"; sourceTree = BUILT_PRODUCTS_DIR; };
31 | F158BE081EC067FC00C642B9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
32 | F158BE0A1EC067FC00C642B9 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
33 | F158BE0D1EC067FC00C642B9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
34 | F158BE0F1EC067FC00C642B9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
35 | F158BE121EC067FC00C642B9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
36 | F158BE141EC067FC00C642B9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
37 | F158BE221EC07C8D00C642B9 /* ThankYou.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = ThankYou.pdf; sourceTree = ""; };
38 | F158BE271EC07F5100C642B9 /* 1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 1.png; sourceTree = ""; };
39 | F158BE281EC07F5100C642B9 /* 2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 2.png; sourceTree = ""; };
40 | F158BE291EC07F5100C642B9 /* 3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 3.png; sourceTree = ""; };
41 | F158BE2A1EC07F5100C642B9 /* 4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 4.png; sourceTree = ""; };
42 | F158BE2B1EC07F5100C642B9 /* 5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 5.png; sourceTree = ""; };
43 | F158BE2C1EC07F5100C642B9 /* 6.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 6.png; sourceTree = ""; };
44 | F158BE331EC07F6C00C642B9 /* ChangeAppIcon.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = ChangeAppIcon.gif; sourceTree = ""; };
45 | F158BE361EC07F8600C642B9 /* ic_london.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_london.png; sourceTree = ""; };
46 | F158BE371EC07F8600C642B9 /* ic_mumbai.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_mumbai.png; sourceTree = ""; };
47 | F158BE381EC07F8600C642B9 /* ic_newyork.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_newyork.png; sourceTree = ""; };
48 | F158BE391EC07F8600C642B9 /* ic_sydney.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_sydney.png; sourceTree = ""; };
49 | /* End PBXFileReference section */
50 |
51 | /* Begin PBXFrameworksBuildPhase section */
52 | F158BE021EC067FC00C642B9 /* Frameworks */ = {
53 | isa = PBXFrameworksBuildPhase;
54 | buildActionMask = 2147483647;
55 | files = (
56 | );
57 | runOnlyForDeploymentPostprocessing = 0;
58 | };
59 | /* End PBXFrameworksBuildPhase section */
60 |
61 | /* Begin PBXGroup section */
62 | F158BDFC1EC067FC00C642B9 = {
63 | isa = PBXGroup;
64 | children = (
65 | F158BE071EC067FC00C642B9 /* ChangeAppIcon */,
66 | F158BE061EC067FC00C642B9 /* Products */,
67 | );
68 | sourceTree = "";
69 | };
70 | F158BE061EC067FC00C642B9 /* Products */ = {
71 | isa = PBXGroup;
72 | children = (
73 | F158BE051EC067FC00C642B9 /* New City Guide.app */,
74 | );
75 | name = Products;
76 | sourceTree = "";
77 | };
78 | F158BE071EC067FC00C642B9 /* ChangeAppIcon */ = {
79 | isa = PBXGroup;
80 | children = (
81 | F158BE351EC07F8600C642B9 /* Icons */,
82 | F158BE261EC07F5100C642B9 /* Screenshots */,
83 | F158BE221EC07C8D00C642B9 /* ThankYou.pdf */,
84 | F158BE081EC067FC00C642B9 /* AppDelegate.swift */,
85 | F158BE0A1EC067FC00C642B9 /* ViewController.swift */,
86 | F158BE0C1EC067FC00C642B9 /* Main.storyboard */,
87 | F158BE0F1EC067FC00C642B9 /* Assets.xcassets */,
88 | F158BE111EC067FC00C642B9 /* LaunchScreen.storyboard */,
89 | F158BE141EC067FC00C642B9 /* Info.plist */,
90 | );
91 | path = ChangeAppIcon;
92 | sourceTree = "";
93 | };
94 | F158BE261EC07F5100C642B9 /* Screenshots */ = {
95 | isa = PBXGroup;
96 | children = (
97 | F158BE331EC07F6C00C642B9 /* ChangeAppIcon.gif */,
98 | F158BE271EC07F5100C642B9 /* 1.png */,
99 | F158BE281EC07F5100C642B9 /* 2.png */,
100 | F158BE291EC07F5100C642B9 /* 3.png */,
101 | F158BE2A1EC07F5100C642B9 /* 4.png */,
102 | F158BE2B1EC07F5100C642B9 /* 5.png */,
103 | F158BE2C1EC07F5100C642B9 /* 6.png */,
104 | );
105 | path = Screenshots;
106 | sourceTree = "";
107 | };
108 | F158BE351EC07F8600C642B9 /* Icons */ = {
109 | isa = PBXGroup;
110 | children = (
111 | F158BE361EC07F8600C642B9 /* ic_london.png */,
112 | F158BE371EC07F8600C642B9 /* ic_mumbai.png */,
113 | F158BE381EC07F8600C642B9 /* ic_newyork.png */,
114 | F158BE391EC07F8600C642B9 /* ic_sydney.png */,
115 | );
116 | path = Icons;
117 | sourceTree = "";
118 | };
119 | /* End PBXGroup section */
120 |
121 | /* Begin PBXNativeTarget section */
122 | F158BE041EC067FC00C642B9 /* ChangeAppIcon */ = {
123 | isa = PBXNativeTarget;
124 | buildConfigurationList = F158BE171EC067FC00C642B9 /* Build configuration list for PBXNativeTarget "ChangeAppIcon" */;
125 | buildPhases = (
126 | F158BE011EC067FC00C642B9 /* Sources */,
127 | F158BE021EC067FC00C642B9 /* Frameworks */,
128 | F158BE031EC067FC00C642B9 /* Resources */,
129 | );
130 | buildRules = (
131 | );
132 | dependencies = (
133 | );
134 | name = ChangeAppIcon;
135 | productName = ChangeAppIcon;
136 | productReference = F158BE051EC067FC00C642B9 /* New City Guide.app */;
137 | productType = "com.apple.product-type.application";
138 | };
139 | /* End PBXNativeTarget section */
140 |
141 | /* Begin PBXProject section */
142 | F158BDFD1EC067FC00C642B9 /* Project object */ = {
143 | isa = PBXProject;
144 | attributes = {
145 | LastSwiftUpdateCheck = 0830;
146 | LastUpgradeCheck = 0830;
147 | ORGANIZATIONNAME = "Hemang Shah";
148 | TargetAttributes = {
149 | F158BE041EC067FC00C642B9 = {
150 | CreatedOnToolsVersion = 8.3;
151 | ProvisioningStyle = Automatic;
152 | };
153 | };
154 | };
155 | buildConfigurationList = F158BE001EC067FC00C642B9 /* Build configuration list for PBXProject "ChangeAppIcon" */;
156 | compatibilityVersion = "Xcode 3.2";
157 | developmentRegion = English;
158 | hasScannedForEncodings = 0;
159 | knownRegions = (
160 | en,
161 | Base,
162 | );
163 | mainGroup = F158BDFC1EC067FC00C642B9;
164 | productRefGroup = F158BE061EC067FC00C642B9 /* Products */;
165 | projectDirPath = "";
166 | projectRoot = "";
167 | targets = (
168 | F158BE041EC067FC00C642B9 /* ChangeAppIcon */,
169 | );
170 | };
171 | /* End PBXProject section */
172 |
173 | /* Begin PBXResourcesBuildPhase section */
174 | F158BE031EC067FC00C642B9 /* Resources */ = {
175 | isa = PBXResourcesBuildPhase;
176 | buildActionMask = 2147483647;
177 | files = (
178 | F158BE341EC07F6C00C642B9 /* ChangeAppIcon.gif in Resources */,
179 | F158BE2E1EC07F5100C642B9 /* 2.png in Resources */,
180 | F158BE3D1EC07F8600C642B9 /* ic_sydney.png in Resources */,
181 | F158BE131EC067FC00C642B9 /* LaunchScreen.storyboard in Resources */,
182 | F158BE301EC07F5100C642B9 /* 4.png in Resources */,
183 | F158BE2F1EC07F5100C642B9 /* 3.png in Resources */,
184 | F158BE3A1EC07F8600C642B9 /* ic_london.png in Resources */,
185 | F158BE101EC067FC00C642B9 /* Assets.xcassets in Resources */,
186 | F158BE3B1EC07F8600C642B9 /* ic_mumbai.png in Resources */,
187 | F158BE321EC07F5100C642B9 /* 6.png in Resources */,
188 | F158BE0E1EC067FC00C642B9 /* Main.storyboard in Resources */,
189 | F158BE311EC07F5100C642B9 /* 5.png in Resources */,
190 | F158BE3C1EC07F8600C642B9 /* ic_newyork.png in Resources */,
191 | F158BE231EC07C8D00C642B9 /* ThankYou.pdf in Resources */,
192 | F158BE2D1EC07F5100C642B9 /* 1.png in Resources */,
193 | );
194 | runOnlyForDeploymentPostprocessing = 0;
195 | };
196 | /* End PBXResourcesBuildPhase section */
197 |
198 | /* Begin PBXSourcesBuildPhase section */
199 | F158BE011EC067FC00C642B9 /* Sources */ = {
200 | isa = PBXSourcesBuildPhase;
201 | buildActionMask = 2147483647;
202 | files = (
203 | F158BE0B1EC067FC00C642B9 /* ViewController.swift in Sources */,
204 | F158BE091EC067FC00C642B9 /* AppDelegate.swift in Sources */,
205 | );
206 | runOnlyForDeploymentPostprocessing = 0;
207 | };
208 | /* End PBXSourcesBuildPhase section */
209 |
210 | /* Begin PBXVariantGroup section */
211 | F158BE0C1EC067FC00C642B9 /* Main.storyboard */ = {
212 | isa = PBXVariantGroup;
213 | children = (
214 | F158BE0D1EC067FC00C642B9 /* Base */,
215 | );
216 | name = Main.storyboard;
217 | sourceTree = "";
218 | };
219 | F158BE111EC067FC00C642B9 /* LaunchScreen.storyboard */ = {
220 | isa = PBXVariantGroup;
221 | children = (
222 | F158BE121EC067FC00C642B9 /* Base */,
223 | );
224 | name = LaunchScreen.storyboard;
225 | sourceTree = "";
226 | };
227 | /* End PBXVariantGroup section */
228 |
229 | /* Begin XCBuildConfiguration section */
230 | F158BE151EC067FC00C642B9 /* Debug */ = {
231 | isa = XCBuildConfiguration;
232 | buildSettings = {
233 | ALWAYS_SEARCH_USER_PATHS = NO;
234 | CLANG_ANALYZER_NONNULL = YES;
235 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
236 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
237 | CLANG_CXX_LIBRARY = "libc++";
238 | CLANG_ENABLE_MODULES = YES;
239 | CLANG_ENABLE_OBJC_ARC = YES;
240 | CLANG_WARN_BOOL_CONVERSION = YES;
241 | CLANG_WARN_CONSTANT_CONVERSION = YES;
242 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
243 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
244 | CLANG_WARN_EMPTY_BODY = YES;
245 | CLANG_WARN_ENUM_CONVERSION = YES;
246 | CLANG_WARN_INFINITE_RECURSION = YES;
247 | CLANG_WARN_INT_CONVERSION = YES;
248 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
249 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
250 | CLANG_WARN_UNREACHABLE_CODE = YES;
251 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
252 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
253 | COPY_PHASE_STRIP = NO;
254 | DEBUG_INFORMATION_FORMAT = dwarf;
255 | ENABLE_STRICT_OBJC_MSGSEND = YES;
256 | ENABLE_TESTABILITY = YES;
257 | GCC_C_LANGUAGE_STANDARD = gnu99;
258 | GCC_DYNAMIC_NO_PIC = NO;
259 | GCC_NO_COMMON_BLOCKS = YES;
260 | GCC_OPTIMIZATION_LEVEL = 0;
261 | GCC_PREPROCESSOR_DEFINITIONS = (
262 | "DEBUG=1",
263 | "$(inherited)",
264 | );
265 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
266 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
267 | GCC_WARN_UNDECLARED_SELECTOR = YES;
268 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
269 | GCC_WARN_UNUSED_FUNCTION = YES;
270 | GCC_WARN_UNUSED_VARIABLE = YES;
271 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
272 | MTL_ENABLE_DEBUG_INFO = YES;
273 | ONLY_ACTIVE_ARCH = YES;
274 | SDKROOT = iphoneos;
275 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
276 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
277 | };
278 | name = Debug;
279 | };
280 | F158BE161EC067FC00C642B9 /* Release */ = {
281 | isa = XCBuildConfiguration;
282 | buildSettings = {
283 | ALWAYS_SEARCH_USER_PATHS = NO;
284 | CLANG_ANALYZER_NONNULL = YES;
285 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
286 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
287 | CLANG_CXX_LIBRARY = "libc++";
288 | CLANG_ENABLE_MODULES = YES;
289 | CLANG_ENABLE_OBJC_ARC = YES;
290 | CLANG_WARN_BOOL_CONVERSION = YES;
291 | CLANG_WARN_CONSTANT_CONVERSION = YES;
292 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
293 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
294 | CLANG_WARN_EMPTY_BODY = YES;
295 | CLANG_WARN_ENUM_CONVERSION = YES;
296 | CLANG_WARN_INFINITE_RECURSION = YES;
297 | CLANG_WARN_INT_CONVERSION = YES;
298 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
299 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
300 | CLANG_WARN_UNREACHABLE_CODE = YES;
301 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
302 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
303 | COPY_PHASE_STRIP = NO;
304 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
305 | ENABLE_NS_ASSERTIONS = NO;
306 | ENABLE_STRICT_OBJC_MSGSEND = YES;
307 | GCC_C_LANGUAGE_STANDARD = gnu99;
308 | GCC_NO_COMMON_BLOCKS = YES;
309 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
310 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
311 | GCC_WARN_UNDECLARED_SELECTOR = YES;
312 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
313 | GCC_WARN_UNUSED_FUNCTION = YES;
314 | GCC_WARN_UNUSED_VARIABLE = YES;
315 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
316 | MTL_ENABLE_DEBUG_INFO = NO;
317 | SDKROOT = iphoneos;
318 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
319 | VALIDATE_PRODUCT = YES;
320 | };
321 | name = Release;
322 | };
323 | F158BE181EC067FC00C642B9 /* Debug */ = {
324 | isa = XCBuildConfiguration;
325 | buildSettings = {
326 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
327 | INFOPLIST_FILE = ChangeAppIcon/Info.plist;
328 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
329 | PRODUCT_BUNDLE_IDENTIFIER = com.hemangshah.ChangeAppIcon;
330 | PRODUCT_NAME = "New City Guide";
331 | SWIFT_VERSION = 3.0;
332 | };
333 | name = Debug;
334 | };
335 | F158BE191EC067FC00C642B9 /* Release */ = {
336 | isa = XCBuildConfiguration;
337 | buildSettings = {
338 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
339 | INFOPLIST_FILE = ChangeAppIcon/Info.plist;
340 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
341 | PRODUCT_BUNDLE_IDENTIFIER = com.hemangshah.ChangeAppIcon;
342 | PRODUCT_NAME = "New City Guide";
343 | SWIFT_VERSION = 3.0;
344 | };
345 | name = Release;
346 | };
347 | /* End XCBuildConfiguration section */
348 |
349 | /* Begin XCConfigurationList section */
350 | F158BE001EC067FC00C642B9 /* Build configuration list for PBXProject "ChangeAppIcon" */ = {
351 | isa = XCConfigurationList;
352 | buildConfigurations = (
353 | F158BE151EC067FC00C642B9 /* Debug */,
354 | F158BE161EC067FC00C642B9 /* Release */,
355 | );
356 | defaultConfigurationIsVisible = 0;
357 | defaultConfigurationName = Release;
358 | };
359 | F158BE171EC067FC00C642B9 /* Build configuration list for PBXNativeTarget "ChangeAppIcon" */ = {
360 | isa = XCConfigurationList;
361 | buildConfigurations = (
362 | F158BE181EC067FC00C642B9 /* Debug */,
363 | F158BE191EC067FC00C642B9 /* Release */,
364 | );
365 | defaultConfigurationIsVisible = 0;
366 | defaultConfigurationName = Release;
367 | };
368 | /* End XCConfigurationList section */
369 | };
370 | rootObject = F158BDFD1EC067FC00C642B9 /* Project object */;
371 | }
372 |
--------------------------------------------------------------------------------