diff --git a/Podfile b/Podfile index 8d0f15c..35d2a60 100644 --- a/Podfile +++ b/Podfile @@ -1,4 +1,5 @@ platform :ios, '7.0' pod 'AFNetworking' +pod 'AFNetworkActivityLogger', '~> 2.0' pod 'BDBOAuth1Manager' diff --git a/Podfile.lock b/Podfile.lock index 43e4c77..691ce41 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,4 +1,6 @@ PODS: + - AFNetworkActivityLogger (2.0.2): + - AFNetworking/NSURLSession (~> 2.0) - AFNetworking (2.2.1): - AFNetworking/NSURLConnection - AFNetworking/NSURLSession @@ -23,11 +25,13 @@ PODS: - AFNetworking/NSURLSession (~> 2.2.0) DEPENDENCIES: + - AFNetworkActivityLogger (~> 2.0) - AFNetworking - BDBOAuth1Manager SPEC CHECKSUMS: - AFNetworking: 0121f4b69be3fa58d1ab317866e036e12ac9651d - BDBOAuth1Manager: 25d18d56820695aa18aae44eecad55829274a290 + AFNetworkActivityLogger: 45ca411593444cbdc401b12924b4c17082ad512a + AFNetworking: 8dde8c8a6597ad95dac332a593c27e541bc87371 + BDBOAuth1Manager: 468477f0425ce24b3a19a34bbf176fac11225232 -COCOAPODS: 0.29.0 +COCOAPODS: 0.33.1 diff --git a/Pods/AFNetworkActivityLogger/AFNetworkActivityLogger.h b/Pods/AFNetworkActivityLogger/AFNetworkActivityLogger.h new file mode 100644 index 0000000..b47fc73 --- /dev/null +++ b/Pods/AFNetworkActivityLogger/AFNetworkActivityLogger.h @@ -0,0 +1,109 @@ +// AFNetworkActivityLogger.h +// +// Copyright (c) 2013 AFNetworking (http://afnetworking.com/) +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import + +typedef NS_ENUM(NSUInteger, AFHTTPRequestLoggerLevel) { + AFLoggerLevelOff, + AFLoggerLevelDebug, + AFLoggerLevelInfo, + AFLoggerLevelWarn, + AFLoggerLevelError, + AFLoggerLevelFatal = AFLoggerLevelOff, +}; + +/** + `AFNetworkActivityLogger` logs requests and responses made by AFNetworking, with an adjustable level of detail. + + Applications should enable the shared instance of `AFNetworkActivityLogger` in `AppDelegate -application:didFinishLaunchingWithOptions:`: + + [[AFNetworkActivityLogger sharedLogger] startLogging]; + + `AFNetworkActivityLogger` listens for `AFNetworkingOperationDidStartNotification` and `AFNetworkingOperationDidFinishNotification` notifications, which are posted by AFNetworking as request operations are started and finish. For further customization of logging output, users are encouraged to implement desired functionality by listening for these notifications. + */ +@interface AFNetworkActivityLogger : NSObject + +/** + The level of logging detail. See "Logging Levels" for possible values. `AFLoggerLevelInfo` by default. + */ +@property (nonatomic, assign) AFHTTPRequestLoggerLevel level; + +/** + Only log requests conforming to the specified predicate, if specified. `nil` by default. + + @discussion Each notification has an associated `NSURLRequest`. To filter out request and response logging, such as all network activity made to a particular domain, this predicate can be set to match against the appropriate URL string pattern. + */ +@property (nonatomic, strong) NSPredicate *filterPredicate; + +/** + Returns the shared logger instance. + */ ++ (instancetype)sharedLogger; + +/** + Start logging requests and responses. + */ +- (void)startLogging; + +/** + Stop logging requests and responses. + */ +- (void)stopLogging; + +@end + +///---------------- +/// @name Constants +///---------------- + +/** + ## Logging Levels + + The following constants specify the available logging levels for `AFNetworkActivityLogger`: + + enum { + AFLoggerLevelOff, + AFLoggerLevelDebug, + AFLoggerLevelInfo, + AFLoggerLevelWarn, + AFLoggerLevelError, + AFLoggerLevelFatal = AFLoggerLevelOff, + } + + `AFLoggerLevelOff` + Do not log requests or responses. + + `AFLoggerLevelDebug` + Logs HTTP method, URL, header fields, & request body for requests, and status code, URL, header fields, response string, & elapsed time for responses. + + `AFLoggerLevelInfo` + Logs HTTP method & URL for requests, and status code, URL, & elapsed time for responses. + + `AFLoggerLevelWarn` + Logs HTTP method & URL for requests, and status code, URL, & elapsed time for responses, but only for failed requests. + + `AFLoggerLevelError` + Equivalent to `AFLoggerLevelWarn` + + `AFLoggerLevelFatal` + Equivalent to `AFLoggerLevelOff` +*/ diff --git a/Pods/AFNetworkActivityLogger/AFNetworkActivityLogger.m b/Pods/AFNetworkActivityLogger/AFNetworkActivityLogger.m new file mode 100644 index 0000000..6aaea1e --- /dev/null +++ b/Pods/AFNetworkActivityLogger/AFNetworkActivityLogger.m @@ -0,0 +1,169 @@ +// AFNetworkActivityLogger.h +// +// Copyright (c) 2013 AFNetworking (http://afnetworking.com/) +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#import "AFNetworkActivityLogger.h" +#import "AFURLConnectionOperation.h" +#import "AFURLSessionManager.h" + +#import + +static NSURLRequest * AFNetworkRequestFromNotification(NSNotification *notification) { + NSURLRequest *request = nil; + if ([[notification object] isKindOfClass:[AFURLConnectionOperation class]]) { + request = [(AFURLConnectionOperation *)[notification object] request]; + } else if ([[notification object] respondsToSelector:@selector(originalRequest)]) { + request = [[notification object] originalRequest]; + } + + return request; +} + +@implementation AFNetworkActivityLogger + ++ (instancetype)sharedLogger { + static AFNetworkActivityLogger *_sharedLogger = nil; + + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + _sharedLogger = [[self alloc] init]; + }); + + return _sharedLogger; +} + +- (id)init { + self = [super init]; + if (!self) { + return nil; + } + + self.level = AFLoggerLevelInfo; + + return self; +} + +- (void)dealloc { + [self stopLogging]; +} + +- (void)startLogging { + [self stopLogging]; + + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidStart:) name:AFNetworkingOperationDidStartNotification object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingOperationDidFinishNotification object:nil]; + +#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000) || (defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090) + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidStart:) name:AFNetworkingTaskDidResumeNotification object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkRequestDidFinish:) name:AFNetworkingTaskDidCompleteNotification object:nil]; +#endif +} + +- (void)stopLogging { + [[NSNotificationCenter defaultCenter] removeObserver:self]; +} + +#pragma mark - NSNotification + +static void * AFNetworkRequestStartDate = &AFNetworkRequestStartDate; + +- (void)networkRequestDidStart:(NSNotification *)notification { + NSURLRequest *request = AFNetworkRequestFromNotification(notification); + + if (!request) { + return; + } + + if (request && self.filterPredicate && [self.filterPredicate evaluateWithObject:request]) { + return; + } + + objc_setAssociatedObject(notification.object, AFNetworkRequestStartDate, [NSDate date], OBJC_ASSOCIATION_RETAIN_NONATOMIC); + + NSString *body = nil; + if ([request HTTPBody]) { + body = [[NSString alloc] initWithData:[request HTTPBody] encoding:NSUTF8StringEncoding]; + } + + switch (self.level) { + case AFLoggerLevelDebug: + NSLog(@"%@ '%@': %@ %@", [request HTTPMethod], [[request URL] absoluteString], [request allHTTPHeaderFields], body); + break; + case AFLoggerLevelInfo: + NSLog(@"%@ '%@'", [request HTTPMethod], [[request URL] absoluteString]); + break; + default: + break; + } +} + +- (void)networkRequestDidFinish:(NSNotification *)notification { + NSURLRequest *request = AFNetworkRequestFromNotification(notification); + NSURLResponse *response = [notification.object response]; + NSError *error = [notification.object error]; + + if (!request && !response) { + return; + } + + if (request && self.filterPredicate && [self.filterPredicate evaluateWithObject:request]) { + return; + } + + NSUInteger responseStatusCode = 0; + NSDictionary *responseHeaderFields = nil; + if ([response isKindOfClass:[NSHTTPURLResponse class]]) { + responseStatusCode = [(NSHTTPURLResponse *)response statusCode]; + responseHeaderFields = [(NSHTTPURLResponse *)response allHeaderFields]; + } + + NSString *responseString = nil; + if ([[notification object] respondsToSelector:@selector(responseString)]) { + responseString = [[notification object] responseString]; + } + + NSTimeInterval elapsedTime = [[NSDate date] timeIntervalSinceDate:objc_getAssociatedObject(notification.object, AFNetworkRequestStartDate)]; + + if (error) { + switch (self.level) { + case AFLoggerLevelDebug: + case AFLoggerLevelInfo: + case AFLoggerLevelWarn: + case AFLoggerLevelError: + NSLog(@"[Error] %@ '%@' (%ld) [%.04f s]: %@", [request HTTPMethod], [[response URL] absoluteString], (long)responseStatusCode, elapsedTime, error); + default: + break; + } + } else { + switch (self.level) { + case AFLoggerLevelDebug: + NSLog(@"%ld '%@' [%.04f s]: %@ %@", (long)responseStatusCode, [[response URL] absoluteString], elapsedTime, responseHeaderFields, responseString); + break; + case AFLoggerLevelInfo: + NSLog(@"%ld '%@' [%.04f s]", (long)responseStatusCode, [[response URL] absoluteString], elapsedTime); + break; + default: + break; + } + } +} + +@end diff --git a/Pods/AFNetworkActivityLogger/LICENSE b/Pods/AFNetworkActivityLogger/LICENSE new file mode 100644 index 0000000..f20a847 --- /dev/null +++ b/Pods/AFNetworkActivityLogger/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2013 AFNetworking (http://afnetworking.com/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Pods/AFNetworkActivityLogger/README.md b/Pods/AFNetworkActivityLogger/README.md new file mode 100644 index 0000000..fac0350 --- /dev/null +++ b/Pods/AFNetworkActivityLogger/README.md @@ -0,0 +1,38 @@ +# AFNetworkActivityLogger + +`AFNetworkActivityLogger` is an extension for [AFNetworking](http://github.com/AFNetworking/AFNetworking/) 2.0 that logs network requests as they are sent and received. + +> `AFNetworkActivityLogger` listens for `AFNetworkingOperationDidStartNotification` / `AFNetworkingOperationDidFinishNotification` and `AFNetworkingTaskDidStartNotification` / `AFNetworkingTaskDidFinishNotification` notifications, which are posted by AFNetworking as request operations and session tasks are started and finish. For further customization of logging output, users are encouraged to implement desired functionality by listening for these notifications. + +## Usage + +Add the following code to `AppDelegate.m -application:didFinishLaunchingWithOptions:`: + +``` objective-c +[[AFNetworkActivityLogger sharedLogger] startLogging]; +``` + +Now all `AFURLConnectionOperation` and `NSURLSessionTask` objects created by an `AFURLSessionManager` will have their request and response logged to the console, a la: + +``` +GET http://example.com/foo/bar.json +200 http://example.com/foo/bar.json +``` + +If the default logging level is too verbose—say, if you only want to know when requests fail—then changing it is as simple as: + +``` objective-c +[[AFNetworkActivityLogger sharedLogger] setLevel:AFLoggerLevelError]; +``` + +## Contact + +Mattt Thompson + +- http://github.com/mattt +- http://twitter.com/mattt +- m@mattt.me + +## License + +AFNetworkActivityLogger is available under the MIT license. See the LICENSE file for more info. diff --git a/Pods/BuildHeaders/AFNetworkActivityLogger/AFNetworkActivityLogger.h b/Pods/BuildHeaders/AFNetworkActivityLogger/AFNetworkActivityLogger.h new file mode 120000 index 0000000..a31812c --- /dev/null +++ b/Pods/BuildHeaders/AFNetworkActivityLogger/AFNetworkActivityLogger.h @@ -0,0 +1 @@ +../../AFNetworkActivityLogger/AFNetworkActivityLogger.h \ No newline at end of file diff --git a/Pods/Headers/AFNetworkActivityLogger/AFNetworkActivityLogger.h b/Pods/Headers/AFNetworkActivityLogger/AFNetworkActivityLogger.h new file mode 120000 index 0000000..a31812c --- /dev/null +++ b/Pods/Headers/AFNetworkActivityLogger/AFNetworkActivityLogger.h @@ -0,0 +1 @@ +../../AFNetworkActivityLogger/AFNetworkActivityLogger.h \ No newline at end of file diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 43e4c77..691ce41 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,4 +1,6 @@ PODS: + - AFNetworkActivityLogger (2.0.2): + - AFNetworking/NSURLSession (~> 2.0) - AFNetworking (2.2.1): - AFNetworking/NSURLConnection - AFNetworking/NSURLSession @@ -23,11 +25,13 @@ PODS: - AFNetworking/NSURLSession (~> 2.2.0) DEPENDENCIES: + - AFNetworkActivityLogger (~> 2.0) - AFNetworking - BDBOAuth1Manager SPEC CHECKSUMS: - AFNetworking: 0121f4b69be3fa58d1ab317866e036e12ac9651d - BDBOAuth1Manager: 25d18d56820695aa18aae44eecad55829274a290 + AFNetworkActivityLogger: 45ca411593444cbdc401b12924b4c17082ad512a + AFNetworking: 8dde8c8a6597ad95dac332a593c27e541bc87371 + BDBOAuth1Manager: 468477f0425ce24b3a19a34bbf176fac11225232 -COCOAPODS: 0.29.0 +COCOAPODS: 0.33.1 diff --git a/Pods/Pods-AFHTTPRequestOperationLogger-Private.xcconfig b/Pods/Pods-AFHTTPRequestOperationLogger-Private.xcconfig new file mode 100644 index 0000000..766bd0a --- /dev/null +++ b/Pods/Pods-AFHTTPRequestOperationLogger-Private.xcconfig @@ -0,0 +1,5 @@ +#include "Pods-AFHTTPRequestOperationLogger.xcconfig" +GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/AFHTTPRequestOperationLogger" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFHTTPRequestOperationLogger" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" +OTHER_LDFLAGS = -ObjC +PODS_ROOT = ${SRCROOT} \ No newline at end of file diff --git a/Pods/Pods-AFHTTPRequestOperationLogger-dummy.m b/Pods/Pods-AFHTTPRequestOperationLogger-dummy.m new file mode 100644 index 0000000..a719509 --- /dev/null +++ b/Pods/Pods-AFHTTPRequestOperationLogger-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_AFHTTPRequestOperationLogger : NSObject +@end +@implementation PodsDummy_Pods_AFHTTPRequestOperationLogger +@end diff --git a/Pods/Pods-AFHTTPRequestOperationLogger-prefix.pch b/Pods/Pods-AFHTTPRequestOperationLogger-prefix.pch new file mode 100644 index 0000000..95cf11d --- /dev/null +++ b/Pods/Pods-AFHTTPRequestOperationLogger-prefix.pch @@ -0,0 +1,5 @@ +#ifdef __OBJC__ +#import +#endif + +#import "Pods-environment.h" diff --git a/Pods/Pods-AFHTTPRequestOperationLogger.xcconfig b/Pods/Pods-AFHTTPRequestOperationLogger.xcconfig new file mode 100644 index 0000000..e69de29 diff --git a/Pods/Pods-AFNetworkActivityLogger-Private.xcconfig b/Pods/Pods-AFNetworkActivityLogger-Private.xcconfig new file mode 100644 index 0000000..3c4efe4 --- /dev/null +++ b/Pods/Pods-AFNetworkActivityLogger-Private.xcconfig @@ -0,0 +1,5 @@ +#include "Pods-AFNetworkActivityLogger.xcconfig" +GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/AFNetworkActivityLogger" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworkActivityLogger" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" +OTHER_LDFLAGS = -ObjC +PODS_ROOT = ${SRCROOT} \ No newline at end of file diff --git a/Pods/Pods-AFNetworkActivityLogger-dummy.m b/Pods/Pods-AFNetworkActivityLogger-dummy.m new file mode 100644 index 0000000..eb50c0c --- /dev/null +++ b/Pods/Pods-AFNetworkActivityLogger-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_AFNetworkActivityLogger : NSObject +@end +@implementation PodsDummy_Pods_AFNetworkActivityLogger +@end diff --git a/Pods/Pods-AFNetworkActivityLogger-prefix.pch b/Pods/Pods-AFNetworkActivityLogger-prefix.pch new file mode 100644 index 0000000..95cf11d --- /dev/null +++ b/Pods/Pods-AFNetworkActivityLogger-prefix.pch @@ -0,0 +1,5 @@ +#ifdef __OBJC__ +#import +#endif + +#import "Pods-environment.h" diff --git a/Pods/Pods-AFNetworkActivityLogger.xcconfig b/Pods/Pods-AFNetworkActivityLogger.xcconfig new file mode 100644 index 0000000..e69de29 diff --git a/Pods/Pods-AFNetworking-Private.xcconfig b/Pods/Pods-AFNetworking-Private.xcconfig index 8e3a35b..9a75ebc 100644 --- a/Pods/Pods-AFNetworking-Private.xcconfig +++ b/Pods/Pods-AFNetworking-Private.xcconfig @@ -1,5 +1,5 @@ #include "Pods-AFNetworking.xcconfig" GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/AFNetworking" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/AFNetworking" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworkActivityLogger" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" OTHER_LDFLAGS = -ObjC ${PODS_AFNETWORKING_OTHER_LDFLAGS} PODS_ROOT = ${SRCROOT} \ No newline at end of file diff --git a/Pods/Pods-AFNetworking-prefix.pch b/Pods/Pods-AFNetworking-prefix.pch index 73f7e08..95cf11d 100644 --- a/Pods/Pods-AFNetworking-prefix.pch +++ b/Pods/Pods-AFNetworking-prefix.pch @@ -3,9 +3,3 @@ #endif #import "Pods-environment.h" - - - - - - diff --git a/Pods/Pods-BDBOAuth1Manager-Private.xcconfig b/Pods/Pods-BDBOAuth1Manager-Private.xcconfig index fcfb995..a88cb7c 100644 --- a/Pods/Pods-BDBOAuth1Manager-Private.xcconfig +++ b/Pods/Pods-BDBOAuth1Manager-Private.xcconfig @@ -1,5 +1,5 @@ #include "Pods-BDBOAuth1Manager.xcconfig" GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/BDBOAuth1Manager" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/BDBOAuth1Manager" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworkActivityLogger" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" OTHER_LDFLAGS = -ObjC PODS_ROOT = ${SRCROOT} \ No newline at end of file diff --git a/Pods/Pods-acknowledgements.markdown b/Pods/Pods-acknowledgements.markdown index c3178b2..9e824e5 100644 --- a/Pods/Pods-acknowledgements.markdown +++ b/Pods/Pods-acknowledgements.markdown @@ -1,6 +1,29 @@ # Acknowledgements This application makes use of the following third party libraries: +## AFNetworkActivityLogger + +Copyright (c) 2013 AFNetworking (http://afnetworking.com/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + ## AFNetworking Copyright (c) 2013 AFNetworking (http://afnetworking.com/) diff --git a/Pods/Pods-acknowledgements.plist b/Pods/Pods-acknowledgements.plist index ef0440a..204b71b 100644 --- a/Pods/Pods-acknowledgements.plist +++ b/Pods/Pods-acknowledgements.plist @@ -26,6 +26,33 @@ furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + Title + AFNetworkActivityLogger + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2013 AFNetworking (http://afnetworking.com/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE diff --git a/Pods/Pods-environment.h b/Pods/Pods-environment.h index 28c7231..2abbd26 100644 --- a/Pods/Pods-environment.h +++ b/Pods/Pods-environment.h @@ -6,6 +6,12 @@ // project. +// AFNetworkActivityLogger +#define COCOAPODS_POD_AVAILABLE_AFNetworkActivityLogger +#define COCOAPODS_VERSION_MAJOR_AFNetworkActivityLogger 2 +#define COCOAPODS_VERSION_MINOR_AFNetworkActivityLogger 0 +#define COCOAPODS_VERSION_PATCH_AFNetworkActivityLogger 2 + // AFNetworking #define COCOAPODS_POD_AVAILABLE_AFNetworking #define COCOAPODS_VERSION_MAJOR_AFNetworking 2 diff --git a/Pods/Pods.xcconfig b/Pods/Pods.xcconfig index 17540e8..b29c326 100644 --- a/Pods/Pods.xcconfig +++ b/Pods/Pods.xcconfig @@ -1,5 +1,5 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" -OTHER_CFLAGS = $(inherited) "-isystem${PODS_ROOT}/Headers" "-isystem${PODS_ROOT}/Headers/AFNetworking" "-isystem${PODS_ROOT}/Headers/BDBOAuth1Manager" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/AFNetworkActivityLogger" "${PODS_ROOT}/Headers/AFNetworking" "${PODS_ROOT}/Headers/BDBOAuth1Manager" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers" -isystem "${PODS_ROOT}/Headers/AFNetworkActivityLogger" -isystem "${PODS_ROOT}/Headers/AFNetworking" -isystem "${PODS_ROOT}/Headers/BDBOAuth1Manager" OTHER_LDFLAGS = -ObjC -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index a4d4008..11db86e 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -10,22 +10,74 @@ 46 objects - 0028127B92A44A72B3F81B32 + 006A1937C55A44DDB483A4AF - includeInIndex - 1 + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + NO + CLANG_WARN_BOOL_CONVERSION + YES + CLANG_WARN_CONSTANT_CONVERSION + YES + CLANG_WARN_DIRECT_OBJC_ISA_USAGE + YES + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES + COPY_PHASE_STRIP + YES + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + ONLY_ACTIVE_ARCH + YES + STRIP_INSTALLED_PRODUCT + NO + isa - PBXFileReference - lastKnownFileType - sourcecode.c.h + XCBuildConfiguration name - AFURLRequestSerialization.h - path - AFNetworking/AFURLRequestSerialization.h - sourceTree - <group> + Debug - 02E89E8A8078408F8CBD15D6 + 0183A2D8CC7041C3BEDCFB72 includeInIndex 1 @@ -34,26 +86,20 @@ lastKnownFileType sourcecode.c.objc name - AFURLConnectionOperation.m + UIActivityIndicatorView+AFNetworking.m path - AFNetworking/AFURLConnectionOperation.m + UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m sourceTree <group> - 03606861C0D9462084CAE6D1 + 01D2466A29FD4743967CB574 - includeInIndex - 1 + fileRef + 795D408F13624F18AF069230 isa - PBXFileReference - lastKnownFileType - text - path - Pods-acknowledgements.markdown - sourceTree - <group> + PBXBuildFile - 04137369DAC147DFA0BC9DD3 + 02E647FC3A9E43228B2B0125 includeInIndex 1 @@ -62,44 +108,18 @@ lastKnownFileType sourcecode.c.objc path - Pods-BDBOAuth1Manager-dummy.m + AFNetworkActivityLogger.m sourceTree <group> - 0862550EF0E1431BADA22463 - - isa - PBXTargetDependency - target - BA3292AA93EC4C249841C31D - targetProxy - 62231323D3774C4F9EE53E37 - - 08BEDD7D3F874F4E8F9CC7E3 - - fileRef - 5FCAED4760BB4BC38E9EF0A6 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - - - 0ACD622641C54AFCBDC637E3 + 03A7742FC9AB413DBB96CBEA fileRef - 3832820606024CFD839129A5 + F24A99D599C9467C91FE6B76 isa PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - - 0D25440A9D0640C9B045CDB1 + 046421797B064004912F1661 includeInIndex 1 @@ -108,20 +128,28 @@ lastKnownFileType sourcecode.c.h name - UIImageView+AFNetworking.h + NSDictionary+BDBOAuth1Manager.h path - UIKit+AFNetworking/UIImageView+AFNetworking.h + BDBOAuth1Manager/Categories/NSDictionary+BDBOAuth1Manager.h sourceTree <group> - 0DD384B7AE7B464683EFB5E3 + 04FA133A30B648C5AF9E47A3 - fileRef - 04137369DAC147DFA0BC9DD3 + includeInIndex + 1 isa - PBXBuildFile + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + UIRefreshControl+AFNetworking.m + path + UIKit+AFNetworking/UIRefreshControl+AFNetworking.m + sourceTree + <group> - 11AD6073DD684803BC5513E9 + 05CC0B76FE514FF59AE203DF includeInIndex 1 @@ -130,107 +158,88 @@ lastKnownFileType sourcecode.c.h name - AFURLResponseSerialization.h + UIButton+AFNetworking.h path - AFNetworking/AFURLResponseSerialization.h + UIKit+AFNetworking/UIButton+AFNetworking.h sourceTree <group> - 1203B8C7C1324F699E85E765 + 08F1109A35584D67832161EB - buildConfigurations + children - 7E6DF8CF142347069D40A51A - 7A16570C975F44F5914B0CCF + DF1500055BCF4D758E54B0DE + 1C10F45A7E4E4B20A4C402E5 + 4484F7921FF741E182F520B1 + 21A47224794442F1AC6BB833 - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release isa - XCConfigurationList - - 13727B6FC14D4AA78E94FB4F - - fileRef - D7E0786CD2CF4813A9E00ACD - isa - PBXBuildFile + PBXGroup + name + Support Files + sourceTree + SOURCE_ROOT - 152B2FEB73DE4F95BEA984DE + 091FBEF11B2144DD8ECECD41 - fileRef - 816D049BC0484A92B4100FE0 + includeInIndex + 1 isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-BDBOAuth1Manager-Private.xcconfig + sourceTree + <group> - 168C68BC2923492AA51810C1 + 097AD6C0CD584C138D75E32F children - 32EBEEE13B564A81B69C35F8 - AECE7BD8C1B444F0B719B42A - 7758E9EB57B84895AE638F77 - F9B2B226227042FD99767222 - 1C31A43BDE5547599B75099B - CDB1B59A7A264CB0A10A7A56 - 2CBD3C2B674A454FA488BCCB - F8C7E0D223F540FFACA5D61B - 500C24E4D8374390921B9457 - 47E73E0A4D3346389D40F5B7 - 736DD9FE41DA489CAF2029E9 + F24A99D599C9467C91FE6B76 + 02E647FC3A9E43228B2B0125 + 8C765CE7395C448EA5825EAB isa PBXGroup name - BDBOAuth1Manager + AFNetworkActivityLogger path - BDBOAuth1Manager + AFNetworkActivityLogger sourceTree <group> - 172D170FA07A439A9E5313D9 - - fileRef - D58D00B5A527408FAEC0AA35 - isa - PBXBuildFile - - 175D58CBD46C43F89C4972E6 + 09DFBEC98E034A259F191476 - fileRef - 1C31A43BDE5547599B75099B + buildActionMask + 2147483647 + files + + A939DA3BE0FF4FBF8A7A5155 + 01D2466A29FD4743967CB574 + isa - PBXBuildFile + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 - 195179D03AFB494E9A6FC86D + 0A14F7AACF8042639B286E8E includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - UIAlertView+AFNetworking.m + AFURLRequestSerialization.h path - UIKit+AFNetworking/UIAlertView+AFNetworking.m + AFNetworking/AFURLRequestSerialization.h sourceTree <group> - 1B2FB7F0D08C491BA75129CD - - fileRef - 6041EEA4FD8548989172B7A3 - isa - PBXBuildFile - - 1C31A43BDE5547599B75099B + 0A1509328EFB4803BC152FAC includeInIndex 1 @@ -239,93 +248,76 @@ lastKnownFileType sourcecode.c.h name - BDBOAuth1SessionManager.h + AFHTTPSessionManager.h path - BDBOAuth1Manager/BDBOAuth1SessionManager.h + AFNetworking/AFHTTPSessionManager.h sourceTree <group> - 1CE4A0F0ECF44A5BAC3C6AEE + 0ACC40CEE22642FF8683124A + + buildConfigurations + + 2037897E4B3D4DB188C8B191 + 7BEC481AE3D54869A17F6CBC + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + 0ADC09F8CBB14530B79DDD0A + + fileRef + 2974A3AE8E3D4C798EB9FD08 + isa + PBXBuildFile + + 0C222B0C52BF4246B54DD715 children - E3BD331831244E6F9BA72A49 - 76DD6410EF4B4872A699BD18 - A7541F134A464E94953865F5 + B591793C7A564C579087F19C + 810A20F7A38B497997B35E43 + 0E677171E720469B95049B81 + 817429B190894690B57B2A33 + 9B5192BC796D4AC686753490 isa PBXGroup name - Products + iOS sourceTree <group> - 1D0143C0D1F6457695989E23 + 0D1380060D144E20BC6AD9D0 fileRef - B88A8B2C836342FF9287BD86 + 4EC86266DA57458588EEE39D isa PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + - 1DD22AACFD574E98ACB08362 + 0E677171E720469B95049B81 - includeInIndex - 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + wrapper.framework name - UIActivityIndicatorView+AFNetworking.m + MobileCoreServices.framework path - UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.m + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/MobileCoreServices.framework sourceTree - <group> - - 1E342FA6877E49BE85317401 - - containerPortal - 4E3E557B13204629994D3BB8 - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - BA3292AA93EC4C249841C31D - remoteInfo - Pods-AFNetworking - - 2085B639350248C0950BBE3A - - buildActionMask - 2147483647 - files - - 827035396690490AB8A3F874 - A5E32BC8C3054CD89DE5DCC3 - C56D7ADFBB7E499DB1FE674C - B6FABB9473164729989393F7 - 08BEDD7D3F874F4E8F9CC7E3 - 75DD5AA3145F4A70997A7C7F - A79E0D731B974EBBB5F0134D - E17E2D6E23144E4BA819A316 - 91281656E20D41E5B5E3F1A7 - 0ACD622641C54AFCBDC637E3 - 172D170FA07A439A9E5313D9 - A028940A29FB4B4D9B7E00A0 - 8A098B51842A4CA8B5AA72C7 - C3B925F8A71846BBB1748F08 - 30DB85C575A448758285F008 - 152B2FEB73DE4F95BEA984DE - 2B5683AC64394F09A9F08121 - 57CE5B4E393947D99DA1B789 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 + DEVELOPER_DIR - 241368771B3F42BB8EDB63C4 + 0F34775713E143E7B27F6D07 includeInIndex 1 @@ -333,227 +325,158 @@ PBXFileReference lastKnownFileType sourcecode.c.h - name - UIRefreshControl+AFNetworking.h path - UIKit+AFNetworking/UIRefreshControl+AFNetworking.h + Pods-AFNetworkActivityLogger-prefix.pch sourceTree <group> - 26267C75A8DD441EBB26B2D7 + 106DFD498E68498FB41DD6A6 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - UIActivityIndicatorView+AFNetworking.h + NSDictionary+BDBOAuth1Manager.m path - UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h + BDBOAuth1Manager/Categories/NSDictionary+BDBOAuth1Manager.m sourceTree <group> - 284B97FE6A8E40D59B7D06FF + 11CB117A403F4F479DBCBAA7 - includeInIndex - 1 + buildConfigurationList + 0ACC40CEE22642FF8683124A + buildPhases + + AC598D62E6654B47A290D8BC + 75292F1F4D6C45B68E451B9F + 90EBF166B8894F2CA151CED2 + + buildRules + + dependencies + isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc + PBXNativeTarget name - AFNetworkActivityIndicatorManager.m - path - UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m - sourceTree - <group> + Pods-AFNetworking + productName + Pods-AFNetworking + productReference + FD8AA9D45772453B8A13A694 + productType + com.apple.product-type.library.static + + 146E7C35A32F4F49B0F39515 + + attributes + + LastUpgradeCheck + 0510 + + buildConfigurationList + D6D9976CB335416FB0DDCE2E + compatibilityVersion + Xcode 3.2 + developmentRegion + English + hasScannedForEncodings + 0 + isa + PBXProject + knownRegions + + en + + mainGroup + 44E633719D0B449D8D092FAC + productRefGroup + BB3580C1C0594295B9C577A4 + projectDirPath + + projectReferences + + projectRoot + + targets + + CE43CF11FCD64094B7D84208 + 39BF7C2B4153449AAE80DD3D + 11CB117A403F4F479DBCBAA7 + 4FD873EF4C3D467B9C40B694 + - 2875857077FA4A5CBD30924B + 161DD679FCB44448A0F042E6 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - UIRefreshControl+AFNetworking.m + AFHTTPRequestOperationManager.h path - UIKit+AFNetworking/UIRefreshControl+AFNetworking.m + AFNetworking/AFHTTPRequestOperationManager.h sourceTree <group> - 2B5683AC64394F09A9F08121 + 16F7073906CC4CC585C759F8 fileRef - 2875857077FA4A5CBD30924B + 4EDAB198212248539D705E4A isa PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - - - 2C2A64BFA0204EC38FA9514C - - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - NO - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - COPY_PHASE_STRIP - YES - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN - NO - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - ONLY_ACTIVE_ARCH - YES - STRIP_INSTALLED_PRODUCT - NO - - isa - XCBuildConfiguration - name - Debug - 2CBD3C2B674A454FA488BCCB + 1892E9BCC23C4379A021D668 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + text name - NSDictionary+BDBOAuth1Manager.h + Podfile path - BDBOAuth1Manager/Categories/NSDictionary+BDBOAuth1Manager.h + ../Podfile sourceTree - <group> + SOURCE_ROOT + xcLanguageSpecificationIdentifier + xcode.lang.ruby - 2CE19D17FE244346AA16CA80 + 19603B6D8EBC437DAC34722D + children + + 32D446D81AC4469A8648A34E + isa - PBXFileReference - lastKnownFileType - wrapper.framework + PBXGroup name - CoreGraphics.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreGraphics.framework + Targets Support Files sourceTree - DEVELOPER_DIR + <group> - 2D16D57790704DE8A84D7A88 + 197A6ADEBD22427BABA146CA - buildSettings + fileRef + 2665C82E9FBB4883AF0D2697 + isa + PBXBuildFile + settings - ALWAYS_SEARCH_USER_PATHS - NO - CLANG_CXX_LANGUAGE_STANDARD - gnu++0x - CLANG_CXX_LIBRARY - libc++ - CLANG_ENABLE_MODULES - YES - CLANG_ENABLE_OBJC_ARC - NO - CLANG_WARN_BOOL_CONVERSION - YES - CLANG_WARN_CONSTANT_CONVERSION - YES - CLANG_WARN_DIRECT_OBJC_ISA_USAGE - YES_ERROR - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES_ERROR - COPY_PHASE_STRIP - NO - ENABLE_NS_ASSERTIONS - NO - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES_ERROR - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - STRIP_INSTALLED_PRODUCT - NO - VALIDATE_PRODUCT - YES + COMPILER_FLAGS + -fobjc-arc - isa - XCBuildConfiguration - name - Release - 2DC3991DC3FD44E58E51F109 + 1AC0EA65E97449CD874A2C64 fileRef - AECE7BD8C1B444F0B719B42A + 8D87A42D667043DD8838C560 isa PBXBuildFile settings @@ -562,40 +485,25 @@ -fobjc-arc - 2F764968162C4DCFBDBEE6EE + 1AC56ABA55494031B6EE3C1F includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h - name - AFNetworkReachabilityManager.h - path - AFNetworking/AFNetworkReachabilityManager.h - sourceTree - <group> - - 2FF3F1152A1249F69624BD15 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - AFHTTPRequestOperationManager.h + AFNetworkActivityIndicatorManager.m path - AFNetworking/AFHTTPRequestOperationManager.h + UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m sourceTree <group> - 30DB85C575A448758285F008 + 1AE7E5ED14024AC4AE09E972 fileRef - 675F54EE7C844CFF9B022DC6 + 1AC56ABA55494031B6EE3C1F isa PBXBuildFile settings @@ -604,29 +512,20 @@ -fobjc-arc - 32EBEEE13B564A81B69C35F8 + 1C10F45A7E4E4B20A4C402E5 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h - name - BDBOAuth1RequestOperationManager.h + text.xcconfig path - BDBOAuth1Manager/BDBOAuth1RequestOperationManager.h + Pods-AFNetworking-Private.xcconfig sourceTree <group> - 37281E23E7D64E3AAC1B9326 - - fileRef - A7541F134A464E94953865F5 - isa - PBXBuildFile - - 3784BC628509444CA07A46D3 + 1DCFAAB20BE44F3F83EE7C0B includeInIndex 1 @@ -635,13 +534,13 @@ lastKnownFileType sourcecode.c.objc name - AFHTTPRequestOperationManager.m + AFSecurityPolicy.m path - AFNetworking/AFHTTPRequestOperationManager.m + AFNetworking/AFSecurityPolicy.m sourceTree <group> - 3832820606024CFD839129A5 + 1F1F720869E44DE59B43273C includeInIndex 1 @@ -649,144 +548,113 @@ PBXFileReference lastKnownFileType sourcecode.c.objc - name - AFURLSessionManager.m path - AFNetworking/AFURLSessionManager.m + Pods-dummy.m sourceTree <group> - 38DC109300EA4AEE98D8E07F + 1FA261005FF942A183A7F4CD - fileRef - 2CE19D17FE244346AA16CA80 + includeInIndex + 1 isa - PBXBuildFile - - 39B7902F884247ACBB3ACD97 - - buildActionMask - 2147483647 - files - - 38DC109300EA4AEE98D8E07F - E754DC1DE3E044108A18104F - 55694747B9124AF583948FCA - A3DD400530D04932BF87ECC6 - 67CFC3B711204B1F86F970D2 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 3ADFDC4C2D6C40FDA9C166B0 - - buildConfigurationList - F4E2B8DB00D4445890ADA4FB - buildPhases - - 57B8005E049C49E9BC019F94 - CE3AFAC471A549E5A893CFA9 - - buildRules - - dependencies - - B977314728ED4B3B91D1BFCF - C80B52E86B0C489DB7EA5D09 - - isa - PBXNativeTarget - name - Pods - productName - Pods - productReference - E3BD331831244E6F9BA72A49 - productType - com.apple.product-type.library.static - - 3CB5071DCC414161B0940255 - - fileRef - F30B59C06DAE4F2C8E0CE969 - isa - PBXBuildFile - - 3E5968EC173446029C2B89EE - - fileRef - DADBD1CB7DFC495EB0983E80 - isa - PBXBuildFile - - 4168CDEA4C0147E1A61E5CD1 - - fileRef - A60409C24D0A4A8AB1C0056C - isa - PBXBuildFile - - 41A7FE04E1644B348D728DD1 - - children - - 96649C75E4654B6D9297659F - - isa - PBXGroup + PBXFileReference + lastKnownFileType + sourcecode.c.h name - Frameworks + UIAlertView+AFNetworking.h + path + UIKit+AFNetworking/UIAlertView+AFNetworking.h sourceTree <group> - 41CB7876D5674A3D8421BE87 + 2037897E4B3D4DB188C8B191 - children - - CF9A92992B57447B91657B89 - 66E8D3E19AB842768391E209 - D58D00B5A527408FAEC0AA35 - E56B154C3525404799C9C7C9 - + baseConfigurationReference + 1C10F45A7E4E4B20A4C402E5 + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + COPY_PHASE_STRIP + NO + DSTROOT + /tmp/xcodeproj.dst + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Pods-AFNetworking-prefix.pch + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_VERSION + com.apple.compilers.llvm.clang.1_0 + INSTALL_PATH + $(BUILT_PRODUCTS_DIR) + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + OTHER_LDFLAGS + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + isa - PBXGroup + XCBuildConfiguration name - Support Files - sourceTree - SOURCE_ROOT + Debug - 45DC7C997A0E4EF398C297A8 + 204DAFD77F2342F99D18EA91 - fileRef - 7DE14F2AA4884380A3254579 + includeInIndex + 1 isa - PBXBuildFile + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + AFURLSessionManager.h + path + AFNetworking/AFURLSessionManager.h + sourceTree + <group> - 47E73E0A4D3346389D40F5B7 + 21A47224794442F1AC6BB833 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc - name - NSString+BDBOAuth1Manager.m + sourcecode.c.h path - BDBOAuth1Manager/Categories/NSString+BDBOAuth1Manager.m + Pods-AFNetworking-prefix.pch sourceTree <group> - 4ABE337FA7864BFD9AE1EE3B + 23A762350C3A4EF58B3E00C6 fileRef - 2FF3F1152A1249F69624BD15 + AA3535A8ADC941ACAC3DBA72 isa PBXBuildFile - 4B1E185A3A33413F833770B5 + 245278E77F8B4578A890BBC0 includeInIndex 1 @@ -799,111 +667,98 @@ sourceTree <group> - 4CD6E27ABBF248D2B3AF8F82 + 24B1BC45011741E593FDF7F3 - children - - 940C0C766C594AE1851C1D21 - 7FDF5599F24F4D6F800BCBC7 - F6E2D6F05787459B8B8C730E - D40C302169384BF68FCEB750 - 6E8C62082D394BEC88545987 - 79FACA55D1194CE691354B1A - 41CB7876D5674A3D8421BE87 - 852A58BAC1514E2E8B7D3E4F - + includeInIndex + 1 isa - PBXGroup + PBXFileReference + lastKnownFileType + sourcecode.c.objc name - AFNetworking + UIProgressView+AFNetworking.m path - AFNetworking + UIKit+AFNetworking/UIProgressView+AFNetworking.m sourceTree <group> - 4E3E557B13204629994D3BB8 + 2665C82E9FBB4883AF0D2697 - attributes - - LastUpgradeCheck - 0500 - - buildConfigurationList - 679DABF1AD694705BECE0442 - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 + includeInIndex + 1 isa - PBXProject - knownRegions - - en - - mainGroup - E74827506991483DB6DCD747 - productRefGroup - 1CE4A0F0ECF44A5BAC3C6AEE - projectDirPath - - projectReferences - - projectRoot - - targets - - 3ADFDC4C2D6C40FDA9C166B0 - BA3292AA93EC4C249841C31D - 96C63594E4EF45049741F64F - + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + AFHTTPRequestOperationManager.m + path + AFNetworking/AFHTTPRequestOperationManager.m + sourceTree + <group> - 4F8D2EAFD63B490FA7C4F6AB + 2974A3AE8E3D4C798EB9FD08 - fileRef - 76DD6410EF4B4872A699BD18 + includeInIndex + 1 isa - PBXBuildFile + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + UIImageView+AFNetworking.h + path + UIKit+AFNetworking/UIImageView+AFNetworking.h + sourceTree + <group> - 500C24E4D8374390921B9457 + 2D15794FA9DA4DCBAEB35113 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - NSString+BDBOAuth1Manager.h + AFURLResponseSerialization.m path - BDBOAuth1Manager/Categories/NSString+BDBOAuth1Manager.h + AFNetworking/AFURLResponseSerialization.m sourceTree <group> - 50B6BCC17FF8465D83E22E59 + 325A6C2828A54F7FA7FB7300 - buildActionMask - 2147483647 - files + fileRef + AF0D30AE04C24147B1B65113 + isa + PBXBuildFile + + 32D446D81AC4469A8648A34E + + children - E9A931E6FA664B9583DF7094 - 8BF2FD4F6D114941937FD343 - 175D58CBD46C43F89C4972E6 - 7496F12D36134D44BC893072 - A25BA1F19126416A855F7F77 + 7F376391ACD04AEDB245563B + 9C7B0964D1ED4669B7C01974 + 7403C7FEB4AC4041B885FC24 + 1F1F720869E44DE59B43273C + 245278E77F8B4578A890BBC0 + D1A1F98388F24AAE97FC0EEE isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 + PBXGroup + name + Pods + sourceTree + <group> - 512F3D0D2376406B96DF2E69 + 3392948B91644D4EAE50C190 children - 4CD6E27ABBF248D2B3AF8F82 - 168C68BC2923492AA51810C1 + 097AD6C0CD584C138D75E32F + 839839DFCE7B4D4EA8D92FD1 + 8767AE97E0D2444DB0418F4B isa PBXGroup @@ -912,17 +767,23 @@ sourceTree <group> - 51F8A2D88D034A74AB07898E + 33CADFC050E2495DBCAFB8A6 - fileRef - D7903E4B57EB4F3C82DA7268 + includeInIndex + 1 isa - PBXBuildFile + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-BDBOAuth1Manager.xcconfig + sourceTree + <group> - 5364E4B62B674243B7C41518 + 344C53D888B4446086729DC2 fileRef - 47E73E0A4D3346389D40F5B7 + 04FA133A30B648C5AF9E47A3 isa PBXBuildFile settings @@ -931,234 +792,611 @@ -fobjc-arc - 55554E4C1D8D4FC0A20A1C9D + 35B8B1AE5D78454D8F42A21C + fileRef + 810A20F7A38B497997B35E43 isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - SystemConfiguration.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/SystemConfiguration.framework - sourceTree - DEVELOPER_DIR + PBXBuildFile - 55694747B9124AF583948FCA + 3835B5966A6142E5807A2F5B fileRef - 78D79C3E8F6E4AE0BD91C874 + 05CC0B76FE514FF59AE203DF isa PBXBuildFile - 57B8005E049C49E9BC019F94 + 39BF7C2B4153449AAE80DD3D - buildActionMask - 2147483647 - files + buildConfigurationList + 71A2F8214B1C46FA979A3E29 + buildPhases + + 09DFBEC98E034A259F191476 + DDCDE52A4FD8464AAF274790 + 9FE90F9D7CFB4B6F8A1F6646 + + buildRules + + dependencies - B6B7E8EFF36B409D82751648 + E25AED8A585241E3A04E6F9E isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 + PBXNativeTarget + name + Pods-AFNetworkActivityLogger + productName + Pods-AFNetworkActivityLogger + productReference + 61CECD358B5042A38491F8F6 + productType + com.apple.product-type.library.static - 57CE5B4E393947D99DA1B789 + 3A02857ABFA3439F9558B1BD fileRef - 8BD1D4AC9FF140D5A8ADAB08 + 8949D3B2B3A34803AA00A9C4 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + + + 3F55296ACA03482A95A03E89 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + AFURLRequestSerialization.m + path + AFNetworking/AFURLRequestSerialization.m + sourceTree + <group> + + 4032E7A6B863409A8B67E0C3 + + children + + DAADDFBF54834F25A025A44D + 1AC56ABA55494031B6EE3C1F + E934B4A8FC9F46BBBD4802C1 + 0183A2D8CC7041C3BEDCFB72 + 1FA261005FF942A183A7F4CD + 4EC86266DA57458588EEE39D + 05CC0B76FE514FF59AE203DF + E4F5A58B0C4649D2819213DB + 2974A3AE8E3D4C798EB9FD08 + 8D87A42D667043DD8838C560 + 652C8D4DE8CF41D3AC92362F + FED645B65C3946D8BA9DB083 + 24B1BC45011741E593FDF7F3 + AF0D30AE04C24147B1B65113 + 04FA133A30B648C5AF9E47A3 + 5F2F9E29397C44F7AF458E0A + 485F1B90994C4A6D86A88567 + + isa + PBXGroup + name + UIKit + sourceTree + <group> + + 408F64B4E3C445F9981242D6 + + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + CLANG_CXX_LANGUAGE_STANDARD + gnu++0x + CLANG_CXX_LIBRARY + libc++ + CLANG_ENABLE_MODULES + YES + CLANG_ENABLE_OBJC_ARC + NO + CLANG_WARN_BOOL_CONVERSION + YES + CLANG_WARN_CONSTANT_CONVERSION + YES + CLANG_WARN_DIRECT_OBJC_ISA_USAGE + YES + CLANG_WARN_EMPTY_BODY + YES + CLANG_WARN_ENUM_CONVERSION + YES + CLANG_WARN_INT_CONVERSION + YES + CLANG_WARN_OBJC_ROOT_CLASS + YES + COPY_PHASE_STRIP + NO + ENABLE_NS_ASSERTIONS + NO + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_WARN_64_TO_32_BIT_CONVERSION + YES + GCC_WARN_ABOUT_RETURN_TYPE + YES + GCC_WARN_UNDECLARED_SELECTOR + YES + GCC_WARN_UNINITIALIZED_AUTOS + YES + GCC_WARN_UNUSED_FUNCTION + YES + GCC_WARN_UNUSED_VARIABLE + YES + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + STRIP_INSTALLED_PRODUCT + NO + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Release + + 418055F34AB648FD8F82F2A2 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + AFURLSessionManager.m + path + AFNetworking/AFURLSessionManager.m + sourceTree + <group> + + 4341A7EFFDDD445E8C7572AF + + fileRef + 0E677171E720469B95049B81 + isa + PBXBuildFile + + 4484F7921FF741E182F520B1 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + Pods-AFNetworking-dummy.m + sourceTree + <group> + + 44E633719D0B449D8D092FAC + + children + + 1892E9BCC23C4379A021D668 + 8EC1FB809D3245EC8854BD57 + 3392948B91644D4EAE50C190 + BB3580C1C0594295B9C577A4 + 19603B6D8EBC437DAC34722D + + isa + PBXGroup + sourceTree + <group> + + 451508E563DA431D97C188C5 + + fileRef + FED645B65C3946D8BA9DB083 + isa + PBXBuildFile + + 45456E4900B2474DA1FDF04C + + fileRef + F07C8EDC32374F21852481E4 + isa + PBXBuildFile + + 475785B9A129410C9846FD46 + + fileRef + DAADDFBF54834F25A025A44D + isa + PBXBuildFile + + 485F1B90994C4A6D86A88567 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + UIWebView+AFNetworking.m + path + UIKit+AFNetworking/UIWebView+AFNetworking.m + sourceTree + <group> + + 4ADC48178ACC4CC880BF2FA6 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + path + Pods-BDBOAuth1Manager-dummy.m + sourceTree + <group> + + 4AFF2659DA06469886AD6CEC + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + AFHTTPSessionManager.m + path + AFNetworking/AFHTTPSessionManager.m + sourceTree + <group> + + 4BE42E66C0464A1C8E969445 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-AFNetworkActivityLogger.xcconfig + sourceTree + <group> + + 4C90138EB746426294E1409B + + children + + 33CADFC050E2495DBCAFB8A6 + 091FBEF11B2144DD8ECECD41 + 4ADC48178ACC4CC880BF2FA6 + BC923D4490A345FFB4206E4C + + isa + PBXGroup + name + Support Files + sourceTree + SOURCE_ROOT + + 4EC86266DA57458588EEE39D + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.objc + name + UIAlertView+AFNetworking.m + path + UIKit+AFNetworking/UIAlertView+AFNetworking.m + sourceTree + <group> + + 4EDAB198212248539D705E4A + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h + name + AFNetworking.h + path + AFNetworking/AFNetworking.h + sourceTree + <group> + + 4EE7C968D7834904ABD1C028 + + baseConfigurationReference + 7F376391ACD04AEDB245563B + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + COPY_PHASE_STRIP + YES + DSTROOT + /tmp/xcodeproj.dst + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_VERSION + com.apple.compilers.llvm.clang.1_0 + INSTALL_PATH + $(BUILT_PRODUCTS_DIR) + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + OTHER_CFLAGS + + -DNS_BLOCK_ASSERTIONS=1 + $(inherited) + + OTHER_CPLUSPLUSFLAGS + + -DNS_BLOCK_ASSERTIONS=1 + $(inherited) + + OTHER_LDFLAGS + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + VALIDATE_PRODUCT + YES + + isa + XCBuildConfiguration + name + Release + + 4F36D3BD0D8E434F8BD9BFE7 + + baseConfigurationReference + 7F376391ACD04AEDB245563B + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + COPY_PHASE_STRIP + NO + DSTROOT + /tmp/xcodeproj.dst + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_VERSION + com.apple.compilers.llvm.clang.1_0 + INSTALL_PATH + $(BUILT_PRODUCTS_DIR) + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + OTHER_LDFLAGS + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + + isa + XCBuildConfiguration + name + Debug + + 4FD873EF4C3D467B9C40B694 + + buildConfigurationList + 5B2A3246D46D4B4E89846875 + buildPhases + + BE35EDA8E639468F82651E0B + 97BEC344654446FD8F0423FF + DD14DD77906344EFBAB9B041 + + buildRules + + dependencies + + 7895F3A040184A6D92BF59FE + isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - + PBXNativeTarget + name + Pods-BDBOAuth1Manager + productName + Pods-BDBOAuth1Manager + productReference + 8574814E1C6943889759DD42 + productType + com.apple.product-type.library.static - 5A3DBBA21C474405B44E16B6 + 515BCCD1FBDD4245960EBF9C - fileRef - DD5430B8C9E04CF4955BD62C + containerPortal + 146E7C35A32F4F49B0F39515 isa - PBXBuildFile + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 11CB117A403F4F479DBCBAA7 + remoteInfo + Pods-AFNetworking - 5AEA0BF518DF412DAB83C76C + 571AD3E8C9274F1B9DF58DC1 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - AFURLResponseSerialization.m + AFNetworkReachabilityManager.h path - AFNetworking/AFURLResponseSerialization.m + AFNetworking/AFNetworkReachabilityManager.h sourceTree <group> - 5DDCF6E8F819481E8995557B - - fileRef - EB9C06BC7CD047AFBA76E2AE - isa - PBXBuildFile - - 5F435886E3944584BCF82428 + 5B2A3246D46D4B4E89846875 - children + buildConfigurations - AD9B8347F8A345ACB81AF36A - 03606861C0D9462084CAE6D1 - FB8BAA5BA74A4D3EAAC843C4 - 61E2433D637F47BBAABBB55C - 4B1E185A3A33413F833770B5 - 9810245015374860A417FC72 + F7B8747C78384F68B0CD4791 + D988CBA6031F4B2881115F0E + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release isa - PBXGroup - name - Pods - sourceTree - <group> + XCConfigurationList - 5FCAED4760BB4BC38E9EF0A6 + 5F2F9E29397C44F7AF458E0A includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - AFNetworkReachabilityManager.m + UIWebView+AFNetworking.h path - AFNetworking/AFNetworkReachabilityManager.m + UIKit+AFNetworking/UIWebView+AFNetworking.h sourceTree <group> - 6041EEA4FD8548989172B7A3 + 60586F041BE84537B44A8905 + fileRef + 61CECD358B5042A38491F8F6 isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - Foundation.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework - sourceTree - DEVELOPER_DIR + PBXBuildFile - 60D0DF31AC9242B49745F84C + 61CECD358B5042A38491F8F6 + explicitFileType + archive.ar includeInIndex - 1 + 0 isa PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIKit+AFNetworking.h path - UIKit+AFNetworking/UIKit+AFNetworking.h + libPods-AFNetworkActivityLogger.a sourceTree - <group> + BUILT_PRODUCTS_DIR - 61E2433D637F47BBAABBB55C + 63B6387446D548A79D834FF8 - includeInIndex - 1 + fileRef + 485F1B90994C4A6D86A88567 isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Pods-dummy.m - sourceTree - <group> + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + - 62231323D3774C4F9EE53E37 + 6410DF197C694896B72B5D1F - containerPortal - 4E3E557B13204629994D3BB8 + fileRef + 7A1786C30281420E922EE81E isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - BA3292AA93EC4C249841C31D - remoteInfo - Pods-AFNetworking + PBXBuildFile - 66E8D3E19AB842768391E209 + 652C8D4DE8CF41D3AC92362F includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.h + name + UIKit+AFNetworking.h path - Pods-AFNetworking-Private.xcconfig + UIKit+AFNetworking/UIKit+AFNetworking.h sourceTree <group> - 675F54EE7C844CFF9B022DC6 + 676412302E9848F5B7CDC1B3 + + fileRef + 652C8D4DE8CF41D3AC92362F + isa + PBXBuildFile + + 6830E5905D874377984DBE05 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - UIImageView+AFNetworking.m + NSString+BDBOAuth1Manager.h path - UIKit+AFNetworking/UIImageView+AFNetworking.m + BDBOAuth1Manager/Categories/NSString+BDBOAuth1Manager.h sourceTree <group> - 679DABF1AD694705BECE0442 + 68C1E4F120D448A7AB7AE580 - buildConfigurations + children - 2C2A64BFA0204EC38FA9514C - 2D16D57790704DE8A84D7A88 + 571AD3E8C9274F1B9DF58DC1 + D51FE36ADD6941AF835AD38D - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 67CFC3B711204B1F86F970D2 - - fileRef - 55554E4C1D8D4FC0A20A1C9D isa - PBXBuildFile - - 68965D644A6D4B1097C3EB6A - - fileRef - EC3C310268DC45C5B834C1F1 - isa - PBXBuildFile - - 6A212CFD0E49482CBAF4D271 - - fileRef - 60D0DF31AC9242B49745F84C - isa - PBXBuildFile + PBXGroup + name + Reachability + sourceTree + <group> - 6D96163FBB0D4EBCB64B8A09 + 6B3DCE08F24340089F422D43 baseConfigurationReference - 66E8D3E19AB842768391E209 + 7192B6559EDE435EAFBAE936 buildSettings ALWAYS_SEARCH_USER_PATHS @@ -1172,7 +1410,7 @@ GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREFIX_HEADER - Pods-AFNetworking-prefix.pch + Pods-AFNetworkActivityLogger-prefix.pch GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH @@ -1207,100 +1445,125 @@ name Release - 6E8C62082D394BEC88545987 + 6ED0245E797A44D7AAF3609D - children + isa + PBXTargetDependency + target + 4FD873EF4C3D467B9C40B694 + targetProxy + F7A30CCFE75C47648D0E8129 + + 7192B6559EDE435EAFBAE936 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-AFNetworkActivityLogger-Private.xcconfig + sourceTree + <group> + + 71A2F8214B1C46FA979A3E29 + + buildConfigurations - DD5430B8C9E04CF4955BD62C - D97A0D5442794AFC823E1B36 + FB929B6DFD864DA7BE556FE0 + 6B3DCE08F24340089F422D43 + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release isa - PBXGroup - name - Security + XCConfigurationList + + 73F15203C21F4F98888EB3BD + + fileRef + 810A20F7A38B497997B35E43 + isa + PBXBuildFile + + 7403C7FEB4AC4041B885FC24 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.plist.xml + path + Pods-acknowledgements.plist sourceTree <group> - 734501AC28434564A85685EF + 75292F1F4D6C45B68E451B9F buildActionMask 2147483647 files - 2DC3991DC3FD44E58E51F109 - F33F3D30CDA4453CB00ED595 - ABE9638973C04214A4C8995E - EFC275E3743040A986D979BC - 5364E4B62B674243B7C41518 - 0DD384B7AE7B464683EFB5E3 + EE3EBDF7548B495DB93330E5 + 35B8B1AE5D78454D8F42A21C + 4341A7EFFDDD445E8C7572AF + F809CF0726344D20BA01080D + E820B3036BEA415F88513EA4 isa - PBXSourcesBuildPhase + PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 - 736DD9FE41DA489CAF2029E9 + 77BB3D9A094C44E5B63719F4 + + fileRef + 6830E5905D874377984DBE05 + isa + PBXBuildFile + + 785A56634F0F4551B86B8694 children - BAD1023AFF4A498DA2B29F9E - D463AF1DC77146C2B91D9A31 - 04137369DAC147DFA0BC9DD3 - 83CF1DB77DB24D6780A0B2F1 + 0A1509328EFB4803BC152FAC + 4AFF2659DA06469886AD6CEC + 204DAFD77F2342F99D18EA91 + 418055F34AB648FD8F82F2A2 isa PBXGroup name - Support Files + NSURLSession sourceTree - SOURCE_ROOT - - 7496F12D36134D44BC893072 - - fileRef - 2CBD3C2B674A454FA488BCCB - isa - PBXBuildFile - - 75DD5AA3145F4A70997A7C7F - - fileRef - D97A0D5442794AFC823E1B36 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - + <group> - 760D20BD3A6940619AFB4F2E + 7895F3A040184A6D92BF59FE - containerPortal - 4E3E557B13204629994D3BB8 isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 96C63594E4EF45049741F64F - remoteInfo - Pods-BDBOAuth1Manager + PBXTargetDependency + target + 11CB117A403F4F479DBCBAA7 + targetProxy + E0708DFD61774AAD8C683C5C - 76DD6410EF4B4872A699BD18 + 795D408F13624F18AF069230 - explicitFileType - archive.ar includeInIndex - 0 + 1 isa PBXFileReference + lastKnownFileType + sourcecode.c.objc path - libPods-AFNetworking.a + Pods-AFNetworkActivityLogger-dummy.m sourceTree - BUILT_PRODUCTS_DIR + <group> - 7758E9EB57B84895AE638F77 + 7A1786C30281420E922EE81E includeInIndex 1 @@ -1309,45 +1572,47 @@ lastKnownFileType sourcecode.c.h name - BDBOAuth1RequestSerializer.h + AFURLConnectionOperation.h path - BDBOAuth1Manager/BDBOAuth1RequestSerializer.h + AFNetworking/AFURLConnectionOperation.h sourceTree <group> - 78D79C3E8F6E4AE0BD91C874 + 7A25D0C01FEB4A939A6984E1 + fileRef + 1FA261005FF942A183A7F4CD isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - MobileCoreServices.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/MobileCoreServices.framework - sourceTree - DEVELOPER_DIR + PBXBuildFile + + 7B13AAD2ECBC49B98E4B8DC5 + + fileRef + 3F55296ACA03482A95A03E89 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + - 79FACA55D1194CE691354B1A + 7B9AEC248F284933BB8CC313 - children - - 0028127B92A44A72B3F81B32 - 86BB9F2CA5954BCFBABB3FB8 - 11AD6073DD684803BC5513E9 - 5AEA0BF518DF412DAB83C76C - + fileRef + E97513838B9D4A7A927555EF isa - PBXGroup - name - Serialization - sourceTree - <group> + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + - 7A16570C975F44F5914B0CCF + 7BEC481AE3D54869A17F6CBC baseConfigurationReference - D463AF1DC77146C2B91D9A31 + 1C10F45A7E4E4B20A4C402E5 buildSettings ALWAYS_SEARCH_USER_PATHS @@ -1361,7 +1626,7 @@ GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREFIX_HEADER - Pods-BDBOAuth1Manager-prefix.pch + Pods-AFNetworking-prefix.pch GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH @@ -1396,7 +1661,7 @@ name Release - 7DE14F2AA4884380A3254579 + 7D5C237B516E46C08F1D666C includeInIndex 1 @@ -1405,114 +1670,36 @@ lastKnownFileType sourcecode.c.h name - AFHTTPSessionManager.h + AFHTTPRequestOperation.h path - AFNetworking/AFHTTPSessionManager.h - sourceTree - <group> - - 7E6DF8CF142347069D40A51A - - baseConfigurationReference - D463AF1DC77146C2B91D9A31 - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - COPY_PHASE_STRIP - NO - DSTROOT - /tmp/xcodeproj.dst - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - Pods-BDBOAuth1Manager-prefix.pch - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN - NO - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - INSTALL_PATH - $(BUILT_PRODUCTS_DIR) - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - OTHER_LDFLAGS - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - 7FDF5599F24F4D6F800BCBC7 - - children - - EC3C310268DC45C5B834C1F1 - 9C38608421EE4E3DB18D514A - 2FF3F1152A1249F69624BD15 - 3784BC628509444CA07A46D3 - EB9C06BC7CD047AFBA76E2AE - 02E89E8A8078408F8CBD15D6 - - isa - PBXGroup - name - NSURLConnection + AFNetworking/AFHTTPRequestOperation.h sourceTree <group> - 813FA198904D4718B801A7F9 + 7E6795ADF0D242A3B9F02636 - buildConfigurations - - D0504289ACBB4498B6E7BD2A - 6D96163FBB0D4EBCB64B8A09 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release + fileRef + 8574814E1C6943889759DD42 isa - XCConfigurationList + PBXBuildFile - 816D049BC0484A92B4100FE0 + 7F376391ACD04AEDB245563B includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc - name - UIProgressView+AFNetworking.m + text.xcconfig path - UIKit+AFNetworking/UIProgressView+AFNetworking.m + Pods.xcconfig sourceTree <group> - 827035396690490AB8A3F874 + 80CAC1D969E748AFBB175DE1 fileRef - 9C38608421EE4E3DB18D514A + 1DCFAAB20BE44F3F83EE7C0B isa PBXBuildFile settings @@ -1521,76 +1708,93 @@ -fobjc-arc - 83CF1DB77DB24D6780A0B2F1 + 810A20F7A38B497997B35E43 - includeInIndex - 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + wrapper.framework + name + Foundation.framework path - Pods-BDBOAuth1Manager-prefix.pch + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/Foundation.framework sourceTree - <group> + DEVELOPER_DIR + + 817429B190894690B57B2A33 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + Security.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/Security.framework + sourceTree + DEVELOPER_DIR - 852A58BAC1514E2E8B7D3E4F + 839839DFCE7B4D4EA8D92FD1 children - B88A8B2C836342FF9287BD86 - 284B97FE6A8E40D59B7D06FF - 26267C75A8DD441EBB26B2D7 - 1DD22AACFD574E98ACB08362 - D7E0786CD2CF4813A9E00ACD - 195179D03AFB494E9A6FC86D - A60409C24D0A4A8AB1C0056C - A2C707F6A33D470BAB4C432F - 0D25440A9D0640C9B045CDB1 - 675F54EE7C844CFF9B022DC6 - 60D0DF31AC9242B49745F84C - DADBD1CB7DFC495EB0983E80 - 816D049BC0484A92B4100FE0 - 241368771B3F42BB8EDB63C4 - 2875857077FA4A5CBD30924B - F30B59C06DAE4F2C8E0CE969 - 8BD1D4AC9FF140D5A8ADAB08 + 4EDAB198212248539D705E4A + C8A194173886475EBACAF5FF + 785A56634F0F4551B86B8694 + 68C1E4F120D448A7AB7AE580 + EA1A966951AB4DCC8192B189 + E703DB2D3CCF44A5B43CB727 + 08F1109A35584D67832161EB + 4032E7A6B863409A8B67E0C3 isa PBXGroup name - UIKit + AFNetworking + path + AFNetworking sourceTree <group> - 86BB9F2CA5954BCFBABB3FB8 + 8574814E1C6943889759DD42 + explicitFileType + archive.ar includeInIndex - 1 + 0 isa PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - AFURLRequestSerialization.m path - AFNetworking/AFURLRequestSerialization.m + libPods-BDBOAuth1Manager.a sourceTree - <group> + BUILT_PRODUCTS_DIR - 8A098B51842A4CA8B5AA72C7 + 8767AE97E0D2444DB0418F4B - fileRef - 195179D03AFB494E9A6FC86D + children + + E12A0F31DBE240BE8908FF55 + E15436133FB44C5C9F4ED745 + AF658A38ABF44EF2A2CF5DF3 + E97513838B9D4A7A927555EF + AA3535A8ADC941ACAC3DBA72 + 8949D3B2B3A34803AA00A9C4 + 046421797B064004912F1661 + 106DFD498E68498FB41DD6A6 + 6830E5905D874377984DBE05 + EDBE9DF94D3B42BF9FCC9325 + 4C90138EB746426294E1409B + isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - + PBXGroup + name + BDBOAuth1Manager + path + BDBOAuth1Manager + sourceTree + <group> - 8BD1D4AC9FF140D5A8ADAB08 + 8949D3B2B3A34803AA00A9C4 includeInIndex 1 @@ -1599,210 +1803,175 @@ lastKnownFileType sourcecode.c.objc name - UIWebView+AFNetworking.m + BDBOAuth1SessionManager.m path - UIKit+AFNetworking/UIWebView+AFNetworking.m + BDBOAuth1Manager/BDBOAuth1SessionManager.m sourceTree <group> - 8BF2FD4F6D114941937FD343 + 8A171BFF4D4942E3858E4FC1 - fileRef - 7758E9EB57B84895AE638F77 isa - PBXBuildFile + PBXTargetDependency + target + 39BF7C2B4153449AAE80DD3D + targetProxy + DF59EDBB77F44A199996AF6F - 91281656E20D41E5B5E3F1A7 + 8B77853DF89547AEA15259C7 - fileRef - 5AEA0BF518DF412DAB83C76C + buildConfigurations + + 4F36D3BD0D8E434F8BD9BFE7 + 4EE7C968D7834904ABD1C028 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - + XCConfigurationList - 936599475E1C405F82F3F1D8 + 8C765CE7395C448EA5825EAB - baseConfigurationReference - AD9B8347F8A345ACB81AF36A - buildSettings - - ALWAYS_SEARCH_USER_PATHS - NO - COPY_PHASE_STRIP - YES - DSTROOT - /tmp/xcodeproj.dst - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - INSTALL_PATH - $(BUILT_PRODUCTS_DIR) - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - OTHER_CFLAGS - - -DNS_BLOCK_ASSERTIONS=1 - $(inherited) - - OTHER_CPLUSPLUSFLAGS - - -DNS_BLOCK_ASSERTIONS=1 - $(inherited) - - OTHER_LDFLAGS - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - VALIDATE_PRODUCT - YES - + children + + 4BE42E66C0464A1C8E969445 + 7192B6559EDE435EAFBAE936 + 795D408F13624F18AF069230 + 0F34775713E143E7B27F6D07 + isa - XCBuildConfiguration + PBXGroup name - Release + Support Files + sourceTree + SOURCE_ROOT - 940C0C766C594AE1851C1D21 + 8D87A42D667043DD8838C560 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - AFNetworking.h + UIImageView+AFNetworking.m path - AFNetworking/AFNetworking.h + UIKit+AFNetworking/UIImageView+AFNetworking.m sourceTree <group> - 96649C75E4654B6D9297659F + 8EC1FB809D3245EC8854BD57 children - 2CE19D17FE244346AA16CA80 - 6041EEA4FD8548989172B7A3 - 78D79C3E8F6E4AE0BD91C874 - D204DAE978A0477FBBFF515B - 55554E4C1D8D4FC0A20A1C9D + 0C222B0C52BF4246B54DD715 isa PBXGroup name - iOS + Frameworks sourceTree <group> - 96C63594E4EF45049741F64F + 90EBF166B8894F2CA151CED2 - buildConfigurationList - 1203B8C7C1324F699E85E765 - buildPhases - - 734501AC28434564A85685EF - BB5B49514B374B5F8C542841 - 50B6BCC17FF8465D83E22E59 - - buildRules - - dependencies + buildActionMask + 2147483647 + files - 0862550EF0E1431BADA22463 + E9E2F85545FB4C008AA770A3 + F3F5EDC5045641628F2E721E + C08EE51D606345159678286B + 475785B9A129410C9846FD46 + AE1A1CDB681643D7A1819A29 + 16F7073906CC4CC585C759F8 + D415C529CF58476F8393C01E + 6410DF197C694896B72B5D1F + B27DDC9516114B06AE899BFE + 45456E4900B2474DA1FDF04C + BF53014DB91D467F8AABD547 + CA019CC9F1854A2081EDD491 + 7A25D0C01FEB4A939A6984E1 + 3835B5966A6142E5807A2F5B + 0ADC09F8CBB14530B79DDD0A + 676412302E9848F5B7CDC1B3 + 451508E563DA431D97C188C5 + 325A6C2828A54F7FA7FB7300 + A8553208659C45D8B2FEE27E isa - PBXNativeTarget - name - Pods-BDBOAuth1Manager - productName - Pods-BDBOAuth1Manager - productReference - A7541F134A464E94953865F5 - productType - com.apple.product-type.library.static + PBXHeadersBuildPhase + runOnlyForDeploymentPostprocessing + 0 - 9810245015374860A417FC72 + 921AC776E1BE42308647249F + explicitFileType + archive.ar includeInIndex - 1 + 0 isa PBXFileReference - lastKnownFileType - text.script.sh path - Pods-resources.sh + libPods.a sourceTree - <group> + BUILT_PRODUCTS_DIR - 9883D41A97974C7EB66CCF30 + 97BEC344654446FD8F0423FF buildActionMask 2147483647 files - 68965D644A6D4B1097C3EB6A - 4ABE337FA7864BFD9AE1EE3B - 45DC7C997A0E4EF398C297A8 - 1D0143C0D1F6457695989E23 - DA905A68A6B54DDD9F14146D - AF3FBA1C658F4441B0AFDBF0 - 5A3DBBA21C474405B44E16B6 - 5DDCF6E8F819481E8995557B - EE46C7E685E2425A8A7187F7 - EC25FCB2B056405EABABBB46 - 51F8A2D88D034A74AB07898E - C327DD13513E473FAABB70B0 - 13727B6FC14D4AA78E94FB4F - 4168CDEA4C0147E1A61E5CD1 - DDC8F79E320242D78757D671 - 6A212CFD0E49482CBAF4D271 - 3E5968EC173446029C2B89EE - F4A84EDEE6B14F7A8D61846E - 3CB5071DCC414161B0940255 + E2D42F8F24834BAA87763E41 isa - PBXHeadersBuildPhase + PBXFrameworksBuildPhase runOnlyForDeploymentPostprocessing 0 - 9C38608421EE4E3DB18D514A + 9B5192BC796D4AC686753490 + + isa + PBXFileReference + lastKnownFileType + wrapper.framework + name + SystemConfiguration.framework + path + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/SystemConfiguration.framework + sourceTree + DEVELOPER_DIR + + 9C7B0964D1ED4669B7C01974 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc - name - AFHTTPRequestOperation.m + text path - AFNetworking/AFHTTPRequestOperation.m + Pods-acknowledgements.markdown sourceTree <group> - 9E1DE05AC62E4B449FBFE042 + 9DB71ABD93684325B0F05796 - fileRef - 6041EEA4FD8548989172B7A3 isa - PBXBuildFile + PBXTargetDependency + target + 11CB117A403F4F479DBCBAA7 + targetProxy + 515BCCD1FBDD4245960EBF9C - A028940A29FB4B4D9B7E00A0 + 9E066E08150A4565BCD54744 fileRef - 1DD22AACFD574E98ACB08362 + 2D15794FA9DA4DCBAEB35113 isa PBXBuildFile settings @@ -1811,14 +1980,27 @@ -fobjc-arc - A25BA1F19126416A855F7F77 + 9FE90F9D7CFB4B6F8A1F6646 + + buildActionMask + 2147483647 + files + + 03A7742FC9AB413DBB96CBEA + + isa + PBXHeadersBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + A240EFBE0DF448A6AAF2D4F0 fileRef - 500C24E4D8374390921B9457 + 4484F7921FF741E182F520B1 isa PBXBuildFile - A2C707F6A33D470BAB4C432F + A341A4956D104DE3A5BAB2AE includeInIndex 1 @@ -1827,23 +2009,35 @@ lastKnownFileType sourcecode.c.objc name - UIButton+AFNetworking.m + AFURLConnectionOperation.m path - UIKit+AFNetworking/UIButton+AFNetworking.m + AFNetworking/AFURLConnectionOperation.m sourceTree <group> - A3DD400530D04932BF87ECC6 + A8553208659C45D8B2FEE27E + + fileRef + 5F2F9E29397C44F7AF458E0A + isa + PBXBuildFile + + A911A3F8F4E5480293DD27ED fileRef - D204DAE978A0477FBBFF515B + 24B1BC45011741E593FDF7F3 isa PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + - A5E32BC8C3054CD89DE5DCC3 + A939DA3BE0FF4FBF8A7A5155 fileRef - 3784BC628509444CA07A46D3 + 02E647FC3A9E43228B2B0125 isa PBXBuildFile settings @@ -1852,7 +2046,7 @@ -fobjc-arc - A60409C24D0A4A8AB1C0056C + AA3535A8ADC941ACAC3DBA72 includeInIndex 1 @@ -1861,29 +2055,53 @@ lastKnownFileType sourcecode.c.h name - UIButton+AFNetworking.h + BDBOAuth1SessionManager.h path - UIKit+AFNetworking/UIButton+AFNetworking.h + BDBOAuth1Manager/BDBOAuth1SessionManager.h sourceTree <group> - A7541F134A464E94953865F5 + AC598D62E6654B47A290D8BC - explicitFileType - archive.ar - includeInIndex + buildActionMask + 2147483647 + files + + F790F955D675407FAC6FD033 + 197A6ADEBD22427BABA146CA + AC9B8AE8C38C4C058F0E8612 + 1AE7E5ED14024AC4AE09E972 + F570107CB4D740E584A822B3 + 80CAC1D969E748AFBB175DE1 + BE5F7238482F42D98BB599DD + 7B13AAD2ECBC49B98E4B8DC5 + 9E066E08150A4565BCD54744 + E4DB12A6A06C43149BA1E406 + A240EFBE0DF448A6AAF2D4F0 + BDB0092164DE41FF9227FCA0 + 0D1380060D144E20BC6AD9D0 + B5664712F34C4F06BA6270CA + 1AC0EA65E97449CD874A2C64 + A911A3F8F4E5480293DD27ED + 344C53D888B4446086729DC2 + 63B6387446D548A79D834FF8 + + isa + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing 0 + + AC6566D7464D4CF6984BBF0C + + fileRef + E12A0F31DBE240BE8908FF55 isa - PBXFileReference - path - libPods-BDBOAuth1Manager.a - sourceTree - BUILT_PRODUCTS_DIR + PBXBuildFile - A79E0D731B974EBBB5F0134D + AC9B8AE8C38C4C058F0E8612 fileRef - 02E89E8A8078408F8CBD15D6 + 4AFF2659DA06469886AD6CEC isa PBXBuildFile settings @@ -1892,77 +2110,54 @@ -fobjc-arc - A96298DA5B704A4F8E7D488B - - children - - 5F435886E3944584BCF82428 - - isa - PBXGroup - name - Targets Support Files - sourceTree - <group> - - ABE9638973C04214A4C8995E + AE1A1CDB681643D7A1819A29 fileRef - CDB1B59A7A264CB0A10A7A56 + 571AD3E8C9274F1B9DF58DC1 isa PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - - AD9B8347F8A345ACB81AF36A + AF0D30AE04C24147B1B65113 includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.h + name + UIRefreshControl+AFNetworking.h path - Pods.xcconfig + UIKit+AFNetworking/UIRefreshControl+AFNetworking.h sourceTree <group> - AECE7BD8C1B444F0B719B42A + AF658A38ABF44EF2A2CF5DF3 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - BDBOAuth1RequestOperationManager.m + BDBOAuth1RequestSerializer.h path - BDBOAuth1Manager/BDBOAuth1RequestOperationManager.m + BDBOAuth1Manager/BDBOAuth1RequestSerializer.h sourceTree <group> - AF3FBA1C658F4441B0AFDBF0 - - fileRef - 940C0C766C594AE1851C1D21 - isa - PBXBuildFile - - B6B7E8EFF36B409D82751648 + B27DDC9516114B06AE899BFE fileRef - 61E2433D637F47BBAABBB55C + 0A14F7AACF8042639B286E8E isa PBXBuildFile - B6FABB9473164729989393F7 + B5664712F34C4F06BA6270CA fileRef - 284B97FE6A8E40D59B7D06FF + E4F5A58B0C4649D2819213DB isa PBXBuildFile settings @@ -1971,265 +2166,260 @@ -fobjc-arc - B88A8B2C836342FF9287BD86 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - AFNetworkActivityIndicatorManager.h - path - UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h - sourceTree - <group> - - B8AF5544514A49E4A9F3B31D + B591793C7A564C579087F19C - includeInIndex - 1 isa PBXFileReference lastKnownFileType - text + wrapper.framework name - Podfile + CoreGraphics.framework path - ../Podfile + Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/CoreGraphics.framework sourceTree - SOURCE_ROOT - xcLanguageSpecificationIdentifier - xcode.lang.ruby + DEVELOPER_DIR - B977314728ED4B3B91D1BFCF + B701281E9C6E4D0E9FAC061F + containerPortal + 146E7C35A32F4F49B0F39515 isa - PBXTargetDependency - target - BA3292AA93EC4C249841C31D - targetProxy - 1E342FA6877E49BE85317401 + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 11CB117A403F4F479DBCBAA7 + remoteInfo + Pods-AFNetworking - BA3292AA93EC4C249841C31D + BB3580C1C0594295B9C577A4 - buildConfigurationList - 813FA198904D4718B801A7F9 - buildPhases + children - 2085B639350248C0950BBE3A - 39B7902F884247ACBB3ACD97 - 9883D41A97974C7EB66CCF30 + 921AC776E1BE42308647249F + 61CECD358B5042A38491F8F6 + FD8AA9D45772453B8A13A694 + 8574814E1C6943889759DD42 - buildRules - - dependencies - isa - PBXNativeTarget + PBXGroup name - Pods-AFNetworking - productName - Pods-AFNetworking - productReference - 76DD6410EF4B4872A699BD18 - productType - com.apple.product-type.library.static + Products + sourceTree + <group> - BAD1023AFF4A498DA2B29F9E + BC923D4490A345FFB4206E4C includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.h path - Pods-BDBOAuth1Manager.xcconfig + Pods-BDBOAuth1Manager-prefix.pch sourceTree <group> - BB5B49514B374B5F8C542841 + BDB0092164DE41FF9227FCA0 + + fileRef + 0183A2D8CC7041C3BEDCFB72 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + + + BE35EDA8E639468F82651E0B buildActionMask 2147483647 files - 1B2FB7F0D08C491BA75129CD + F9FB187730014C51B52E4F43 + 7B9AEC248F284933BB8CC313 + 3A02857ABFA3439F9558B1BD + F2461F7874304A12B2EF5346 + F2C4BA2AD428481997B299D2 + DCE523B4F5854B93B3F3F072 isa - PBXFrameworksBuildPhase + PBXSourcesBuildPhase runOnlyForDeploymentPostprocessing 0 - BBDCFCE013B24382BF49B37E + BE5F7238482F42D98BB599DD - baseConfigurationReference - AD9B8347F8A345ACB81AF36A - buildSettings + fileRef + A341A4956D104DE3A5BAB2AE + isa + PBXBuildFile + settings - ALWAYS_SEARCH_USER_PATHS - NO - COPY_PHASE_STRIP - NO - DSTROOT - /tmp/xcodeproj.dst - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN - NO - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - INSTALL_PATH - $(BUILT_PRODUCTS_DIR) - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - OTHER_LDFLAGS - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES + COMPILER_FLAGS + -fobjc-arc - isa - XCBuildConfiguration - name - Debug - C327DD13513E473FAABB70B0 + BF53014DB91D467F8AABD547 fileRef - 26267C75A8DD441EBB26B2D7 + 204DAFD77F2342F99D18EA91 isa PBXBuildFile - C3B925F8A71846BBB1748F08 + C08EE51D606345159678286B fileRef - A2C707F6A33D470BAB4C432F + 0A1509328EFB4803BC152FAC isa PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - - C56D7ADFBB7E499DB1FE674C + C8A194173886475EBACAF5FF + + children + + 7D5C237B516E46C08F1D666C + F137E70283894741A021114C + 161DD679FCB44448A0F042E6 + 2665C82E9FBB4883AF0D2697 + 7A1786C30281420E922EE81E + A341A4956D104DE3A5BAB2AE + + isa + PBXGroup + name + NSURLConnection + sourceTree + <group> + + CA019CC9F1854A2081EDD491 fileRef - DB7654ECECF141CFB4A35537 + E934B4A8FC9F46BBBD4802C1 + isa + PBXBuildFile + + CD58FC1942BF43E69EB7E05B + + fileRef + 046421797B064004912F1661 isa PBXBuildFile - settings - - COMPILER_FLAGS - -fobjc-arc - - C80B52E86B0C489DB7EA5D09 + CE43CF11FCD64094B7D84208 + buildConfigurationList + 8B77853DF89547AEA15259C7 + buildPhases + + F0B48E13BB5D463386B6919A + EBF1DA03499C478B9C9F4B88 + + buildRules + + dependencies + + 8A171BFF4D4942E3858E4FC1 + 9DB71ABD93684325B0F05796 + 6ED0245E797A44D7AAF3609D + isa - PBXTargetDependency - target - 96C63594E4EF45049741F64F - targetProxy - 760D20BD3A6940619AFB4F2E + PBXNativeTarget + name + Pods + productName + Pods + productReference + 921AC776E1BE42308647249F + productType + com.apple.product-type.library.static - CDB1B59A7A264CB0A10A7A56 + D1A1F98388F24AAE97FC0EEE includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc - name - BDBOAuth1SessionManager.m + text.script.sh path - BDBOAuth1Manager/BDBOAuth1SessionManager.m + Pods-resources.sh sourceTree <group> - CE3AFAC471A549E5A893CFA9 + D415C529CF58476F8393C01E - buildActionMask - 2147483647 - files - - 9E1DE05AC62E4B449FBFE042 - 4F8D2EAFD63B490FA7C4F6AB - 37281E23E7D64E3AAC1B9326 - + fileRef + F7F3C581EA0B4BEFB4D39641 isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 + PBXBuildFile - CF9A92992B57447B91657B89 + D51FE36ADD6941AF835AD38D includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.objc + name + AFNetworkReachabilityManager.m path - Pods-AFNetworking.xcconfig + AFNetworking/AFNetworkReachabilityManager.m sourceTree <group> - D0504289ACBB4498B6E7BD2A + D6D9976CB335416FB0DDCE2E + + buildConfigurations + + 006A1937C55A44DDB483A4AF + 408F64B4E3C445F9981242D6 + + defaultConfigurationIsVisible + 0 + defaultConfigurationName + Release + isa + XCConfigurationList + + D988CBA6031F4B2881115F0E baseConfigurationReference - 66E8D3E19AB842768391E209 + 091FBEF11B2144DD8ECECD41 buildSettings ALWAYS_SEARCH_USER_PATHS NO COPY_PHASE_STRIP - NO + YES DSTROOT /tmp/xcodeproj.dst GCC_C_LANGUAGE_STANDARD gnu99 - GCC_DYNAMIC_NO_PIC - NO - GCC_OPTIMIZATION_LEVEL - 0 GCC_PRECOMPILE_PREFIX_HEADER YES GCC_PREFIX_HEADER - Pods-AFNetworking-prefix.pch - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - GCC_SYMBOLS_PRIVATE_EXTERN - NO + Pods-BDBOAuth1Manager-prefix.pch GCC_VERSION com.apple.compilers.llvm.clang.1_0 INSTALL_PATH $(BUILT_PRODUCTS_DIR) IPHONEOS_DEPLOYMENT_TARGET 7.0 + OTHER_CFLAGS + + -DNS_BLOCK_ASSERTIONS=1 + $(inherited) + + OTHER_CPLUSPLUSFLAGS + + -DNS_BLOCK_ASSERTIONS=1 + $(inherited) + OTHER_LDFLAGS PRODUCT_NAME @@ -2240,53 +2430,178 @@ iphoneos SKIP_INSTALL YES + VALIDATE_PRODUCT + YES isa XCBuildConfiguration name - Debug + Release - D204DAE978A0477FBBFF515B + DAADDFBF54834F25A025A44D + includeInIndex + 1 isa PBXFileReference lastKnownFileType - wrapper.framework + sourcecode.c.h name - Security.framework + AFNetworkActivityIndicatorManager.h path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Security.framework + UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h sourceTree - DEVELOPER_DIR + <group> - D40C302169384BF68FCEB750 + DCE523B4F5854B93B3F3F072 - children + fileRef + 4ADC48178ACC4CC880BF2FA6 + isa + PBXBuildFile + + DD14DD77906344EFBAB9B041 + + buildActionMask + 2147483647 + files - 2F764968162C4DCFBDBEE6EE - 5FCAED4760BB4BC38E9EF0A6 + AC6566D7464D4CF6984BBF0C + DF77616A52F6410197CEAC40 + 23A762350C3A4EF58B3E00C6 + CD58FC1942BF43E69EB7E05B + 77BB3D9A094C44E5B63719F4 isa - PBXGroup + PBXHeadersBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + DDCDE52A4FD8464AAF274790 + + buildActionMask + 2147483647 + files + + 73F15203C21F4F98888EB3BD + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + DF1500055BCF4D758E54B0DE + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + text.xcconfig + path + Pods-AFNetworking.xcconfig + sourceTree + <group> + + DF59EDBB77F44A199996AF6F + + containerPortal + 146E7C35A32F4F49B0F39515 + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 39BF7C2B4153449AAE80DD3D + remoteInfo + Pods-AFNetworkActivityLogger + + DF77616A52F6410197CEAC40 + + fileRef + AF658A38ABF44EF2A2CF5DF3 + isa + PBXBuildFile + + E0708DFD61774AAD8C683C5C + + containerPortal + 146E7C35A32F4F49B0F39515 + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 11CB117A403F4F479DBCBAA7 + remoteInfo + Pods-AFNetworking + + E12A0F31DBE240BE8908FF55 + + includeInIndex + 1 + isa + PBXFileReference + lastKnownFileType + sourcecode.c.h name - Reachability + BDBOAuth1RequestOperationManager.h + path + BDBOAuth1Manager/BDBOAuth1RequestOperationManager.h sourceTree <group> - D463AF1DC77146C2B91D9A31 + E15436133FB44C5C9F4ED745 includeInIndex 1 isa PBXFileReference lastKnownFileType - text.xcconfig + sourcecode.c.objc + name + BDBOAuth1RequestOperationManager.m path - Pods-BDBOAuth1Manager-Private.xcconfig + BDBOAuth1Manager/BDBOAuth1RequestOperationManager.m sourceTree <group> - D58D00B5A527408FAEC0AA35 + E25AED8A585241E3A04E6F9E + + isa + PBXTargetDependency + target + 11CB117A403F4F479DBCBAA7 + targetProxy + B701281E9C6E4D0E9FAC061F + + E2D42F8F24834BAA87763E41 + + fileRef + 810A20F7A38B497997B35E43 + isa + PBXBuildFile + + E4CAC830E7214004843D8F9F + + fileRef + 1F1F720869E44DE59B43273C + isa + PBXBuildFile + + E4DB12A6A06C43149BA1E406 + + fileRef + 418055F34AB648FD8F82F2A2 + isa + PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + + + E4F5A58B0C4649D2819213DB includeInIndex 1 @@ -2294,12 +2609,37 @@ PBXFileReference lastKnownFileType sourcecode.c.objc + name + UIButton+AFNetworking.m path - Pods-AFNetworking-dummy.m + UIKit+AFNetworking/UIButton+AFNetworking.m + sourceTree + <group> + + E703DB2D3CCF44A5B43CB727 + + children + + 0A14F7AACF8042639B286E8E + 3F55296ACA03482A95A03E89 + F07C8EDC32374F21852481E4 + 2D15794FA9DA4DCBAEB35113 + + isa + PBXGroup + name + Serialization sourceTree <group> - D7903E4B57EB4F3C82DA7268 + E820B3036BEA415F88513EA4 + + fileRef + 9B5192BC796D4AC686753490 + isa + PBXBuildFile + + E934B4A8FC9F46BBBD4802C1 includeInIndex 1 @@ -2308,28 +2648,65 @@ lastKnownFileType sourcecode.c.h name - AFURLSessionManager.h + UIActivityIndicatorView+AFNetworking.h path - AFNetworking/AFURLSessionManager.h + UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h sourceTree <group> - D7E0786CD2CF4813A9E00ACD + E97513838B9D4A7A927555EF includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - UIAlertView+AFNetworking.h + BDBOAuth1RequestSerializer.m path - UIKit+AFNetworking/UIAlertView+AFNetworking.h + BDBOAuth1Manager/BDBOAuth1RequestSerializer.m + sourceTree + <group> + + E9E2F85545FB4C008AA770A3 + + fileRef + 7D5C237B516E46C08F1D666C + isa + PBXBuildFile + + EA1A966951AB4DCC8192B189 + + children + + F7F3C581EA0B4BEFB4D39641 + 1DCFAAB20BE44F3F83EE7C0B + + isa + PBXGroup + name + Security sourceTree <group> - D97A0D5442794AFC823E1B36 + EBF1DA03499C478B9C9F4B88 + + buildActionMask + 2147483647 + files + + F738F774C7F14A2F9E16FCC4 + 60586F041BE84537B44A8905 + FA68C8B0A22D4EF7BB2989D7 + 7E6795ADF0D242A3B9F02636 + + isa + PBXFrameworksBuildPhase + runOnlyForDeploymentPostprocessing + 0 + + EDBE9DF94D3B42BF9FCC9325 includeInIndex 1 @@ -2338,20 +2715,20 @@ lastKnownFileType sourcecode.c.objc name - AFSecurityPolicy.m + NSString+BDBOAuth1Manager.m path - AFNetworking/AFSecurityPolicy.m + BDBOAuth1Manager/Categories/NSString+BDBOAuth1Manager.m sourceTree <group> - DA905A68A6B54DDD9F14146D + EE3EBDF7548B495DB93330E5 fileRef - 2F764968162C4DCFBDBEE6EE + B591793C7A564C579087F19C isa PBXBuildFile - DADBD1CB7DFC495EB0983E80 + F07C8EDC32374F21852481E4 includeInIndex 1 @@ -2360,53 +2737,44 @@ lastKnownFileType sourcecode.c.h name - UIProgressView+AFNetworking.h + AFURLResponseSerialization.h path - UIKit+AFNetworking/UIProgressView+AFNetworking.h + AFNetworking/AFURLResponseSerialization.h sourceTree <group> - DB7654ECECF141CFB4A35537 + F0B48E13BB5D463386B6919A - includeInIndex - 1 + buildActionMask + 2147483647 + files + + E4CAC830E7214004843D8F9F + isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - AFHTTPSessionManager.m - path - AFNetworking/AFHTTPSessionManager.m - sourceTree - <group> + PBXSourcesBuildPhase + runOnlyForDeploymentPostprocessing + 0 - DD5430B8C9E04CF4955BD62C + F137E70283894741A021114C includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.h + sourcecode.c.objc name - AFSecurityPolicy.h + AFHTTPRequestOperation.m path - AFNetworking/AFSecurityPolicy.h + AFNetworking/AFHTTPRequestOperation.m sourceTree <group> - DDC8F79E320242D78757D671 - - fileRef - 0D25440A9D0640C9B045CDB1 - isa - PBXBuildFile - - E17E2D6E23144E4BA819A316 + F2461F7874304A12B2EF5346 fileRef - 86BB9F2CA5954BCFBABB3FB8 + 106DFD498E68498FB41DD6A6 isa PBXBuildFile settings @@ -2415,20 +2783,7 @@ -fobjc-arc - E3BD331831244E6F9BA72A49 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - path - libPods.a - sourceTree - BUILT_PRODUCTS_DIR - - E56B154C3525404799C9C7C9 + F24A99D599C9467C91FE6B76 includeInIndex 1 @@ -2437,87 +2792,52 @@ lastKnownFileType sourcecode.c.h path - Pods-AFNetworking-prefix.pch - sourceTree - <group> - - E74827506991483DB6DCD747 - - children - - B8AF5544514A49E4A9F3B31D - 41A7FE04E1644B348D728DD1 - 512F3D0D2376406B96DF2E69 - 1CE4A0F0ECF44A5BAC3C6AEE - A96298DA5B704A4F8E7D488B - - isa - PBXGroup + AFNetworkActivityLogger.h sourceTree <group> - E754DC1DE3E044108A18104F + F2C4BA2AD428481997B299D2 fileRef - 6041EEA4FD8548989172B7A3 + EDBE9DF94D3B42BF9FCC9325 isa PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + - E9A931E6FA664B9583DF7094 + F3F5EDC5045641628F2E721E fileRef - 32EBEEE13B564A81B69C35F8 + 161DD679FCB44448A0F042E6 isa PBXBuildFile - EB9C06BC7CD047AFBA76E2AE - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - AFURLConnectionOperation.h - path - AFNetworking/AFURLConnectionOperation.h - sourceTree - <group> - - EC25FCB2B056405EABABBB46 + F570107CB4D740E584A822B3 fileRef - 11AD6073DD684803BC5513E9 + D51FE36ADD6941AF835AD38D isa PBXBuildFile + settings + + COMPILER_FLAGS + -fobjc-arc + - EC3C310268DC45C5B834C1F1 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - AFHTTPRequestOperation.h - path - AFNetworking/AFHTTPRequestOperation.h - sourceTree - <group> - - EE46C7E685E2425A8A7187F7 + F738F774C7F14A2F9E16FCC4 fileRef - 0028127B92A44A72B3F81B32 + 810A20F7A38B497997B35E43 isa PBXBuildFile - EFC275E3743040A986D979BC + F790F955D675407FAC6FD033 fileRef - F8C7E0D223F540FFACA5D61B + F137E70283894741A021114C isa PBXBuildFile settings @@ -2526,7 +2846,71 @@ -fobjc-arc - F30B59C06DAE4F2C8E0CE969 + F7A30CCFE75C47648D0E8129 + + containerPortal + 146E7C35A32F4F49B0F39515 + isa + PBXContainerItemProxy + proxyType + 1 + remoteGlobalIDString + 4FD873EF4C3D467B9C40B694 + remoteInfo + Pods-BDBOAuth1Manager + + F7B8747C78384F68B0CD4791 + + baseConfigurationReference + 091FBEF11B2144DD8ECECD41 + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + COPY_PHASE_STRIP + NO + DSTROOT + /tmp/xcodeproj.dst + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Pods-BDBOAuth1Manager-prefix.pch + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_VERSION + com.apple.compilers.llvm.clang.1_0 + INSTALL_PATH + $(BUILT_PRODUCTS_DIR) + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + OTHER_LDFLAGS + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + + isa + XCBuildConfiguration + name + Debug + + F7F3C581EA0B4BEFB4D39641 includeInIndex 1 @@ -2535,16 +2919,23 @@ lastKnownFileType sourcecode.c.h name - UIWebView+AFNetworking.h + AFSecurityPolicy.h path - UIKit+AFNetworking/UIWebView+AFNetworking.h + AFNetworking/AFSecurityPolicy.h sourceTree <group> - F33F3D30CDA4453CB00ED595 + F809CF0726344D20BA01080D + + fileRef + 817429B190894690B57B2A33 + isa + PBXBuildFile + + F9FB187730014C51B52E4F43 fileRef - F9B2B226227042FD99767222 + E15436133FB44C5C9F4ED745 isa PBXBuildFile settings @@ -2553,88 +2944,94 @@ -fobjc-arc - F4A84EDEE6B14F7A8D61846E + FA68C8B0A22D4EF7BB2989D7 fileRef - 241368771B3F42BB8EDB63C4 + FD8AA9D45772453B8A13A694 isa PBXBuildFile - F4E2B8DB00D4445890ADA4FB - - buildConfigurations - - BBDCFCE013B24382BF49B37E - 936599475E1C405F82F3F1D8 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - F6E2D6F05787459B8B8C730E + FB929B6DFD864DA7BE556FE0 - children - - 7DE14F2AA4884380A3254579 - DB7654ECECF141CFB4A35537 - D7903E4B57EB4F3C82DA7268 - 3832820606024CFD839129A5 - + baseConfigurationReference + 7192B6559EDE435EAFBAE936 + buildSettings + + ALWAYS_SEARCH_USER_PATHS + NO + COPY_PHASE_STRIP + NO + DSTROOT + /tmp/xcodeproj.dst + GCC_C_LANGUAGE_STANDARD + gnu99 + GCC_DYNAMIC_NO_PIC + NO + GCC_OPTIMIZATION_LEVEL + 0 + GCC_PRECOMPILE_PREFIX_HEADER + YES + GCC_PREFIX_HEADER + Pods-AFNetworkActivityLogger-prefix.pch + GCC_PREPROCESSOR_DEFINITIONS + + DEBUG=1 + $(inherited) + + GCC_SYMBOLS_PRIVATE_EXTERN + NO + GCC_VERSION + com.apple.compilers.llvm.clang.1_0 + INSTALL_PATH + $(BUILT_PRODUCTS_DIR) + IPHONEOS_DEPLOYMENT_TARGET + 7.0 + OTHER_LDFLAGS + + PRODUCT_NAME + $(TARGET_NAME) + PUBLIC_HEADERS_FOLDER_PATH + $(TARGET_NAME) + SDKROOT + iphoneos + SKIP_INSTALL + YES + isa - PBXGroup + XCBuildConfiguration name - NSURLSession - sourceTree - <group> + Debug - F8C7E0D223F540FFACA5D61B + FD8AA9D45772453B8A13A694 + explicitFileType + archive.ar includeInIndex - 1 + 0 isa PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - NSDictionary+BDBOAuth1Manager.m path - BDBOAuth1Manager/Categories/NSDictionary+BDBOAuth1Manager.m + libPods-AFNetworking.a sourceTree - <group> + BUILT_PRODUCTS_DIR - F9B2B226227042FD99767222 + FED645B65C3946D8BA9DB083 includeInIndex 1 isa PBXFileReference lastKnownFileType - sourcecode.c.objc + sourcecode.c.h name - BDBOAuth1RequestSerializer.m - path - BDBOAuth1Manager/BDBOAuth1RequestSerializer.m - sourceTree - <group> - - FB8BAA5BA74A4D3EAAC843C4 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.plist.xml + UIProgressView+AFNetworking.h path - Pods-acknowledgements.plist + UIKit+AFNetworking/UIProgressView+AFNetworking.h sourceTree <group> rootObject - 4E3E557B13204629994D3BB8 + 146E7C35A32F4F49B0F39515 diff --git a/README.md b/README.md index 100678d..277d1c8 100644 --- a/README.md +++ b/README.md @@ -1,83 +1,35 @@ -### Basic Yelp client +### Time Taken + +15-20 hours + +### UserStories Completed +------------------------- +Search results page +---------------------- +* Custom cells should have the proper Auto Layout constraints +* Search bar should be in the navigation bar (doesn't have to expand to show location like the real Yelp app does). + +Filter page +---------------------- +* The filters you should actually have are: category, sort (best match, distance, highest rated), radius (meters), deals (on/off). +* The filters table should be organized into sections as in the mock. +* You can use the default UISwitch for on/off states +* Radius filter should expand as in the real Yelp app +* Categories should show a subset of the full list with a "See All" row to expand. +* Clicking on the "Search" button should dismiss the filters page and trigger the search w/ the new filter settings. + +### Walkthrough +--------------------- +![Vertical Walkthrough](yelp.gif) +![Horizontal Walkthrough](yelp_horizontal.gif) + + + + -This is a headless example of how to implement an OAuth 1.0a Yelp API client. The Yelp API provides an application token that allows applications to make unauthenticated requests to their search API. -### Next steps -- Check out `MainViewController.m` to see how to use the `YelpClient`. -- Augment the search method in the `YelpClient` with whatever search parameters you want to support. -### Sample request -``` -self.client = [[YelpClient alloc] initWithConsumerKey:kYelpConsumerKey consumerSecret:kYelpConsumerSecret accessToken:kYelpToken accessSecret:kYelpTokenSecret]; - -[self.client searchWithTerm:@"Thai" success:^(AFHTTPRequestOperation *operation, id response) { - NSLog(@"response: %@", response); -} failure:^(AFHTTPRequestOperation *operation, NSError *error) { - NSLog(@"error: %@", [error description]); -}]; -``` -### Sample response -``` -businesses = ( - { - categories = ( - ( - Thai, - thai - ) - ); - "display_phone" = "+1-415-931-6917"; - id = "lers-ros-thai-san-francisco"; - "image_url" = "http://s3-media2.ak.yelpcdn.com/bphoto/IStxUNVdfuPR2ddDAIPk_A/ms.jpg"; - "is_claimed" = 1; - "is_closed" = 0; - location = { - address = ( - "730 Larkin St" - ); - city = "San Francisco"; - "country_code" = US; - "cross_streets" = "Olive St & Ellis St"; - "display_address" = ( - "730 Larkin St", - "(b/t Olive St & Ellis St)", - Tenderloin, - "San Francisco, CA 94109" - ); - neighborhoods = ( - Tenderloin - ); - "postal_code" = 94109; - "state_code" = CA; - }; - "menu_date_updated" = 1387658025; - "menu_provider" = "single_platform"; - "mobile_url" = "http://m.yelp.com/biz/lers-ros-thai-san-francisco"; - name = "Lers Ros Thai"; - phone = 4159316917; - rating = 4; - "rating_img_url" = "http://s3-media4.ak.yelpcdn.com/assets/2/www/img/c2f3dd9799a5/ico/stars/v1/stars_4.png"; - "rating_img_url_large" = "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/ccf2b76faa2c/ico/stars/v1/stars_large_4.png"; - "rating_img_url_small" = "http://s3-media4.ak.yelpcdn.com/assets/2/www/img/f62a5be2f902/ico/stars/v1/stars_small_4.png"; - "review_count" = 1154; - "snippet_image_url" = "http://s3-media4.ak.yelpcdn.com/photo/D40HpcJt-O6Ll654S_--6w/ms.jpg"; - "snippet_text" = "Fantastic pad-see-ew. Super rich, flavorful sauce and plenty of ginormous prawns, especially for a $12 price tag in San Francisco. I went through a pretty..."; - url = "http://www.yelp.com/biz/lers-ros-thai-san-francisco"; - } - ); - region = { - center = { - latitude = "37.7703124"; - longitude = "-122.43647245575"; - }; - span = { - "latitude_delta" = "0.06424638000000016"; - "longitude_delta" = "0.07145348265001417"; - }; - }; - total = 760; -``` diff --git a/Yelp.xcodeproj/project.pbxproj b/Yelp.xcodeproj/project.pbxproj index 54f5e66..2a2a28a 100644 --- a/Yelp.xcodeproj/project.pbxproj +++ b/Yelp.xcodeproj/project.pbxproj @@ -23,6 +23,16 @@ 42FD6C6E18DC286B000BF2B9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 42FD6C6C18DC286B000BF2B9 /* InfoPlist.strings */; }; 42FD6C7018DC286B000BF2B9 /* YelpTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 42FD6C6F18DC286B000BF2B9 /* YelpTests.m */; }; 63E591F41F684901AF8C1C19 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9DEC6D18C14F46F8AF2EA320 /* libPods.a */; }; + FD74F54C1956060A0038E0E9 /* RestaurantTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FD74F54A1956060A0038E0E9 /* RestaurantTableViewCell.m */; }; + FD74F54D1956060A0038E0E9 /* RestaurantTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = FD74F54B1956060A0038E0E9 /* RestaurantTableViewCell.xib */; }; + FDD2B9E5195730DF0026B375 /* FilterViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FDD2B9E3195730DF0026B375 /* FilterViewController.m */; }; + FDD2B9E6195730DF0026B375 /* FilterViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = FDD2B9E4195730DF0026B375 /* FilterViewController.xib */; }; + FDD2B9EA19573D610026B375 /* DealTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FDD2B9E819573D610026B375 /* DealTableViewCell.m */; }; + FDD2B9EB19573D610026B375 /* DealTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = FDD2B9E919573D610026B375 /* DealTableViewCell.xib */; }; + FDD2B9EF195757990026B375 /* CategoryTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FDD2B9ED195757990026B375 /* CategoryTableViewCell.m */; }; + FDD2B9F0195757990026B375 /* CategoryTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = FDD2B9EE195757990026B375 /* CategoryTableViewCell.xib */; }; + FDD2B9F41957EB230026B375 /* SortTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FDD2B9F21957EB230026B375 /* SortTableViewCell.m */; }; + FDD2B9F51957EB230026B375 /* SortTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = FDD2B9F31957EB230026B375 /* SortTableViewCell.xib */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -59,6 +69,21 @@ 42FD6C6F18DC286B000BF2B9 /* YelpTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YelpTests.m; sourceTree = ""; }; 8436EC1AAEE1439D997D29F7 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = ""; }; 9DEC6D18C14F46F8AF2EA320 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; + FD74F5491956060A0038E0E9 /* RestaurantTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RestaurantTableViewCell.h; sourceTree = ""; }; + FD74F54A1956060A0038E0E9 /* RestaurantTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RestaurantTableViewCell.m; sourceTree = ""; }; + FD74F54B1956060A0038E0E9 /* RestaurantTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = RestaurantTableViewCell.xib; sourceTree = ""; }; + FDD2B9E2195730DF0026B375 /* FilterViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FilterViewController.h; sourceTree = ""; }; + FDD2B9E3195730DF0026B375 /* FilterViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FilterViewController.m; sourceTree = ""; }; + FDD2B9E4195730DF0026B375 /* FilterViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FilterViewController.xib; sourceTree = ""; }; + FDD2B9E719573D610026B375 /* DealTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DealTableViewCell.h; sourceTree = ""; }; + FDD2B9E819573D610026B375 /* DealTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DealTableViewCell.m; sourceTree = ""; }; + FDD2B9E919573D610026B375 /* DealTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = DealTableViewCell.xib; sourceTree = ""; }; + FDD2B9EC195757990026B375 /* CategoryTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CategoryTableViewCell.h; sourceTree = ""; }; + FDD2B9ED195757990026B375 /* CategoryTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CategoryTableViewCell.m; sourceTree = ""; }; + FDD2B9EE195757990026B375 /* CategoryTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = CategoryTableViewCell.xib; sourceTree = ""; }; + FDD2B9F11957EB230026B375 /* SortTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SortTableViewCell.h; sourceTree = ""; }; + FDD2B9F21957EB230026B375 /* SortTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SortTableViewCell.m; sourceTree = ""; }; + FDD2B9F31957EB230026B375 /* SortTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SortTableViewCell.xib; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -101,6 +126,21 @@ 420474F818DC2B2100E88E07 /* MainViewController.h */, 420474F918DC2B2100E88E07 /* MainViewController.m */, 420474FA18DC2B2100E88E07 /* MainViewController.xib */, + FD74F5491956060A0038E0E9 /* RestaurantTableViewCell.h */, + FD74F54A1956060A0038E0E9 /* RestaurantTableViewCell.m */, + FD74F54B1956060A0038E0E9 /* RestaurantTableViewCell.xib */, + FDD2B9E2195730DF0026B375 /* FilterViewController.h */, + FDD2B9E3195730DF0026B375 /* FilterViewController.m */, + FDD2B9E4195730DF0026B375 /* FilterViewController.xib */, + FDD2B9E719573D610026B375 /* DealTableViewCell.h */, + FDD2B9E819573D610026B375 /* DealTableViewCell.m */, + FDD2B9E919573D610026B375 /* DealTableViewCell.xib */, + FDD2B9EC195757990026B375 /* CategoryTableViewCell.h */, + FDD2B9ED195757990026B375 /* CategoryTableViewCell.m */, + FDD2B9EE195757990026B375 /* CategoryTableViewCell.xib */, + FDD2B9F11957EB230026B375 /* SortTableViewCell.h */, + FDD2B9F21957EB230026B375 /* SortTableViewCell.m */, + FDD2B9F31957EB230026B375 /* SortTableViewCell.xib */, ); name = "View Controllers"; sourceTree = ""; @@ -256,9 +296,14 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + FDD2B9E6195730DF0026B375 /* FilterViewController.xib in Resources */, + FDD2B9F51957EB230026B375 /* SortTableViewCell.xib in Resources */, + FDD2B9F0195757990026B375 /* CategoryTableViewCell.xib in Resources */, + FD74F54D1956060A0038E0E9 /* RestaurantTableViewCell.xib in Resources */, 42FD6C5518DC286B000BF2B9 /* InfoPlist.strings in Resources */, 420474FC18DC2B2100E88E07 /* MainViewController.xib in Resources */, 42FD6C5D18DC286B000BF2B9 /* Images.xcassets in Resources */, + FDD2B9EB19573D610026B375 /* DealTableViewCell.xib in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -311,9 +356,14 @@ buildActionMask = 2147483647; files = ( 42FD6C5B18DC286B000BF2B9 /* AppDelegate.m in Sources */, + FDD2B9EA19573D610026B375 /* DealTableViewCell.m in Sources */, 42FD6C5718DC286B000BF2B9 /* main.m in Sources */, + FDD2B9EF195757990026B375 /* CategoryTableViewCell.m in Sources */, 420474F618DC299500E88E07 /* YelpClient.m in Sources */, + FD74F54C1956060A0038E0E9 /* RestaurantTableViewCell.m in Sources */, + FDD2B9E5195730DF0026B375 /* FilterViewController.m in Sources */, 420474FB18DC2B2100E88E07 /* MainViewController.m in Sources */, + FDD2B9F41957EB230026B375 /* SortTableViewCell.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Yelp/AppDelegate.m b/Yelp/AppDelegate.m index c13ec3b..cc83a75 100644 --- a/Yelp/AppDelegate.m +++ b/Yelp/AppDelegate.m @@ -8,14 +8,18 @@ #import "AppDelegate.h" #import "MainViewController.h" +#import @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions + { + + [[AFNetworkActivityLogger sharedLogger] startLogging]; self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; - self.window.rootViewController = [[MainViewController alloc] init]; + self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[[MainViewController alloc]init]]; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; diff --git a/Yelp/CategoryTableViewCell.h b/Yelp/CategoryTableViewCell.h new file mode 100644 index 0000000..42b3528 --- /dev/null +++ b/Yelp/CategoryTableViewCell.h @@ -0,0 +1,14 @@ +// +// CategoryTableViewCell.h +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import + +@interface CategoryTableViewCell : UITableViewCell +@property (weak, nonatomic) IBOutlet UILabel *categorySectionLabel; + +@end diff --git a/Yelp/CategoryTableViewCell.m b/Yelp/CategoryTableViewCell.m new file mode 100644 index 0000000..2007d27 --- /dev/null +++ b/Yelp/CategoryTableViewCell.m @@ -0,0 +1,25 @@ +// +// CategoryTableViewCell.m +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import "CategoryTableViewCell.h" + +@implementation CategoryTableViewCell + +- (void)awakeFromNib +{ + // Initialization code +} + +- (void)setSelected:(BOOL)selected animated:(BOOL)animated +{ + [super setSelected:selected animated:animated]; + + // Configure the view for the selected state +} + +@end diff --git a/Yelp/CategoryTableViewCell.xib b/Yelp/CategoryTableViewCell.xib new file mode 100644 index 0000000..251331c --- /dev/null +++ b/Yelp/CategoryTableViewCell.xib @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Yelp/DealTableViewCell.h b/Yelp/DealTableViewCell.h new file mode 100644 index 0000000..f722edc --- /dev/null +++ b/Yelp/DealTableViewCell.h @@ -0,0 +1,15 @@ +// +// DealTableViewCell.h +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import + +@interface DealTableViewCell : UITableViewCell +@property (weak, nonatomic) IBOutlet UISwitch *dealSwitch; + +- (IBAction)dealSwitchChanged:(id)sender; +@end diff --git a/Yelp/DealTableViewCell.m b/Yelp/DealTableViewCell.m new file mode 100644 index 0000000..0719d34 --- /dev/null +++ b/Yelp/DealTableViewCell.m @@ -0,0 +1,41 @@ +// +// DealTableViewCell.m +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import "DealTableViewCell.h" + +@implementation DealTableViewCell + +- (void)awakeFromNib +{ + // Initialization code +} + +- (void)setSelected:(BOOL)selected animated:(BOOL)animated +{ + [super setSelected:selected animated:animated]; + + // Configure the view for the selected state +} + + +- (IBAction)dealSwitchChanged:(id)sender { + NSString *deals_filter; + if ([sender isOn]) { + deals_filter = @"true"; + NSLog(@"Deal switch %@", deals_filter); + } + else { + deals_filter = @"false"; + NSLog(@"Deal switch %@", deals_filter); + } + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + [defaults setObject:deals_filter forKey:@"deals_filter"]; + [defaults synchronize]; + +} +@end diff --git a/Yelp/DealTableViewCell.xib b/Yelp/DealTableViewCell.xib new file mode 100644 index 0000000..3155cca --- /dev/null +++ b/Yelp/DealTableViewCell.xib @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Yelp/FilterViewController.h b/Yelp/FilterViewController.h new file mode 100644 index 0000000..a8cd0d2 --- /dev/null +++ b/Yelp/FilterViewController.h @@ -0,0 +1,13 @@ +// +// FilterViewController.h +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import + +@interface FilterViewController : UIViewController + +@end diff --git a/Yelp/FilterViewController.m b/Yelp/FilterViewController.m new file mode 100644 index 0000000..b353600 --- /dev/null +++ b/Yelp/FilterViewController.m @@ -0,0 +1,424 @@ +// +// FilterViewController.m +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import "FilterViewController.h" +#import "MainViewController.h" +#import "DealTableViewCell.h" +#import "SortTableViewCell.h" + +@interface FilterViewController () + +@property (weak, nonatomic) IBOutlet UITableView *filterTableView; +@property (strong,nonatomic) NSMutableDictionary *toggleSection; +@property (strong,nonatomic) NSArray *sortbyArrayLabel; +@property (strong,nonatomic) NSDictionary *radiusDict; +@property (strong,nonatomic) NSArray *radiusArray; +@property (strong,nonatomic) NSArray *categoriesArray; + + +@end + +@implementation FilterViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + + self.title = @"Filters"; + + self.toggleSection = [[NSMutableDictionary alloc]initWithObjectsAndKeys:@"false",@"1",@"false",@"2",@"false",@"3",nil]; + + self.sortbyArrayLabel = [[NSArray alloc]initWithObjects:@"Best Match",@"Distance",@"Rating",nil]; + self.radiusDict = [[NSDictionary alloc]initWithObjectsAndKeys:@"805",@"0.5 miles",@"1609" ,@"1 miles",@"8046",@"5 miles",@"32187",@"20 miles",nil]; + self.radiusArray = [[NSArray alloc]initWithObjects:@"0.5 miles",@"1 miles",@"5 miles",@"20 miles", nil]; + + + self.categoriesArray = @[ + @{@"name": @"American (New)", @"value": @"newamerican"}, + @{@"name": @"American (Traditional)", @"value": @"tradamerican"}, + @{@"name": @"Argentine", @"value": @"argentine"}, + @{@"name": @"Asian Fusion", @"value": @"asianfusion"}, + @{@"name": @"Australian", @"value": @"australian"}, + @{@"name": @"Austrian", @"value": @"austrian"}, + @{@"name": @"Beer Garden", @"value": @"beergarden"}, + @{@"name": @"Belgian", @"value": @"belgian"}, + @{@"name": @"Brazilian", @"value": @"brazilian"}, + @{@"name": @"Breakfast & Brunch", @"value": @"breakfast_brunch"}, + @{@"name": @"Buffets", @"value": @"buffets"}, + @{@"name": @"Burgers", @"value": @"burgers"}, + @{@"name": @"Burmese", @"value": @"burmese"}, + @{@"name": @"Cafes", @"value": @"cafes"}, + @{@"name": @"Cajun/Creole", @"value": @"cajun"}, + @{@"name": @"Canadian", @"value": @"newcanadian"}, + @{@"name": @"Chinese", @"value": @"chinese"}, + @{@"name": @"Cantonese", @"value": @"cantonese"}, + @{@"name": @"Dim Sum", @"value": @"dimsum"}, + @{@"name": @"Cuban", @"value": @"cuban"}, + @{@"name": @"Diners", @"value": @"diners"}, + @{@"name": @"Dumplings", @"value": @"dumplings"}, + @{@"name": @"Ethiopian", @"value": @"ethiopian"}, + @{@"name": @"Fast Food", @"value": @"hotdogs"}, + @{@"name": @"French", @"value": @"french"}, + @{@"name": @"German", @"value": @"german"}, + @{@"name": @"Greek", @"value": @"greek"}, + @{@"name": @"Indian", @"value": @"indpak"}, + @{@"name": @"Indonesian", @"value": @"indonesian"}, + @{@"name": @"Irish", @"value": @"irish"}, + @{@"name": @"Italian", @"value": @"italian"}, + @{@"name": @"Japanese", @"value": @"japanese"}, + @{@"name": @"Jewish", @"value": @"jewish"}, + @{@"name": @"Korean", @"value": @"korean"}, + @{@"name": @"Venezuelan", @"value": @"venezuelan"}, + @{@"name": @"Malaysian", @"value": @"malaysian"}, + @{@"name": @"Pizza", @"value": @"pizza"}, + @{@"name": @"Russian", @"value": @"russian"}, + @{@"name": @"Salad", @"value": @"salad"}, + @{@"name": @"Scandinavian", @"value": @"scandinavian"}, + @{@"name": @"Seafood", @"value": @"seafood"}, + @{@"name": @"Turkish", @"value": @"turkish"}, + @{@"name": @"Vegan", @"value": @"vegan"}, + @{@"name": @"Vegetarian", @"value": @"vegetarian"}, + @{@"name": @"Vietnamese", @"value": @"vietnamese"} + ]; + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view from its nib. + + + //Search Button + + UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"Search", nil]]; + [segmentedControl addTarget:self action:@selector(onSearchButton) forControlEvents:UIControlEventValueChanged]; + segmentedControl.frame = CGRectMake(0, 0, 60, 25); + segmentedControl.momentary = YES; + UIBarButtonItem *segmentBarItem = [[UIBarButtonItem alloc]initWithCustomView:segmentedControl]; + + + + + + /* + self.navigationController.navigationBar.barTintColor = [UIColor redColor]; + self.navigationController.navigationBar.tintColor = [UIColor redColor]; + [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColor whiteColor]}]; + //self.navigationController.navigationBar.translucent = NO; + */ + self.navigationItem.rightBarButtonItem =segmentBarItem; + + + + self.filterTableView.delegate = self; + self.filterTableView.dataSource = self; + + + [self.filterTableView registerNib:[UINib nibWithNibName:@"DealTableViewCell" bundle:nil] forCellReuseIdentifier:@"DealTableViewCell"]; + [self.filterTableView registerNib:[UINib nibWithNibName:@"SortTableViewCell" bundle:nil] forCellReuseIdentifier:@"SortTableViewCell"]; + + + [self.filterTableView reloadData]; + +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + + +#pragma mark - table view source methods + +-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { + return 4; +} + + +-(BOOL)getToggleStateForSection:(int)section { + + NSString * val = [self.toggleSection objectForKey:[NSString stringWithFormat:@"%d",section]]; + + NSLog(@"Section %d Value :%@",section,val); + + if ([val isEqualToString:@"true"]){ + return TRUE; + } + else { + return FALSE; + } +} + +-(void)setToggleStateForSection:(int)section { + + NSString * val = [self.toggleSection objectForKey:[NSString stringWithFormat:@"%d",section]]; + + NSString * state ; + + if ([val isEqualToString:@"true"]){ + state = @"false"; + } + else { + state = @"true"; + } + + //NSLog(@"Prev State : %@ Setting %@ state for section %d for key %@", val,state,section,key); + + [self.toggleSection setObject:state forKey:[NSString stringWithFormat:@"%d",section]]; + + // NSLog(@"Prev State : %@ Setting %@ state for section %d for key %@", val,state,section,key); + + +} + +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{ + + switch (section) { + + case 0 : + return 1; + break; + case 1 : + if ([self getToggleStateForSection:1]) { + return 3; + }else { + return 1; + } + break; + case 2 : + if ([self getToggleStateForSection:2]) { + return 4; + }else { + return 1; + } + break; + case 3 : + + if ([self getToggleStateForSection:3]) { + return self.categoriesArray.count; + }else { + return 3; + } + break; + default: + return 2; + break; + + + } +} + +- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { + return 40; +} + +- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section { + return 20; +} + + + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + + switch (indexPath.section) { + case 0: { + DealTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"DealTableViewCell"]; + BOOL switch_on = FALSE; + + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + + NSString *deals_filter = [defaults objectForKey:@"deals_filter"]; + + if ([deals_filter isEqualToString:@"true"]){ + switch_on = TRUE; + } + + [cell.dealSwitch setOn:switch_on animated:YES]; + return cell; + } + break; + + case 1 : { + UITableViewCell *cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil]; + + if( ! [self getToggleStateForSection:1]){ + + cell.textLabel.text = self.sortbyArrayLabel[ [(NSNumber *)[self getFilterSettings:@"sort_opt"] intValue]] ;}else { + cell.textLabel.text = self.sortbyArrayLabel[indexPath.row]; + } + return cell; + + } + break; + case 2 : { + + + UITableViewCell *cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil]; + + if( ! [self getToggleStateForSection:2]){ + // cell.textLabel.text = self.radiusArray[ [[self getFilterSettings:@"radius_opt"] intValue]]; + cell.textLabel.text = self.radiusArray[ [ (NSNumber *)[self getFilterSettings:@"radius_opt"] intValue]]; + + + } else { + cell.textLabel.text = self.radiusArray[indexPath.row]; + } + return cell; + + + } + break; + + case 3: { + UITableViewCell *cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil]; + NSDictionary *catDict = self.categoriesArray[indexPath.row]; + //NSArray *keyArr = [catDict allKeys]; + NSMutableArray *category_selected = (NSMutableArray *)[self getFilterSettings:@"categories_selected"]; + + if (! [self getToggleStateForSection:3]) { + cell.textLabel.text = [catDict objectForKey:@"value"]; + if (indexPath.row == 2) { + cell.textLabel.text = @"See More"; + } + + } else { + cell.textLabel.text = [catDict objectForKey:@"value"]; + } + + if ( [category_selected containsObject: [NSNumber numberWithInt:indexPath.row ]] ) { + [cell setAccessoryType:UITableViewCellAccessoryCheckmark]; + } + + return cell; + + } + break; + + default: { + UITableViewCell *cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil]; + cell.textLabel.text = [NSString stringWithFormat:@"Section %d row %d", indexPath.section, indexPath.row]; + return cell; + } + break; + } + + + +} + + +- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section { + + switch (section) { + + case 0 : + return @"Deals"; + break; + case 1 : + return @"SortBy"; + break; + case 2 : + return @"Distance"; + break; + case 3 : + return @"Categories"; + break; + + default: + return @"hehe"; + break; + + + } +} + + +-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ + + //NSLog(@"Inside didSelectRow"); + + + if (indexPath.section == 1) { + NSString *sortValue = [NSString stringWithFormat:@"%d",indexPath.row]; + [self setFilterSettings:@"sort" value:sortValue]; + //[self setFilterSettings:@"sort_opt" value:[NSString stringWithFormat:@"%d",indexPath.row]]; + [self setFilterSettings:@"sort_opt" value:[NSNumber numberWithInt:indexPath.row]]; + } + if (indexPath.section == 2 ) { + + NSString *radius = [self.radiusDict objectForKey:self.radiusArray[indexPath.row]]; + [self setFilterSettings:@"radius_filter" value:radius]; + //[self setFilterSettings:@"radius_opt" value:[NSString stringWithFormat:@"%d",indexPath.row]]; + [self setFilterSettings:@"radius_opt" value:[NSNumber numberWithInt:indexPath.row]]; + } + + if (indexPath.section == 3 ) { + + NSMutableArray *selectedIndexes = [[NSMutableArray alloc]init]; + NSMutableArray *selectedCategories = [[NSMutableArray alloc]init]; + UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath:indexPath]; + if ([selectedCell accessoryType] == UITableViewCellAccessoryNone && indexPath.row != 2) { + NSLog(@"Checking"); + [selectedCell setAccessoryType:UITableViewCellAccessoryCheckmark]; + [selectedIndexes addObject:[NSNumber numberWithInt:indexPath.row]]; + [selectedCategories addObject:selectedCell.textLabel.text]; + } else { + [selectedCell setAccessoryType:UITableViewCellAccessoryNone]; + [selectedIndexes removeObject:[NSNumber numberWithInt:indexPath.row]]; + [selectedCategories removeObject:selectedCell.textLabel.text]; + } + [self setFilterSettings:@"categories_selected" value:selectedIndexes]; + + NSString *selection = [selectedCategories componentsJoinedByString:@","]; + NSLog(@"Category Selection %@",selection); + [self setFilterSettings:@"category_filter" value:selection]; + + } + + + [tableView deselectRowAtIndexPath:indexPath animated:TRUE]; + + [self setToggleStateForSection:indexPath.section]; + + [self.filterTableView reloadData]; + + + +} + +#pragma mark - events +-(void)onSearchButton { + + [self.navigationController popViewControllerAnimated:TRUE]; +} + +#pragma mark - save data + +-(void)setFilterSettings:(NSString *) key value:(NSObject *)val { + + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + [defaults setObject:val forKey:key]; + [defaults synchronize]; +} + +-(NSObject * )getFilterSettings:(NSString *) key { + + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + + NSString *val = [defaults objectForKey:key]; + + return val; + +} + +@end diff --git a/Yelp/FilterViewController.xib b/Yelp/FilterViewController.xib new file mode 100644 index 0000000..b4a1da7 --- /dev/null +++ b/Yelp/FilterViewController.xib @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Yelp/MainViewController.h b/Yelp/MainViewController.h index b072ae7..1927514 100644 --- a/Yelp/MainViewController.h +++ b/Yelp/MainViewController.h @@ -8,6 +8,6 @@ #import -@interface MainViewController : UIViewController +@interface MainViewController : UIViewController @end diff --git a/Yelp/MainViewController.m b/Yelp/MainViewController.m index 86c77a0..06d3a3b 100644 --- a/Yelp/MainViewController.m +++ b/Yelp/MainViewController.m @@ -8,6 +8,8 @@ #import "MainViewController.h" #import "YelpClient.h" +#import "RestaurantTableViewCell.h" +#import "FilterViewController.h" NSString * const kYelpConsumerKey = @"vxKwwcR_NMQ7WaEiQBK_CA"; NSString * const kYelpConsumerSecret = @"33QCvh5bIF5jIHR5klQr7RtBDhQ"; @@ -18,6 +20,12 @@ @interface MainViewController () @property (nonatomic, strong) YelpClient *client; +@property (nonatomic,strong) NSArray *restaurantarray; + +@property (weak, nonatomic) IBOutlet UITableView *restaurantTableView; + +@property (nonatomic,strong) UISearchBar *searchBar; + @end @implementation MainViewController @@ -26,22 +34,140 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; if (self) { - // You can register for Yelp API keys here: http://www.yelp.com/developers/manage_api_keys + //You can register for Yelp API keys here: http://www.yelp.com/developers/manage_api_keys self.client = [[YelpClient alloc] initWithConsumerKey:kYelpConsumerKey consumerSecret:kYelpConsumerSecret accessToken:kYelpToken accessSecret:kYelpTokenSecret]; - + /* [self.client searchWithTerm:@"Thai" success:^(AFHTTPRequestOperation *operation, id response) { NSLog(@"response: %@", response); + self.restaurantarray = response[@"businesses"]; + [self.restaurantTableView reloadData]; + } failure:^(AFHTTPRequestOperation *operation, NSError *error) { NSLog(@"error: %@", [error description]); - }]; + }];*/ } return self; } + +- (void)getData:(NSString *) term { + + NSLog(@"Term is %@",term); + + NSMutableDictionary *parameters = [[NSMutableDictionary alloc] initWithObjectsAndKeys:@"37.788022,-122.399797",@"ll",@"0",@"sort",nil]; + + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + + //deals filter + NSString *deals_filter = [defaults objectForKey:@"deals_filter"]; + + [parameters setObject:deals_filter forKey:@"deals_filter"]; + + //sort + + NSString *sort = [defaults objectForKey:@"sort"]; + + if (sort != nil) { + [parameters setObject:sort forKey:@"sort"]; + } + + //radius + + NSString *radius = [defaults objectForKey:@"radius_filter"]; + + if (radius != nil) { + + [parameters setObject:radius forKey:@"radius_filter"]; + } + + //category + NSString *category = [defaults objectForKey:@"category_filter"]; + + if (category != nil) { + + [parameters setObject:category forKey:@"category_filter"]; + } + + + + if(([term isEqualToString:@""] || term==nil) && category == nil) { + + term = @"Thai"; + + } + + + [parameters setObject:term forKey:@"term"]; + + + + [self.client searchWithTerm:term Parameters:parameters success:^(AFHTTPRequestOperation *operation, id response) { + //NSLog(@"response: %@", response); + self.restaurantarray = response[@"businesses"]; + [self.restaurantTableView reloadData]; + + } failure:^(AFHTTPRequestOperation *operation, NSError *error) { + NSLog(@"error: %@", [error description]); + }]; + +} + +- (void)viewWillDisappear:(BOOL)animated { + + [super viewWillDisappear:animated]; + + [self.searchBar resignFirstResponder]; + +} + + +-(void)viewDidAppear:(BOOL)animated{ + + [self getData:self.searchBar.text]; + +} + + - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view from its nib. + + self.restaurantTableView.delegate = self; + self.restaurantTableView.dataSource = self; + self.restaurantTableView.rowHeight = 140; + [self.restaurantTableView registerNib:[UINib nibWithNibName:@"RestaurantTableViewCell" bundle:nil] forCellReuseIdentifier:@"RestaurantTableViewCell"]; + + + UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"Filter", nil]]; + [segmentedControl addTarget:self action:@selector(onFilterButton) forControlEvents:UIControlEventValueChanged]; + segmentedControl.frame = CGRectMake(0, 0, 60, 25); + segmentedControl.momentary = YES; + + UIBarButtonItem *segmentBarItem = [[UIBarButtonItem alloc]initWithCustomView:segmentedControl]; + + //Search Bar + self.searchBar = [[UISearchBar alloc]initWithFrame:CGRectMake(80, 0, 100, 25)]; + //searchBar.showsCancelButton=YES; + self.searchBar.placeholder = @"Thai"; + self.searchBar.delegate = self; + //UISearchDisplayController *searchController = [[UISearchDisplayController alloc] initWithSearchBar:searchBar contentsController:self]; + //searchController.delegate= self; + //searchController.searchResultsDataSource = self; + //searchController.searchResultsDelegate = self; + //searchController.displaysSearchBarInNavigationBar = YES; + + //Navigation Bar + + self.navigationController.navigationBar.barTintColor = [UIColor redColor]; + self.navigationController.navigationBar.tintColor = [UIColor whiteColor]; + self.navigationItem.titleView = self.searchBar; + self.navigationController.navigationBar.translucent = NO; + self.navigationItem.leftBarButtonItem =segmentBarItem; + + + [self getData:@"Thai"]; + } - (void)didReceiveMemoryWarning @@ -50,4 +176,68 @@ - (void)didReceiveMemoryWarning // Dispose of any resources that can be recreated. } +#pragma mark - UISearDisplayController delegate methods +-(void)searchDisplayController:(UISearchDisplayController *)controller didShowSearchResultsTableView:(UITableView *)tableView { + + tableView.backgroundColor = [UIColor colorWithRed:0/255.0 green:0/255.0 blue:0/255.0 alpha:0]; + tableView.frame=CGRectZero;//This must be set to prevent the result tables being shown + +} + +#pragma mark - UITableView data source methods + + +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{ + + NSLog(@"Yes %d",self.restaurantarray.count); + return self.restaurantarray.count; +} + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + + RestaurantTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"RestaurantTableViewCell"]; + [cell setRestaurant:self.restaurantarray[indexPath.row] index:indexPath.row]; + return cell; +} + + +#pragma mark - Search methods + +-(BOOL)searchDisplayController:(UISearchDisplayController *)controller shouldReloadTableForSearchString:(NSString *)searchString { + + return NO; +} + + +-(void)searchBarSearchButtonClicked:(UISearchBar *)searchBar { + + [searchBar resignFirstResponder]; + NSLog(@"%@",searchBar.text); + [self getData:searchBar.text]; + [self.restaurantTableView reloadData]; + + +} + + + + +- (void)searchBar:(UISearchBar *)bar textDidChange:(NSString *)searchText { + if([searchText isEqualToString:@""] || searchText==nil) { + NSLog(@"user tapped the 'clear' button"); + // user tapped the 'clear' button + [bar resignFirstResponder]; + [self.view endEditing:YES]; + + } +} + +#pragma mark - Fiter + +- (void)onFilterButton { + [self.navigationController pushViewController:[[FilterViewController alloc] init] animated:YES]; +} + + + @end diff --git a/Yelp/MainViewController.xib b/Yelp/MainViewController.xib index 75b6e65..daf424e 100644 --- a/Yelp/MainViewController.xib +++ b/Yelp/MainViewController.xib @@ -1,11 +1,12 @@ - + + @@ -14,15 +15,19 @@ - + + + + + + + + + + + diff --git a/Yelp/RestaurantTableViewCell.h b/Yelp/RestaurantTableViewCell.h new file mode 100644 index 0000000..8165a31 --- /dev/null +++ b/Yelp/RestaurantTableViewCell.h @@ -0,0 +1,31 @@ +// +// RestaurantTableViewCell.h +// Yelp +// +// Created by Sharad Ganapathy on 6/21/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import + +@interface RestaurantTableViewCell : UITableViewCell + +@property (weak, nonatomic) IBOutlet UILabel *distanceLabel; + +@property (weak, nonatomic) IBOutlet UILabel *priceLabel; + +@property (weak, nonatomic) IBOutlet UILabel *serialLabel; + +@property (weak, nonatomic) IBOutlet UILabel *nameLabel; + +@property (weak, nonatomic) IBOutlet UILabel *addrLabel; + +@property (weak, nonatomic) IBOutlet UILabel *tagsLabel; + +@property (weak, nonatomic) IBOutlet UIImageView *restPosterView; + +@property (weak, nonatomic) IBOutlet UIImageView *ratingsPosterView; + +-(void)setRestaurant:(NSDictionary * ) restaurant index:(int)index; + +@end diff --git a/Yelp/RestaurantTableViewCell.m b/Yelp/RestaurantTableViewCell.m new file mode 100644 index 0000000..6e186ca --- /dev/null +++ b/Yelp/RestaurantTableViewCell.m @@ -0,0 +1,37 @@ +// +// RestaurantTableViewCell.m +// Yelp +// +// Created by Sharad Ganapathy on 6/21/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import "RestaurantTableViewCell.h" +#import + + +@implementation RestaurantTableViewCell + +- (void)awakeFromNib +{ + // Initialization code +} + +- (void)setSelected:(BOOL)selected animated:(BOOL)animated +{ + [super setSelected:selected animated:animated]; + + // Configure the view for the selected state +} + +-(void)setRestaurant:(NSDictionary * ) restaurant index:(int) index{ + + self.nameLabel.text = restaurant[@"name"]; + self.serialLabel.text = [NSString stringWithFormat:@"%d", index + 1]; + // self.addrLabel.text = restaurant[@"location"][@"address"][0]; + self.tagsLabel.text = [restaurant[@"categories"][0] componentsJoinedByString:@","]; + [self.restPosterView setImageWithURLRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:restaurant[@"image_url"]]] placeholderImage: NULL success:NULL failure:NULL]; + [self.ratingsPosterView setImageWithURLRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:restaurant[@"rating_img_url"]]] placeholderImage: NULL success:NULL failure:NULL]; + self.distanceLabel.text = [NSString stringWithFormat:@"%d m", [restaurant[@"distance" ] integerValue]]; +} +@end diff --git a/Yelp/RestaurantTableViewCell.xib b/Yelp/RestaurantTableViewCell.xib new file mode 100644 index 0000000..76aac72 --- /dev/null +++ b/Yelp/RestaurantTableViewCell.xib @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Yelp/SortTableViewCell.h b/Yelp/SortTableViewCell.h new file mode 100644 index 0000000..7fc3cdf --- /dev/null +++ b/Yelp/SortTableViewCell.h @@ -0,0 +1,14 @@ +// +// SortTableViewCell.h +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import + +@interface SortTableViewCell : UITableViewCell +@property (weak, nonatomic) IBOutlet UILabel *sortLabel; + +@end diff --git a/Yelp/SortTableViewCell.m b/Yelp/SortTableViewCell.m new file mode 100644 index 0000000..6c63cb9 --- /dev/null +++ b/Yelp/SortTableViewCell.m @@ -0,0 +1,25 @@ +// +// SortTableViewCell.m +// Yelp +// +// Created by Sharad Ganapathy on 6/22/14. +// Copyright (c) 2014 codepath. All rights reserved. +// + +#import "SortTableViewCell.h" + +@implementation SortTableViewCell + +- (void)awakeFromNib +{ + // Initialization code +} + +- (void)setSelected:(BOOL)selected animated:(BOOL)animated +{ + [super setSelected:selected animated:animated]; + + // Configure the view for the selected state +} + +@end diff --git a/Yelp/SortTableViewCell.xib b/Yelp/SortTableViewCell.xib new file mode 100644 index 0000000..d39488c --- /dev/null +++ b/Yelp/SortTableViewCell.xib @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Yelp/YelpClient.h b/Yelp/YelpClient.h index 145ada1..27a91fd 100644 --- a/Yelp/YelpClient.h +++ b/Yelp/YelpClient.h @@ -15,4 +15,6 @@ - (AFHTTPRequestOperation *)searchWithTerm:(NSString *)term success:(void (^)(AFHTTPRequestOperation *operation, id response))success failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; +- (AFHTTPRequestOperation *)searchWithTerm:(NSString *)term Parameters:(NSDictionary *)params success:(void (^)(AFHTTPRequestOperation *operation, id response))success failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; + @end diff --git a/Yelp/YelpClient.m b/Yelp/YelpClient.m index df77ec0..c042dc8 100644 --- a/Yelp/YelpClient.m +++ b/Yelp/YelpClient.m @@ -23,9 +23,17 @@ - (id)initWithConsumerKey:(NSString *)consumerKey consumerSecret:(NSString *)con - (AFHTTPRequestOperation *)searchWithTerm:(NSString *)term success:(void (^)(AFHTTPRequestOperation *operation, id response))success failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure { // For additional parameters, see http://www.yelp.com/developers/documentation/v2/search_api - NSDictionary *parameters = @{@"term": term, @"location" : @"San Francisco"}; + NSDictionary *parameters = @{@"term": term, @"ll" : @"37.788022,-122.399797"}; return [self GET:@"search" parameters:parameters success:success failure:failure]; } + +- (AFHTTPRequestOperation *)searchWithTerm:(NSString *)term Parameters:(NSDictionary *)params success:(void (^)(AFHTTPRequestOperation *operation, id response))success failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure { + + // For additional parameters, see http://www.yelp.com/developers/documentation/v2/search_api + + return [self GET:@"search" parameters:params success:success failure:failure]; +} + @end diff --git a/yelp.gif b/yelp.gif new file mode 100644 index 0000000..17bd72d Binary files /dev/null and b/yelp.gif differ diff --git a/yelp_horizontal.gif b/yelp_horizontal.gif new file mode 100644 index 0000000..efbc3c3 Binary files /dev/null and b/yelp_horizontal.gif differ