FORMAT MY SOURCE CODE FOR BLOGGING http://formatmysourcecode.blogspot.tw/ 測試內容 幫 Blogger 文章鎖上密碼 方案1(重編輯後會不能用…) http://apps.kerthis.com/encrypt-post/ 方案2(推) http://freeingcockatiel.blogspot.tw/2014/02/google-blog.html http://xox520.blogspot.com/2011/04/hide-post-in-blogger.html 加密位置 http://www.vincentcheung.ca/jsencryption/ http://xox520.blogspot.com/p/encoder.html?m=1 Demo 測試用密碼:test 顯示加密內容 SyntaxHighlighter http://pydoing.blogspot.tw/2010/11/syntaxhighlighter-blogger.html http://blog.xuite.net/andy19890411/Orz/37326267 http://alexgorbatchev.com/SyntaxHighlighter/download/ https://github.com/syntaxhighlighter Demo func getCurrentDateTimeString()->String{ let date = NSDate() let calendar = NSCalendar.currentCalendar() let components = calendar.components([.Year, .Month, .Day, .Hour, .Minute, .Second, .Weekday, .WeekdayOrdinal] , fromDate: date) let year = components.year let month = String(format: "%02d", components.month)...