Problem I wrote the following in Swift to perform a sum: let total:Double = session.courses.reduce(0) { $0 + $1.totalPrice() } […]

Problem From this library I wrote, I have created this function in Swift, but I’m not happy with the implementation. […]

Problem Is it a bad idea to use the notfound callback like this? If so, why not? (bad scope/closure? I’m […]

Problem I have custom cell of tableview which is used as header as well as normal cell. In custom cell […]

Problem Is storing array values inside of a closure considered to be bad practice? I having been trying to decide […]

  • 1
  • 2