반응형 프로그래밍/COCOA,Objective C4 아이폰의 보안과 keychain, 공인인증서 어플에 대한 세미나 자료 발표 후 벌써 몇 달이 지났네요. 키노트로 만들어본 첫번째 시트입니다. 키노트는 퀄리티는 이쁜데 UI편의성은 초보자는 좀 헤매게 만들어 놓은 것 같더군요. 파워포인트 같은 경우 허접한 시트를 만드는 데는 빠른데 키노트같은 퀄을 나오게 하려면 꽤 공을 들여야 할 것 같습니다. 영문서 읽느라고 죽을 뻔 했네요. 프로그래밍/COCOA,Objective C 2010. 6. 30. SecPKCS12Import 아이폰 시뮬레이터에서 PKCS#12로 이루어진 인증서 & 비공개키를 SecPKCS12Import를 이용하여 keychain에 넣으려 했지만 계속 -26275 오류가 떨어진다. 아이폰에서도 돌아가는 정상적인 p12파일이라서 계속 뻘짓을 하다가, 결국 시뮬레이터에서는 동작이 제대로 안 되는 것인가 의심을 가지고 시험을 해보았는데 역시 그 생각이 맞았다. 내가 테스트해보았던 oid는 pbeWithSHAAnd128BitRC2-CBC pbewithSHAAnd40BitRC2-CBC 두개지만 나머지도 아마 시뮬레이터에서는 정상적으로 동작하지 않는 듯하다. 물론, 실 기기에서는 잘 동작한다. 프로그래밍/COCOA,Objective C 2010. 3. 24. NSString to char* and back again 출처: http://bobobobo.wordpress.com/2009/11/01/nsstring-to-char-and-back-again/ Here’s how you do it. NSString to char*NSString* nsstr = @"My NSString" ; const char * cstr = [ nsstr cStringUsingEncoding:ASCIIEncoding ] ; // There's also const char * cstr2 = [ nsstr UTF8String ] ; These are covered in the docs page for NSString, basically. char * to NSString// Here you simply want to use one of the.. 프로그래밍/COCOA,Objective C 2010. 2. 24. iPhone 에서 OpenSSL library 사용하기 출처: http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/ Tutorial: iPhone App with compiled OpenSSL Library 01. Februar 2010 This is a tutorial for using self-compiled builds of the OpenSSL-library on the iPhone. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iP.. 프로그래밍/COCOA,Objective C 2010. 2. 17. 이전 1 다음