Skip to content

Commit 5af9184

Browse files
committed
Change links. Add icons.
1 parent ace45f6 commit 5af9184

File tree

5 files changed

+30
-7
lines changed

5 files changed

+30
-7
lines changed

WebAppWrapper.xcodeproj/project.pbxproj

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
FA6856C3174D9916001C8F42 /* NavForward.png in Resources */ = {isa = PBXBuildFile; fileRef = FA6856BF174D9916001C8F42 /* NavForward.png */; };
2424
FA6856C4174D9916001C8F42 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = FA6856C0174D9916001C8F42 /* [email protected] */; };
2525
FAD9B338175F6F9400F2DAEB /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FAD9B337175F6F9400F2DAEB /* MobileCoreServices.framework */; };
26+
FAD9B33A1760220E00F2DAEB /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = FAD9B3391760220E00F2DAEB /* [email protected] */; };
27+
FAD9B33C1760221200F2DAEB /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FAD9B33B1760221200F2DAEB /* icon.png */; };
2628
/* End PBXBuildFile section */
2729

2830
/* Begin PBXFileReference section */
@@ -48,6 +50,8 @@
4850
FA6856BF174D9916001C8F42 /* NavForward.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = NavForward.png; sourceTree = "<group>"; };
4951
FA6856C0174D9916001C8F42 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
5052
FAD9B337175F6F9400F2DAEB /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
53+
FAD9B3391760220E00F2DAEB /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
54+
FAD9B33B1760221200F2DAEB /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
5155
/* End PBXFileReference section */
5256

5357
/* Begin PBXFrameworksBuildPhase section */
@@ -68,6 +72,8 @@
6872
FA68565B174CD862001C8F42 = {
6973
isa = PBXGroup;
7074
children = (
75+
FAD9B33B1760221200F2DAEB /* icon.png */,
76+
FAD9B3391760220E00F2DAEB /* [email protected] */,
7177
FA68566D174CD862001C8F42 /* WebAppWrapper */,
7278
FA685666174CD862001C8F42 /* Frameworks */,
7379
FA685665174CD862001C8F42 /* Products */,
@@ -160,9 +166,9 @@
160166
/* End PBXGroup section */
161167

162168
/* Begin PBXNativeTarget section */
163-
FA685663174CD862001C8F42 /* WebAppWrapper */ = {
169+
FA685663174CD862001C8F42 /* V2EX */ = {
164170
isa = PBXNativeTarget;
165-
buildConfigurationList = FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "WebAppWrapper" */;
171+
buildConfigurationList = FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "V2EX" */;
166172
buildPhases = (
167173
FA685660174CD862001C8F42 /* Sources */,
168174
FA685661174CD862001C8F42 /* Frameworks */,
@@ -172,7 +178,7 @@
172178
);
173179
dependencies = (
174180
);
175-
name = WebAppWrapper;
181+
name = V2EX;
176182
productName = WebAppWrapper;
177183
productReference = FA685664174CD862001C8F42 /* WebAppWrapper.app */;
178184
productType = "com.apple.product-type.application";
@@ -198,7 +204,7 @@
198204
projectDirPath = "";
199205
projectRoot = "";
200206
targets = (
201-
FA685663174CD862001C8F42 /* WebAppWrapper */,
207+
FA685663174CD862001C8F42 /* V2EX */,
202208
);
203209
};
204210
/* End PBXProject section */
@@ -216,6 +222,8 @@
216222
FA6856C2174D9916001C8F42 /* [email protected] in Resources */,
217223
FA6856C3174D9916001C8F42 /* NavForward.png in Resources */,
218224
FA6856C4174D9916001C8F42 /* [email protected] in Resources */,
225+
FAD9B33A1760220E00F2DAEB /* [email protected] in Resources */,
226+
FAD9B33C1760221200F2DAEB /* icon.png in Resources */,
219227
);
220228
runOnlyForDeploymentPostprocessing = 0;
221229
};
@@ -337,7 +345,7 @@
337345
defaultConfigurationIsVisible = 0;
338346
defaultConfigurationName = Release;
339347
};
340-
FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "WebAppWrapper" */ = {
348+
FA685681174CD862001C8F42 /* Build configuration list for PBXNativeTarget "V2EX" */ = {
341349
isa = XCConfigurationList;
342350
buildConfigurations = (
343351
FA685682174CD862001C8F42 /* Debug */,

WebAppWrapper/RootViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#import "RootViewController.h"
1010
#import "RWebViewController.h"
1111

12-
NSString * const kWebAppStartLink = @"http://yourwebapp.com/";
13-
NSString * const kWebAppHost = @"yourwebapp.com";
12+
NSString * const kWebAppStartLink = @"http://v2ex.com/";
13+
NSString * const kWebAppHost = @"v2ex.com";
1414
NSUInteger const kWebAppMaxFailRefreshCount = 3;
1515

1616
@interface RootViewController () <UIWebViewDelegate, UIAlertViewDelegate>

WebAppWrapper/WebAppWrapper-Info.plist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@
88
<string>${PRODUCT_NAME}</string>
99
<key>CFBundleExecutable</key>
1010
<string>${EXECUTABLE_NAME}</string>
11+
<key>CFBundleIcons</key>
12+
<dict>
13+
<key>CFBundlePrimaryIcon</key>
14+
<dict>
15+
<key>CFBundleIconFiles</key>
16+
<array>
17+
<string>[email protected]</string>
18+
<string>icon.png</string>
19+
</array>
20+
<key>UIPrerenderedIcon</key>
21+
<true/>
22+
</dict>
23+
</dict>
1124
<key>CFBundleIdentifier</key>
1225
<string>com.seymourdev.${PRODUCT_NAME:rfc1034identifier}</string>
1326
<key>CFBundleInfoDictionaryVersion</key>
@@ -24,6 +37,8 @@
2437
<string>1.0</string>
2538
<key>LSRequiresIPhoneOS</key>
2639
<true/>
40+
<key>UIPrerenderedIcon</key>
41+
<true/>
2742
<key>UIRequiredDeviceCapabilities</key>
2843
<array>
2944
<string>armv7</string>

icon.png

6.62 KB
Loading

[email protected]

18.3 KB
Loading

0 commit comments

Comments
 (0)