warning: could not load any Objective-C class information. This will significantly reduce the quality of type information available.
thread #1: tid = 0x581a0, 0x24f96920 libsystem_kernel.dylibsemaphore_wait_trap + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x24f96920 libsystem_kernel.dylib
semaphore_wait_trap + 8
frame #1: 0x2504b3a4 libsystem_platform.dylib_os_semaphore_wait + 12 frame #2: 0x02e9a850 libdispatch.dylib
dispatch_once_f + 300
frame #3: 0x0027a298 Uberchord+[UCPersistentStack defaultPersistentStack] [inlined] _dispatch_once(predicate=0x007e16f4, block=0x00fda904) + 18 at once.h:68 frame #4: 0x0027a286 Uberchord
+[UCPersistentStack defaultPersistentStack](self=0x007c4330, _cmd="defaultPersistentStack") + 94 at UCPersistentStack.m:68
frame #5: 0x002c779c Uberchord-[UCUserProgress updateStreak](self=0x1670a6c0, _cmd="updateStreak") + 1076 at UCUserProgress.m:426 frame #6: 0x00146bc4 Uberchord
__42-[AppDelegate applicationDidBecomeAct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
// Inspired by https://gist.github.com/mbuchetics/c9bc6c22033014aa0c550d3b4324411a | |
struct JSONCodingKeys: CodingKey { | |
var stringValue: String | |
init?(stringValue: String) { | |
self.stringValue = stringValue | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension Client { | |
/** | |
Fetch a collection of Entries from Contentful matching the specified query. This method does not | |
specify the content_type in the query parameters, so the entries returned in the results can be | |
of any type. | |
- Parameter query: The Query object to match results againts. | |
- Parameter completion: A handler being called on completion of the request. | |