Programming/Swift(94)
-
해당 프로젝트에서 cocoapods 삭제 방법
http://stackoverflow.com/questions/16427421/how-to-remove-cocoapods-from-a-projectDelete the standalone files (Podfile Podfile.lock and your Pods directory)Delete the generated xcworkspaceOpen your xcodeproj file, delete the references to Pods.xcconfig and libPods.a (in the Frameworks group)Under your Build Phases delete the Copy Pods Resources, Embed Pods Frameworks andCheck Pods Manifest.lock ..
2016.03.18 -
SQLite 쿼리 실행
/*SQLite*///로컬에서 데이터 저장경로//let db = try Connection("/Users/goodgods/Documents/development/MyApp/db.sqlite3") // Get document directory path from your phone -> 모바일에서 경로찾아 저장함let path = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)[0] as Stringdo { let db = try Connection("\(path)/db.sqlite3") let users = Table("users") let id = Expression("id") try db.run(users.cr..
2016.03.16 -
application 이름 변경
Info.plist 아래와 같이 추가 해준다.
2016.03.16 -
iOS 동영상 강좌
독학을 하면서 굉장히 많은 도움을 준 사이트 들이다. 1.Case Insensitive Search with Swift, PHP and MySQL http://swiftdeveloperblog.com/case-insensitive-search-with-swift-php-and-mysql/ 2.User login and RegisterSign up on example using Swift http://swiftdeveloperblog.com/user-login-and-registration-swift-tutorial/ http://swiftdeveloperblog.com/store-user-information-in-mysql-database/ https://www.youtube.com/watch?v=xw..
2016.02.24 -
appstore에서 xcode가 다운로드 되지 않을때
apple Developer 사이트에서 개발자 로그인 후에 다운로드한다. apple developer
2016.01.08 -
살짝 다른 문법(?)
- ERROR 관련(?) 은 swift 2.0부터 syntax 가 바뀜 * oldvar err: NSError?var myJSON = NSJSONSerialization.JSONObjectWithData(data, options: .MutableLeaves, error:&err) as? NSDictionaryif let parseJSON =myJSON {// Now we can access value of First Name by its keyvar firstNameValue = parseJSON[“firstName”] as? Stringprintln(“firstNameValue: \(firstNameValue)”)} * new(swift 2.0)do { if let parseJSON = try NSJS..
2015.12.30