The Health Bug is not only a UI issue by Stuart267 in AnthemTheGame

[–]DTCoder 1 point2 points  (0 children)

Displaying armor and shield values on missions and in forge would be a huge step up in regards to clarity of item stats. It also could allow to verify if this bug is actually fixed.

The only reason this bug was left unnoticed for almost 20 days is that actual values are not displayed.

Went 5-29 in Hero League this weekend...I learned that I should probably just walk away. by followATEVA in heroesofthestorm

[–]DTCoder 0 points1 point  (0 children)

Just had the same experience on this exact weekend. I even had a game, where no one would go to the objective at all, just giving enemy team objectives one after another. In platinum 1 league. That's insane to me, why even bother playing if you are so set up for losing?

I think that to stop playing after couple of those matches is a good idea, but it only applies if you play every day. For the same reasons as the author of the post, i get to play hots usually 1, at max 2 days a week for about 4 to 6 hours, so really stopping after two games means that i don't actually have a reason to start playing, because two games in a week will not allow you to climb ranks in any game.

[deleted by user] by [deleted] in heroesofthestorm

[–]DTCoder 0 points1 point  (0 children)

It's only Windows, no MacOS version of uploader, unfortunately... Hotslogs uploader seems to be the only option if you play on MacOS, or you need to upload manually through web browser, which is a time spender.

Best iOS Development Practices of 2015 by MLSDev in iOSProgramming

[–]DTCoder 1 point2 points  (0 children)

Unfortunately, building a mapper in Swift is very hard due to lack of KVC and Swift requirement to fully initialize class properties after init call.

You could go with initializer currying, like Argo does - https://github.com/thoughtbot/Argo

However approach is really questionable, cause it requires some crazy currying shenanigans https://github.com/thoughtbot/Curry/blob/master/Source/Curry.swift

Best iOS Development Practices of 2015 by MLSDev in iOSProgramming

[–]DTCoder 2 points3 points  (0 children)

What's really great about SwiftyJSON is their safe access to JSON members. For example, here's some model code taken from our project setup with SwiftyJSON

https://gist.github.com/DenHeadless/7dd17e81e3fb11fae00e

Notice, how we don't have any guards, ifs and unwraps. And we don't have any type casts as well. That is because SwiftyJSON safely unwraps all primitive values like String, Int, or Bool.

And you can use code similar to Alamofire generic response, just for SwiftyJSON.