전체 글(380)
-
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 -
swift 입문 소스
// playground 에서 아래 소스를 실행해 보자.1.//: Playground - noun: a place where people can playimport UIKit class ExamClass { deinit { print("deinit") }} 2.import UIKit var exam: ExamClass? = ExamClass()exam = nil for i in 0...10 { i * i} 3.import UIKitimport XCPlayground let circleRect = CGRectMake(0,0,300,300)class CircleView: UIView { override func drawRect(rect: CGRect) { let context:CGContextRef = UI..
2015.11.26 -
시뮬레이션 할 때 키보드가 보이지 않는다?
제목 그대로, 시뮬레이션 할 때 키보드가 보여지지 않는 경우는 시뮬레이터 화면을 클릭하고 상단 메뉴에 Hardware 가 있다.Keyboard의 Toggle Software Keyboard 선택하면 된다. Hardware - Keyboard - Toggle Software Keyboard
2015.11.25 -
ie9에서 자바스크립트 작동
youtube 동영상 플레이어에서"youtube에서 동영상을 시청하거나 브라우저에서 자바스크립트가 사용 중지된 경우 ..." 라는 문구가 뜬다던가포털 주위가 휑하다고 생각된다면 자바스크립트가 실행되지 않아서다. 인터넷 옵션에 들어가서 보안탭-사용자지정수준으로 들어간다. "스크립틀릿 허용"이라는 곳을 찾아서 허용으로 체크해주고 브라우저를 재실행한다. - 스크롤바에 1/3 지점정도에 있는 듯 함. 캡쳐 사진은 추후에 올리겠다.
2015.11.23 -
libc++abi.dylib terminating with uncaught exception of type nsexception (lldb)
버튼 삭제 후 에러 발생.libc++abi.dylib terminating with uncaught exception of type nsexception (lldb) http://stackoverflow.com/questions/26442414/libcabi-dylib-terminating-with-uncaught-exception-of-type-nsexception-lldb
2015.11.23