본문 바로가기

프로그램312

iOS 10의 변화점 레퍼런스 : 개발자 입장에서 본 iOS 10의 변화점 2016. 11. 30.
[ iOS 9.x -> iOS 10 ] dequeueReusableCellWithIdentifier, dequeueReusableCell UITableView 에서 dequeueReusableCellWithIdentifier 함수를 통해서 데이터를 다시 불러와 cell 화면을 구성합니다. iOS 10에서는 사용법이 다음과 같이 바뀌었습니다. [출처] ios UITableView Cell을 dequeueReusableCellWithIdentifier 통해서 조회할때 항상 nil ???|작성자 달망망이 iOS 9.x override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = self.tableView.dequeueReusableCellWithIdentifier("Attractio.. 2016. 11. 29.
[ iOS 9.x -> iOS 10 ] 세그웨어 (Segue) 화면 전환 시 데이터를 전달하기 위해서 사용하는 메소드가 iOS 10 에서는 prepare로 변경이 되었습니다. iOS 9.x override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { let destination = segue.destination as! Scene2ViewController destination.labelText = "Arrived from Scene 1" } iOS 10 override func prepare(for segue: UIStoryboardSegue, sender: Any?) { let destination = segue.destination as? Scene2ViewController des.. 2016. 11. 25.
Reference 전체화면(StatusBar, ActionBar 숨기기)ActionBar 정리Android Icon 쉽게 만들기 2016. 11. 4.
No resource identifier found for attribute 'srcCompat' in package Android Studio 에서 Project를 생성한 후에 실행 시에 activity_main.xml 파일에서 다음과 같은 오류가 발생했다. No resource identifier found for attribute 'srcCompat' in package 이런경우, activity_main.xml 파일 안에서 "res-auto" 을 페키지 명으로 바꾸어 주면 오류가 해결된다. 2016. 11. 4.
[iBatis] parameterMap, resultMap 지원하는 javaType, jdbcType [ibatis] parameterMap, resultMap 지원되는 jdbcType, javaType 정리 2016. 10. 21.
[eGovFrame] javax.servlet.jsp.JspException cannot be resolved to a type 전자정부 프레임워크에서 EL 태그를 적용하는 과정에서 다음과 같은 오류가 발생했다. javax.servlet.jsp.JspException cannot be resolved to a type 동작에는 이상이 없었으나 eclipse 상에서 오류로 표시되는 것이 신경쓰여서 방법을 찾아 봤다. 인터넷을 찾아보니 프로젝트 프로퍼티의 Project Facets 의 Runtime 탭에서 톰캣 서버 설정이 안되어 있어서 그렇다고 한다. 아래 그림처럼 톰캣을 설정해 주고 'Apply' 버튼을 누르니 오류가 모두 사라졌다. 2016. 10. 11.