fixed typo.

This commit is contained in:
Ash Furrow
2013-10-25 15:16:17 -04:00
parent 044e6ad7de
commit c7319cab52
4 changed files with 8 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
#import <Foundation/Foundation.h>
// Pods
#import <ReactiveViewModel/ReactiveViewModel.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import <500px-iOS-api/PXAPI.h>
#import <libextobjc/EXTScope.h>

View File

@@ -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 {

View File

@@ -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'

View File

@@ -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