This PR contains all the work related to setting up this project as required to implement the [Assignment](https://repo.rock-n-code.com/rock-n-code/deep-linking-assignment/wiki/Assignment) on top, as intended. To summarise this work: - [x] created a new **Xcode** project; - [x] cloned the `Wikipedia` app and inserted it into the **Xcode** project; - [x] created the `Locations` app and also, its `Libraries` package; - [x] created the `Shared` package to share dependencies between the apps; - [x] added a `Makefile` file and implemented some **environment** and **help** commands. Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Reviewed-on: rock-n-code/deep-linking-assignment#1
28 lines
1003 B
Objective-C
28 lines
1003 B
Objective-C
//
|
|
// NSDictionary+MTLJSONKeyPath.h
|
|
// Mantle
|
|
//
|
|
// Created by Robert Böhnke on 19/03/14.
|
|
// Copyright (c) 2014 GitHub. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface NSDictionary (MTLJSONKeyPath)
|
|
|
|
/// Looks up the value of a key path in the receiver.
|
|
///
|
|
/// JSONKeyPath - The key path that should be resolved. Every element along this
|
|
/// key path needs to be an instance of NSDictionary for the
|
|
/// resolving to be successful.
|
|
/// success - If not NULL, this will be set to a boolean indicating whether
|
|
/// the key path was resolved successfully.
|
|
/// error - If not NULL, this may be set to an error that occurs during
|
|
/// resolving the value.
|
|
///
|
|
/// Returns the value for the key path which may be nil. Clients should inspect
|
|
/// the success parameter to decide how to proceed with the result.
|
|
- (id)mtl_valueForJSONKeyPath:(NSString *)JSONKeyPath success:(BOOL *)success error:(NSError **)error;
|
|
|
|
@end
|