Alejandro Martínez
Alejandro Martínez
The current design of DefaultsAdapter relies on it being used via the global variable Defaults which is a var. But using that global variable is not ideal for testing so...
~~Branches from #19~~ To get familiar with the library I tried to replicate the "Tweet Current Song" shortcut: To acomplish this I had to: - Added an Xcode playground to...
This allows the configure closure to set an entire new item, including changing it’s section. I guess the big question is, is there a reason to force the section? The...
Hi! What do you think about using constants for the keys in the configuration dictionaries? It would be nice that each provider has the constants that it expects for the...
Imagine a command like this ```swift import ArgumentParser struct Absolute: ParsableCommand { @Argument() var number: Int func run() throws { print(abs(number)) } } Absolute.main() ``` you can run ``` command...
Hi! I'm upgrading a framework to Swift 3 and to Decodable 0.5. Before, we used to have a custom conformance to Decodable for Dates that was mapping a timestamp using...
I sometimes find the exercises focus too much on the problem (sometimes too much math) instead of giving clues about what's suposed to be learned around Swift. For example, I...
There are some exercises where the test look like this: ``` XCTAssertEqual(0, SumOfMultiples.toLimit(1, inMultiples: [3, 5])) ``` this confuse the students as `SumOfMultiples.toLimit` looks like a static function but can...
Hi! I’ve been replacing UIStackView with TZStackView and I’ve found that it handles animations (when arranged subviews are hidden) in a different way. You can check the example on [my...
Hi! I recently fund that when I'm developing in the iOS Simulator my mac use one core at 100% and, consequently, the fans work and full speed and the temperature...