[Tip] Front page special character escaping tip

html format broken case

<input id=”sample” value=”${model.haveSpecialCharacterLikeQoutationOrNewLine}”>

simple solution

<input id=”sample” value=””>

<pre id=”mSample” style=”display:none”>${model.haveSpecialCharacterLikeQoutationOrNewLine}</pre>

dom.ready {
       $(“#simple”).value = $(“#mSample).html;
}

 

[ios] storyboard IBAction 동작 안할 때

가끔 storyboard를 가지고 작업 하다 보면….

IBAction이 호출 되지 않을 때 selector가 잘못 지정 되어있는지 확인 해볼 필요가 있다.
필자는 connections 해당하는 제스쳐에 해당하는 selector가 선언이 되어 있지 않아  호출 되지 않았다.

Main.storyboard를 코드로 열고  tapGestureRecognizer 에
connections, action tag를 작성 하여 이슈를 해결.

If you run into trouble which IBAction’s selector dose not called made from  storyboard, open *.storyboard file by code viewer and check IBAction’s connections tag has proper action context.

action tag’s ‘destination’ attribute  is viewController’s id, id is own (it must be unique)

스크린샷 2014-07-15 오후 3.55.25

[ios] quick learning

1. Basic

ProgrammingWithObjectiveC.pdf에 액세스하려면 클릭하세요.

-> this document handle basic of Objective C

http://www.amazon.com/iOS-7-App-Development-Essentials-ebook/dp/B00FPT5BKK

-> UI development (story board, layout)

2. Advance

CocoaEncyclopedia.pdf에 액세스하려면 클릭하세요.

http://guides.cocoapods.org/using/using-cocoapods.html

3. specific

https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/TakingPicturesAndMovies.html

https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Introduction/Introduction.html

https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/00_Introduction.html#//apple_ref/doc/uid/TP40010188

-> camera