SegmentFault
你所說(shuō)的不直接處理project.pbxproj與操作系統(tǒng)沒(méi)有關(guān)系,是否將pbxproj文件進(jìn)行版本管理完全由你決定,git add命令就是做這個(gè)事情。你檢查工程的根目錄下的.gitignore文件中是否包含了*.pbxproj,包含了這條git就不會(huì)把任何的pbxproj結(jié)尾的文件納入版本管理。
?
Alamofire.request(req)
.response {(request, res, data, error) in
let cachedURLResponse = NSCachedURLResponse(response: res!, data: (data as NSData), userInfo: nil, storagePolicy: .Allowed)
NSURLCache.sharedURLCache().storeCachedResponse(cachedURLResponse, forRequest: request)
}
??
IOS 調(diào)用WebService(同步和異步)
因?yàn)楣镜姆?wù)全都是webservice,每次總要花費(fèi)大量時(shí)間在調(diào)試服務(wù)上面,干脆就寫(xiě)了一個(gè)解析wsdl的項(xiàng)目,希望將來(lái)能用上吧。還未經(jīng)過(guò)烘焙,有問(wèn)題,還請(qǐng)高手點(diǎn)播點(diǎn)播。
下面,我拿天氣服務(wù)的wsdl作為例子吧。