原创 查找由於頁面寬度溢出導致網頁出現莫名空白的查看方法
Chrome 瀏覽器控制檯執行: [].forEach.call($$("*"),function(a){ a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toStri
原创 Swift 修改UITextField.Placeholder顏色
StoreNameEditTextField.attributedPlaceholder = NSAttributedString(string:"點此處輸入門店名稱",attributes:[NSForegroundColorAttrib
原创 JavaScript Post提交數據並跳轉到頁面(模擬Form表單提交)
function GotoWatchTicketCode() { var orderID='@ViewBag.OrderInfo.OrderID'; var phoneNum='@View
原创 一行命令解決 xcode升級新版本插件失效問題
sudo find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defa
原创 Swift 動畫片段
UIView.transitionWithView( self.WeatherDetailsView, duration: 0.7, options: .TransitionCrossDissolve, animat