From c7319cab5202bb390e74264e2571da7c6591a3c3 Mon Sep 17 00:00:00 2001 From: Ash Furrow Date: Fri, 25 Oct 2013 15:16:17 -0400 Subject: [PATCH] fixed typo. --- FRP/FRP-Prefix.pch | 1 + FRP/FRPPhotoDetailViewModel.m | 2 +- Podfile | 2 ++ Podfile.lock | 4 ++++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/FRP/FRP-Prefix.pch b/FRP/FRP-Prefix.pch index 1429c0c..c161216 100644 --- a/FRP/FRP-Prefix.pch +++ b/FRP/FRP-Prefix.pch @@ -17,6 +17,7 @@ #import // Pods +#import #import #import <500px-iOS-api/PXAPI.h> #import diff --git a/FRP/FRPPhotoDetailViewModel.m b/FRP/FRPPhotoDetailViewModel.m index 85b6b3c..01b1716 100644 --- a/FRP/FRPPhotoDetailViewModel.m +++ b/FRP/FRPPhotoDetailViewModel.m @@ -40,7 +40,7 @@ return [NSString stringWithFormat:@"%0.2f", [value floatValue]]; }]; RAC(self, photographerName) = RACObserve(self.photoModel, photographerName); - RAC(self, voteButtonText) = [RACObserve(self.photoModel, votedFor) map:^id(id value) { + RAC(self, votePromptText) = [RACObserve(self.photoModel, votedFor) map:^id(id value) { if ([value boolValue]) { return @"Voted For!"; } else { diff --git a/Podfile b/Podfile index 3ba4f78..2b8a9a0 100644 --- a/Podfile +++ b/Podfile @@ -3,6 +3,7 @@ platform :ios, "7.0" target "FRP" do pod 'ReactiveCocoa', '2.1.4' +pod 'ReactiveViewModel', '0.1.1' pod 'libextobjc', '0.3' pod '500px-iOS-api', '1.0.5' pod 'SVProgressHUD', '0.9' @@ -12,6 +13,7 @@ end target "FRPTests" do pod 'ReactiveCocoa', '2.1.4' +pod 'ReactiveViewModel', '0.1.1' pod 'libextobjc', '0.3' pod '500px-iOS-api', '1.0.5' pod 'Specta', '~> 0.1.11' diff --git a/Podfile.lock b/Podfile.lock index 9fd130c..18507a8 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -93,6 +93,8 @@ PODS: - ReactiveCocoa/Core (2.1.4): - ReactiveCocoa/no-arc - ReactiveCocoa/no-arc (2.1.4) + - ReactiveViewModel (0.1.1): + - ReactiveCocoa (= 2.1.4) - Specta (0.1.11) - SVProgressHUD (0.9) @@ -102,6 +104,7 @@ DEPENDENCIES: - libextobjc (= 0.3) - OCMock (~> 2.0.1) - ReactiveCocoa (= 2.1.4) + - ReactiveViewModel (= 0.1.1) - Specta (~> 0.1.11) - SVProgressHUD (= 0.9) @@ -112,6 +115,7 @@ SPEC CHECKSUMS: libffi: 64ef39353e747bb2b25e1026afd96a157bf9231c OCMock: f0c099603f851d07f8d7f2efe26d05da721ec43f ReactiveCocoa: 0e8725dd3c609128144c15192f4dbdab827f54ae + ReactiveViewModel: 43714642e73dc029f4a23ca28cad6f4c57eb8487 Specta: 82746c6fd70b104c5d37cfbadb7bf15a2cbc4da0 SVProgressHUD: 03d4845ec8e64591726428a08236c6a5489d45f8