Natasha The Robot

Currently learning... Swift!

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...

Thoughts on Functional Programming in Swift

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!

david lynch

Paste the code

  1. <p>Hello</p>
  2. header {
  3. margin: 0;
  4. padding: 15px 0;
  5. border-bottom: 1px solid #eee;
  6. border-top: 1px solid #eee;
  7. }