今天用一个小时快速阅读了这本iOS开发的入门书,这本书据说很受欢迎。
Simon NG 的《AppCoda Beginning iOS 8 Programming with Swift》
这个作者水平非常高,写的很不错,强力推荐。因为质量很高,所以定价好像也不便宜。
虽然是入门,但是还是有很多知识点值得再巩固学习、补漏、加强。
比如MapKit、CoreData、CloudKit这几个章节,可以好好看看,还是收获颇丰的。
像Map,data,cloud都是几个框架,主要学习它们API的调用,这些功能非常实用,但是也不难。
Map Kit
通过一个地址来查找位置
let
geoCoder =
CLGeocoder
()geoCoder.
geocodeAddressString
(
"524 Ct St, Brooklyn, NY 11231"
, completionHandler: { placemarks,error
in
// Process the placemark
})
如果要增加一个提示:
let
annotation = MKPointAnnotation() annotation.
title
=
"Times Square"
annotation.coordinate = placemark.location.coordinate
self