File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Learing swift
2
2
Try to make something everyday with swift.
3
3
4
- ## Day One
5
4
iPhone Project with swift:
6
5
7
6
* Removing Storyboard
@@ -10,21 +9,18 @@ iPhone Project with swift:
10
9
* Registering class with ` classForCoder() `
11
10
* Adding tableview delegate
12
11
13
- ## Day Two
14
12
Trying Request
15
13
16
14
* URL with string
17
15
* Playground cannot make request
18
16
* Block
19
17
20
- ## Day Three
21
18
Implementing [ PokemonKit] ( https://github.com/darkcl/PokemonKit ) a wrapper class of Pokeapi-v2 written in swift
22
19
23
20
* Writing closeure, block in swift ` public func fetchBerryList(completion: (result: NSArray) -> Void, failure: (error: NSError) -> Void) `
24
21
* Define dictionary ` [NSLocalizedDescriptionKey: "Berry List Error"] `
25
22
* Tools for mapping objects [ Link] ( https://github.com/cemolcay/DeserializableSwiftGenerator )
26
- *
27
- ## Day Four
23
+
28
24
Trying PromiseKit
29
25
30
26
* Write a promise
@@ -44,7 +40,6 @@ public func fetchBerryList() -> Promise<[PKMBaseObject]>{
44
40
};
45
41
}
46
42
```
47
- ## Day 5
48
43
49
44
* Writing test case with swift
50
45
* Testing asnc calls
@@ -66,8 +61,6 @@ self.waitForExpectationsWithTimeout(30) { (err) -> Void in
66
61
}
67
62
```
68
63
69
- ## Day 6
70
-
71
64
* Fixing missing closure for AnyPromise
72
65
73
66
``` swift
You can’t perform that action at this time.
0 commit comments