Skip to content

Commit b2b174c

Browse files
authored
Merge pull request #7 from reloni/develop
Setup project and unit tests (#6)
2 parents 3c0982f + 0e324af commit b2b174c

File tree

96 files changed

+1915
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1915
-107
lines changed

Cartfile.resolved

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
github "AliSoftware/OHHTTPStubs" "5.1.0"
12
github "ReactiveX/RxSwift" "2.6.0"
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
// Generated by Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29)
2+
#pragma clang diagnostic push
3+
4+
#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
5+
# include <swift/objc-prologue.h>
6+
#endif
7+
8+
#pragma clang diagnostic ignored "-Wauto-import"
9+
#include <objc/NSObject.h>
10+
#include <stdint.h>
11+
#include <stddef.h>
12+
#include <stdbool.h>
13+
14+
#if !defined(SWIFT_TYPEDEFS)
15+
# define SWIFT_TYPEDEFS 1
16+
# if defined(__has_include) && __has_include(<uchar.h>)
17+
# include <uchar.h>
18+
# elif !defined(__cplusplus) || __cplusplus < 201103L
19+
typedef uint_least16_t char16_t;
20+
typedef uint_least32_t char32_t;
21+
# endif
22+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
23+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
24+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
25+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
26+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
27+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
28+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
29+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
30+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
31+
#endif
32+
33+
#if !defined(SWIFT_PASTE)
34+
# define SWIFT_PASTE_HELPER(x, y) x##y
35+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
36+
#endif
37+
#if !defined(SWIFT_METATYPE)
38+
# define SWIFT_METATYPE(X) Class
39+
#endif
40+
41+
#if defined(__has_attribute) && __has_attribute(objc_runtime_name)
42+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
43+
#else
44+
# define SWIFT_RUNTIME_NAME(X)
45+
#endif
46+
#if defined(__has_attribute) && __has_attribute(swift_name)
47+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
48+
#else
49+
# define SWIFT_COMPILE_NAME(X)
50+
#endif
51+
#if !defined(SWIFT_CLASS_EXTRA)
52+
# define SWIFT_CLASS_EXTRA
53+
#endif
54+
#if !defined(SWIFT_PROTOCOL_EXTRA)
55+
# define SWIFT_PROTOCOL_EXTRA
56+
#endif
57+
#if !defined(SWIFT_ENUM_EXTRA)
58+
# define SWIFT_ENUM_EXTRA
59+
#endif
60+
#if !defined(SWIFT_CLASS)
61+
# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted)
62+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
63+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
64+
# else
65+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
66+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
67+
# endif
68+
#endif
69+
70+
#if !defined(SWIFT_PROTOCOL)
71+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
72+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
73+
#endif
74+
75+
#if !defined(SWIFT_EXTENSION)
76+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
77+
#endif
78+
79+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
80+
# if defined(__has_attribute) && __has_attribute(objc_designated_initializer)
81+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
82+
# else
83+
# define OBJC_DESIGNATED_INITIALIZER
84+
# endif
85+
#endif
86+
#if !defined(SWIFT_ENUM)
87+
# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type
88+
# if defined(__has_feature) && __has_feature(generalized_swift_name)
89+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_EXTRA _name : _type
90+
# else
91+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name)
92+
# endif
93+
#endif
94+
#if defined(__has_feature) && __has_feature(modules)
95+
@import Foundation;
96+
#endif
97+
98+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
99+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
100+
101+
@interface NSArray (SWIFT_EXTENSION(JASON))
102+
@end
103+
104+
#pragma clang diagnostic pop
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
//
2+
// JASON.h
3+
//
4+
// Copyright (c) 2015-2016 Damien (http://delba.io)
5+
//
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
//
24+
25+
@import Foundation;
26+
@import CoreGraphics.CGBase;
27+
28+
FOUNDATION_EXPORT double JASONVersionNumber;
29+
FOUNDATION_EXPORT const unsigned char JASONVersionString[];
720 Bytes
Binary file not shown.
1.33 MB
Binary file not shown.
25.7 KB
Binary file not shown.
41.8 KB
Binary file not shown.
25.7 KB
Binary file not shown.
41.8 KB
Binary file not shown.
25.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)