Skip to content

Commit df4b0e5

Browse files
author
yyzhu
committed
updated UI appearance for IOS 7
1 parent 20a5f7c commit df4b0e5

File tree

59 files changed

+2873
-15728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2873
-15728
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.xib -crlf -diff

AWSPersistence_Locations2/Classes/Utilities.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ +(BOOL)setupTables
2929
{
3030
// verify that TVM has been updated
3131
if ([TOKEN_VENDING_MACHINE_URL isEqualToString:@"CHANGEME.elasticbeanstalk.com"] || ([AmazonClientManager ddb] == nil) ) {
32-
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Credentials" message:CREDENTIALS_ALERT_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
33-
[alert show];
32+
dispatch_async(dispatch_get_main_queue(), ^{
33+
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Credentials" message:CREDENTIALS_ALERT_MESSAGE delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
34+
[alert show];
35+
});
3436
return NO;
3537
}
3638

DynamoDB_WIF_UserPreference/UserPreference/AppDelegate.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(N
6666
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
6767

6868
self.navigationController = [[[UINavigationController alloc] init] autorelease];
69+
self.navigationController.navigationBar.translucent = NO;
6970
self.window.rootViewController = self.navigationController;
7071

7172
WelcomeViewController *welcome_view = [[WelcomeViewController alloc] initWithNibName:@"WelcomeView" bundle:nil];

DynamoDB_WIF_UserPreference/UserPreference/LoginViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ - (void)viewDidLoad
3939
[signInButton addTarget:self
4040
action:@selector(Glogin:)
4141
forControlEvents:(UIControlEvents)UIControlEventTouchDown];
42+
[signInButton setBackgroundColor:[UIColor colorWithRed:242.0/255 green:242.0/255 blue:242.0/255 alpha:1.0]];
4243
[self.view addSubview:signInButton];
4344

4445
#endif

DynamoDB_WIF_UserPreference/UserPreference/LoginViewController.xib

Lines changed: 54 additions & 276 deletions
Large diffs are not rendered by default.

DynamoDB_WIF_UserPreference/UserPreference/UserPreference-Info.plist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@
7070
<key>UISupportedInterfaceOrientations</key>
7171
<array>
7272
<string>UIInterfaceOrientationPortrait</string>
73-
<string>UIInterfaceOrientationLandscapeLeft</string>
74-
<string>UIInterfaceOrientationLandscapeRight</string>
7573
</array>
7674
<key>UISupportedInterfaceOrientations~ipad</key>
7775
<array>

DynamoDB_WIF_UserPreference/UserPreference/WelcomeView.xib

Lines changed: 97 additions & 401 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
aws-sdk-ios-samples
22
===================
33

4-
This repository has samples that demonstrate various aspects of the AWS SDK for iOS, get the [source on Github](https://github.com/aws/aws-sdk-ios).
4+
This repository has samples that demonstrate various aspects of the AWS SDK for iOS, get the [source on Github](https://github.com/aws/aws-sdk-ios) or download the binary release from our [website](http://aws.amazon.com/sdkforios/).
55

66
Please refer to README file in each folder for more specific instructions.
77

S3_S3TransferManager/README.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
1-
#Running the S3_S3TransferManager Sample
2-
This sample demonstrates the pause and resume features of the `S3TransferManager` found in the S3 SDK.
3-
4-
For a more detailed description of the code, please visit this [writeup](S3TransferManager.html).
5-
6-
1. Open the `S3TransferManager.xcodeproj` project file in Xcode.
7-
1. Configure the sample with your AWS security credentials:
8-
1. Open the `Constants.h` file.
9-
1. Modify the `ACCESS_KEY` and `SECRET_KEY` definitions with your AWS Credentials.
10-
1. Add the AWS SDK for iOS Frameworks to the sample. Get it [here](http://aws.amazon.com/sdkforios).
11-
1. In the **Project Navigator**, Right-Click on the **Frameworks** group.
12-
1. In the **Menu** select **Add Files** to `S3TransferManager`.
13-
1. Navigate to the location where you downloaded and expanded the AWS SDK for iOS.
14-
1. Select the following frameworks and click **Add**.
15-
* AWSRuntime.framework
16-
* AWSS3.framework
17-
1. Run the project.
1+
<html>
2+
<body>
3+
<h2>Running the S3_S3TransferManager Sample</h2>
4+
<p>This sample demonstrates the pause and resume features of the S3TransferManager found in the S3 SDK.</p>
5+
<p>For a more detailed description of the code, please visit this <a href="S3TransferManager.html">writeup</a>.
6+
<ol>
7+
<li>Open the <code>S3TransferManager.xcodeproj</code> project file in Xcode. </li>
8+
<li>Configure the sample with your AWS security credentials:
9+
<ol>
10+
<li>Open the <code>Constants.h</code> file. </li>
11+
<li>Modify the <code>ACCESS_KEY</code> and <code>SECRET_KEY</code> definitions with your AWS Credentials. </li>
12+
</ol>
13+
</li>
14+
<li>Add the AWS SDK for iOS Frameworks to the sample. Get it <a href="http://aws.amazon.com/sdkforios/">here</a>.
15+
<ol>In the Project Navigator, Right-Click on the Frameworks group.</ol>
16+
<ol>In the Menu select Add Files to "S3TransferManager"</ol>
17+
<ol>Navigate to the location where you downloaded and expanded the AWS SDK for iOS.</ol>
18+
<ol>Select the follwing frameworks and click Add
19+
<ol>AWSRuntime.framework</ol>
20+
<ol>AWSS3.framework</ol>
21+
<ol>
22+
</li>
23+
<li>Run the project.</li>
24+
</ol>
25+
</body>
26+
</html>

S3_S3TransferManager/S3TransferManager.xcodeproj/project.pbxproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,7 @@
289289
4AD20C3617AC22E80073DC55 /* Debug */ = {
290290
isa = XCBuildConfiguration;
291291
buildSettings = {
292-
FRAMEWORK_SEARCH_PATHS = (
293-
"$(inherited)",
294-
);
292+
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
295293
GCC_PRECOMPILE_PREFIX_HEADER = YES;
296294
GCC_PREFIX_HEADER = "S3TransferManager/S3TransferManager-Prefix.pch";
297295
INFOPLIST_FILE = "S3TransferManager/S3TransferManager-Info.plist";
@@ -305,9 +303,7 @@
305303
4AD20C3717AC22E80073DC55 /* Release */ = {
306304
isa = XCBuildConfiguration;
307305
buildSettings = {
308-
FRAMEWORK_SEARCH_PATHS = (
309-
"$(inherited)",
310-
);
306+
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
311307
GCC_PRECOMPILE_PREFIX_HEADER = YES;
312308
GCC_PREFIX_HEADER = "S3TransferManager/S3TransferManager-Prefix.pch";
313309
INFOPLIST_FILE = "S3TransferManager/S3TransferManager-Info.plist";

0 commit comments

Comments
 (0)