原创 Swift Optionals & Implicitly Unwrapped Optionals
以下內容摘自: https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/TheBasics.h
原创 中文編碼雜談
http://www.searchtb.com/2012/04/chinese_encode.html 編碼問題的例子 在windows自帶的notepad(記事本)程序中輸入“聯通”兩個字,保存後再次打開,會發現“聯通”不見了,代
原创 python unicode support
關於字符編碼 有幾個好的文章 哈哈 programmer必備基礎知識~~http://www.joelonsoftware.com/articles
原创 漢明距
#include <stdio.h> unsigned hamdis(unsigned x, unsigned y) { //considered as binary values, that is, as sequences of
原创 win7 撥號651
重裝系統之後,撥號就是651,發現以太網口無法識別網線。更新下網卡驅動即可
原创 stretching image-based content
UIImageView 的contentStretch 這個屬性已經被廢棄了,可以通過UIImageView使用一個stretchable image來實現 通過UIImage的 resizableImageWithCapInsets:
原创 mac install MySQL-python
mac python-mysqldb EnvironmentError: mysql_config not found save: brew install mysql 先安裝mysql 最後:pip install MySQL-Py
原创 the-target-overrides-the-other-ldflags-build-setting-defined-in-pods-pods
http://stackoverflow.com/questions/18376416/the-target-overrides-the-other-ldflags-build-setting-defined-in-pods-pods 事
原创 調試已經部署了的App
https://developer.apple.com/library/ios/qa/qa1747/_index.html#//apple_ref/doc/uid/DTS40011341 不通過xcode 設置->隱私->診斷與用量 格式
原创 pip install --upgrade pip,error: command 'gcc' failed with exit status 1
yum install python-devel mysql-devel zlib-devel openssl-devel https://segmentfault.com/q/1010000000618370
原创 UICollection view or Tableview 使用
UICollection view的使用(TableView同理 首先使用自定義UICollectionViewCell的話 1、需要先創建繼承UICollectionViewCell的class 2、將界面中的collection
原创 Do not warn about base configuration if unnecessary
老是叫我升cocopods 升了之後 這個是沒配置好 之前的配置遺留在項目配置文件中 新的pod沒法進行新的設置 纔出現的問題 https://github.com/CocoaPods/CocoaPods/issues/2633
原创 iOS中各種圖片的要求 App Icons on iPad and iPhone
https://developer.apple.com/library/ios/qa/qa1686/_index.html
原创 TestFlight使用流程
TestFlight使用流程 註冊一個新的郵箱 exp:[email protected]使用該郵箱去註冊新的appleid,appleid名爲[email protected]打開developer.apple.com 選擇Me
原创 objectiveC【語法】修飾符 static extern const
http://blog.csdn.net/xpwang168/article/details/8087143 http://casatwy.com/iosying-yong-jia-gou-tan-wang-luo-ceng-she-ji