iOS Unit Testing: Dependency Injection with Structs in Swift
One big issue with dependency injection in Swift is that it often requires subclassing to work. Here is how you can use Protocols instead...
Currently learning... Swift!
One big issue with dependency injection in Swift is that it often requires subclassing to work. Here is how you can use Protocols instead...
One of the most powerful Swift language features is the ability to write code in more functional style. There's been a lot of excitement over that in the community. So I wanted to put together some thoughts I have on functional programming in Swift after spending some time with it!
- <p>Hello</p>
- header {
- margin: 0;
- padding: 15px 0;
- border-bottom: 1px solid #eee;
- border-top: 1px solid #eee;
- }