Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Pods
*.xcuserdata
xcuserdata
*.xccheckout
6 changes: 3 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
platform :ios, 6.0

pod 'RestKit', '~> 0.20.0rc'
pod 'RestKit', '~> 0.23.1'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Outdated RestKit.


# Include optional Testing and Search components
pod 'RestKit/Testing', '~> 0.20.0rc'
pod 'RestKit/Search', '~> 0.20.0rc'
pod 'RestKit/Testing', '~> 0.23.1'
pod 'RestKit/Search', '~> 0.23.1'

# Import Expecta for Testing
target :test do
Expand Down
79 changes: 42 additions & 37 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,43 +1,48 @@

PODS:
- AFNetworking (1.1.0)
- Expecta (0.2.1)
- RestKit (0.20.0rc1):
- RestKit/Core (= 0.20.0rc1)
- RestKit/Core (0.20.0rc1):
- RestKit/CoreData
- RestKit/Network
- RestKit/ObjectMapping
- RestKit/CoreData (0.20.0rc1)
- RestKit/Network (0.20.0rc1):
- AFNetworking (= 1.1.0)
- RestKit/ObjectMapping
- RestKit/Support
- SOCKit
- RestKit/ObjectMapping (0.20.0rc1)
- RestKit/Search (0.20.0rc1):
- RestKit/CoreData
- RestKit/Support (0.20.0rc1)
- RestKit/Testing (0.20.0rc1)
- SOCKit (1.1)
- AFNetworking (1.3.4)
- Expecta (0.2.1)
- ISO8601DateFormatterValueTransformer (0.6.0):
- RKValueTransformers (~> 1.1.0)
- RestKit (0.23.1):
- RestKit/Core
- RestKit/Core (0.23.1):
- RestKit/CoreData
- RestKit/Network
- RestKit/ObjectMapping
- RestKit/CoreData (0.23.1):
- RestKit/ObjectMapping
- RestKit/Network (0.23.1):
- AFNetworking (~> 1.3.0)
- RestKit/ObjectMapping
- RestKit/Support
- SOCKit
- RestKit/ObjectMapping (0.23.1):
- ISO8601DateFormatterValueTransformer (~> 0.6.0)
- RestKit/Support
- RKValueTransformers (~> 1.1.0)
- RestKit/Search (0.23.1):
- RestKit/CoreData
- RestKit/Support (0.23.1):
- TransitionKit (= 2.1.0)
- RestKit/Testing (0.23.1):
- RestKit/Network
- RKValueTransformers (1.1.0)
- SOCKit (1.1)
- TransitionKit (2.1.0)

DEPENDENCIES:
- Expecta (= 0.2.1)
- RestKit (~> 0.20.0rc)
- RestKit/Search (~> 0.20.0rc)
- RestKit/Testing (~> 0.20.0rc)
- Expecta (= 0.2.1)
- RestKit (~> 0.23.1)
- RestKit/Search (~> 0.23.1)
- RestKit/Testing (~> 0.23.1)

SPEC CHECKSUMS:
AFNetworking: 761a418233d280c1e0580bcb76ff9cb4c3073d17
RestKit: 0382132969d823a872b377c1ab2e383f3c74a339
RestKit/Core: 0382132969d823a872b377c1ab2e383f3c74a339
RestKit/CoreData: 0382132969d823a872b377c1ab2e383f3c74a339
RestKit/Network: 0382132969d823a872b377c1ab2e383f3c74a339
RestKit/ObjectMapping: 0382132969d823a872b377c1ab2e383f3c74a339
RestKit/Search: 0382132969d823a872b377c1ab2e383f3c74a339
RestKit/Support: 0382132969d823a872b377c1ab2e383f3c74a339
RestKit/Testing: 0382132969d823a872b377c1ab2e383f3c74a339
SOCKit: 179515c1a621dd5652a60e9be02ea4adcd25bc9b
Expecta: d46fb1bd78c90a83da0158b9b1e108de106e369f
AFNetworking: e403d4333a4e1956cb3fe42364c3c879f820c9a0
Expecta: 11a018f5dea79eabc7ab41bc5c907a2f80e9831a
ISO8601DateFormatterValueTransformer: db1acb188ffb0f87109a793977f750067c351efe
RestKit: 83a7f82ae7c92c51b59717325a0b895749ff2c97
RKValueTransformers: 286c8280b6f2570032d87d119863f32bc227799b
SOCKit: 8871d058926a6c6cc144f0c5eee82c5d0ec274a3
TransitionKit: 60b6a2cd9370e471c960b2cdf23b0b2593867625

COCOAPODS: 0.16.2
COCOAPODS: 0.32.1
1,919 changes: 1,378 additions & 541 deletions RKGist.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion RKGist.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion RKGist/RKGDetailViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ - (void)configureView
// Update the user interface for the detail item.

if (self.detailItem) {
self.detailDescriptionLabel.text = [[self.detailItem valueForKey:@"timeStamp"] description];
self.detailDescriptionLabel.text = [[self.detailItem valueForKey:@"createdAt"] description];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-existent code here...

}
}

Expand Down
2 changes: 1 addition & 1 deletion RKGist/RKGMasterViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ - (void)insertNewObject:(id)sender

// If appropriate, configure the new managed object.
// Normally you should use accessor methods, but using KVC here avoids the need to add a custom class to the template.
[newManagedObject setValue:[NSDate date] forKey:@"timeStamp"];
[newManagedObject setValue:[NSDate date] forKey:@"createdAt"];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... and here cause crashes.

Not really sure about the reason why replacing @"timeStamp" by @"createdAt" makes part of the tutorial here, but anyway these two cases are not covered there.


// Save the context.
NSError *error = nil;
Expand Down