iOS 10.3删除线无法渲染的bug

技术渣苹果又搞事情,具体传送门见:http://stackoverflow.com/questions/43074652/ios-10-3-nsstrikethroughstyleattributename-is-not-rendered-if-applied-to-a-sub

解决方案,增加如下代码:
[[NSAttributedString alloc] initWithString:text attributes:@{NSStrikethroughStyleAttributeNa[......]

继续阅读

json web token的失效方案

jwt,对于多端登录,修改密码等的解决方案

 

传送门 http://stackoverflow.com/questions/28759590/best-practices-to-invalidate-jwt-while-changing-passwords-and-logout-in-node-js

Proposed solution Personally, this is how I'd approach it...user authenticates, issu[......]

继续阅读