
전체 글
Sublime Text2-move to end of line using ctrl+e:
add this to key bindings { "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol", "extend": false} }
xcode 4.5 armv6 에러
은행권 혹은 공공기관쪽 관련 일하시는분들 많이 격는 에러일겁니다4.3 이상을 지원한다는 전제 하에 픽스를 합니다Project>targets>build settings>ArchitecturesStandard(armv7, armv7s) 를 armv7 으로 바꿔줍니다Valid Architecture 역시 armv7 으로 바꿔줍니다 기존에 armv6와 armv7을 지원하던 4버젼대에 비해지금은 armv7과 armv7s 을 지원하기때문에 생기는 에러입니다4.3이하의 버젼을 호환하실꺼면 앱을 두개 내야됩니다 또 다른 방법으로는 c언어딴의 라이브러리 참조한걸 다 최신버젼으로 바꿔주시면됩니다(보통 참조한 c언어딴의 라이브러리는 mdm같은 솔루션일겁니다이방법은 그쪽 회사에서 바꾸지 않는한 불가능합니다)
Cocos3d Installation and CC3DemoMashup in xcode4.5
Cocos3d Installation and CC3DemoMashupDownload Cocos2d 1.1-rc0 versionDownload Cocos3d 위링크로 우선 cocos2d 1.1-rc0 버젼과 cocos3d 를 받습니다 After installation try CC3DemoMashupif it fails being unable to find CC files which are files of coco2dgo to cocos2d foldercopy these folders to "cocos3dfolder/cocos2d/":-cocos2d-CocosDenshion/CocosDenshion-cocoslive-external/FontLabel-external/TouchJSON CC3DemoMashup..
맥(MAC) mysql 관리 툴
맥용 mysql db관리 프로그램입니다무료 프로그램중 괜찮은게 없나 찾다가 보니다들 이걸 쓰신다더군요한창 네비캣 찾아썼었는데 http://www.sequelpro.com/
mac osx lion java 6
mac osx lion remove 7 and install 6or vice versa라이언에서 자바 6 에서 7로 또는 그반대로 변경해야할때가있다http://support.apple.com/kb/HT5559?viewlocale=ko_KR&locale=ko_KR
[xcode] 회전 후 버튼이 반응을 안할때
after rotation uibutton doesn't respondif you used xib+coding sometimes buttons and touches don't respondopen xib file and turn off autoresize subviews in attibutes inspector of parent views xib 파일을 열어서 버튼의 상위 뷰들의 autoresize subviews를 체크 해제하세요
아이폰 개발시 필요한 이미지 사이즈
아이폰 필요한 이미지픽셀단위 아이콘iPhone:57x57레티나:114x114등록용:512x512등록용:1024x1024iPad:72x72레티나:144x144 아이폰 메인 이미지(처음 킬때화면 없어도됩니다)3gs : 320x4804gs : 640x9605 : 640x1136 아이폰 웹뷰 사이즈3gs : 320x4604gs : 640x9205 : 640x1096 아이패드 웹뷰사이즈, 메인이미지아이패드(세로)768x10041536x2008아이패드(가로)1024x7482048x1496
php POST/REQUEST testing through url
simply test mysql POST method by usinghttp://url/postdata.php?name=AAA&score=10000database with request name and score will respond connect your database through below(example from : http://www.freewebmasterhelp.com/tutorials/phpmysql) $user="username"; $password="password"; $database="database"; mysql_connect(localhost,$user,$password); @mysql_select_db($database) or die( "Unable to select data..
jQuery Mobile Buttons
reading "Teach Yourself jQuery Mobile In 24 Hours"these are some buttons you can use ButtonsLink-based buttonLink-based ElementButtonSquaredRoundedSquaredNo ShadowSquared no ShadowFull Width ButtonInline ButtonAlso an Inline ButtonLeftRightClick leftClick rightClick UpClick DownDeletePlusMinusCheckGearRefre..
cocos2d unable to load font
i've been wasting time on the internet to find out what's wrong withmy application with font being unable to load. problem was with the actual font name.designer sent me a file named ocraext.ttf but the actual font name"OCR A Extended" was the cause of the problem in info.plist you gotta add the file nameand in use of real code you gotta use the actual font name
SenchaSDKTools error after installation
When installed sencha touch SDK some of you will find these errorswhether mountain lion or snow leopard The current working directory (/Users/macbook) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.throw e; // process.nextTick error, or 'error' event 1.terminate Terminal2.Install sencha SDK to the default folder.3.unzip sencha-touch-2.0.1.1-commercial ..
cocos2d 2.0
many functions were deprecated in cocos2d 2.0most of the functions we use with sprite has sprite in there function nameto me there names were better in v.1.0 one of the function i find better to use wasopenglview -> viewi use table in my games to show scoresyou can use functions below + addSubView:(UIView)[[CCDirector sharedDirector] OpenGLView];[[CCDirector sharedDirector] view];
Javascript array 관련 메서드
concat(arr1,arr2) - 두개의 array를 연결join(arr1) - array를 연결해서 하나의 string 형태로 반환pop() - 뒤에서 하나 빼기push() - 뒤에 하나 더하기reverse() - 거꾸로shift() - 앞에꺼제거(저장됨)unshift() - 앞에서 가져오기slice(1, 3) - slice(start,end) 형태로 1번 앞에 제거, 3이상 제거 한 그사이 array 리턴sort() -정렬splice() - 제거하기toLocaleString()toString() 보통 array의 첫번째를 제거할때 slice를 쓰라고 나오는데개인적으로 shift를 추천한다
cocos2d 2.0 설치
기본에 cocos2d 1.0 버전을 사용하다산사자로 갈아타는 김에 코코스2D도 갈아타자는 생각에 업그레이드를 시작했다산사자의 문제인지 많은 사람들이 기존에 1.0을 쓰던 사람들은 잘 안된다는 말이 많았지만그냥 설치 하기로했다.역시나 문제가 생긴다.처음엔 몰랐으나 자세히 보니 마지막에 permission denied가 뜬다 해결 방안은 쉽다sudo chmod -R 777 /User/이름/Library/Developer/를 터미널에 치고 다시 인스톨하러가서./install-templates.sh -u -f를 하면된다 여기서 한번 실패 한상태로 다시깔고있다면sudo chmod를 할때 은근히 긴 시간이 소요됨으로 인내성이 요구된다