Code Archive Skip to content Google About Google Privacy Terms
昨日の夜中からiPhone OS Libraryと格闘しておりまして、もちろんちゃんと睡眠はとっていますが、約5時間ほどでNSStringをUIViewに縦書きすることに成功しました! NDAのせいで詳しく書けないのがアレですが、要はUIViewを継承しdrawRectメソッドをオーバライドし、その中でグラフィックコンテキストに対し、NSStringに実装されているUIStringDrawingプロトコルのdrawAtPointメソッドを使うという方法です。 この方法自体は独創的な方法でも何でもなくて、たぶん普通な方法だと思うのですが、NDAのせいか、いかんせんネット上に情報が少なすぎるのでほかにどういう方法があるのかは今のところ分かりません。 縦書きのアルゴリズム自体はiPhone OS Libraryとは直接関係なく、単に文字のサイズを考慮しながら縦に1文字ずつ描画していってるだけです
I’ve always wondered why XCode doesn’t have a unit testing GUI like other IDEs, or why the SenTesting framework has to be such a pain to setup, with all its RunScript build phases, shell scripts, octest bundle insanity. After using the GTMTestCase for the iPhone (since SenTesting isn’t supported on the iPhone SDK) I decided to try to re-purpose some of the GTM Unit Testing code into a standalone t
The learning platform your tech teams need to stay ahead. More than 60% of all Fortune 100 companies trust O’Reilly to help their teams learn the technologies of today—and be ready for what’s next. We can help yours too. Sharing the knowledge of innovators for over 40 years From books to leading tech conferences to a groundbreaking online learning platform, we’ve focused on creating the best techn
Objective-C用のTwitterライブラリとしてMGTwitterEngineというのがあるのだが、これはiPhoneアプリでも使えるという事なのでちょっと試してみた。 [設定] 1. ソースコードのダウンロード ソースコードはsubversionで管理されているので、以下のようなコマンドを実行する事でダウンロードする事が出来る。 svn checkout http://svn.cocoasourcecode.com/MGTwitterEngine/ 2. iPhoneアプリのプロジェクトにソースコードをコピー ダウンロードしたソースコードに含まれるMGTwitterEngine.xcodeprojをダブルクリックしXCodeのプロジェクトを開く。次にXCodeプロジェクト内のClassesグループ内のMATwitterEngineグループのソースを自身のiPhoneアプリ用のXC
There's a similar question on here about this which I've read and I've tried to follow the advice given there... and I think I'm 95% complete but the remaining 5%... well you know ;-) So I'm trying to call the twitPic API to upload an image and I've got the image contained in a UIImageView which I'm displaying on the screen (I can see it so it's definitely there). My code to form the API call look
In the process of creating screenshots to accompany applications submitted to the App Store, you can include up to 5 images. Although the images can be anything you like, typically the images consist of screenshots of an application running in the iPhone simulator. When you are releasing an iPhone app – after months of preparation, coding and designing –you are ready to submit it for approval. App
最新版はこちらです。 http://d.hatena.ne.jp/uosoft/20091231/1262186194 毎月恒例の目次です。 今月はエントリーが10個増えてます。 アプリの作り方 iPhone/iPod touchのSafariやUIWebViewのJavaScriptで使えるタッチイベントのメモ Android SDK インストールからHello World実行まで HTMLとJavaScriptでiPhoneアプリを簡単に作る方法 センサー等ハードウェア関連 iPhoneSDKで端末IDを取得する方法 iPhoneのGPSとMapKitを使った地図を連動させる方法 iPhoneで緯度経度を取得する簡単な方法 iPhoneの加速度センサの使い方 iPhoneSDKでスリープさせない方法 ビュー操作関連 iPhoneSDKのiPhoneSDKのUITableViewの使い方
As I have promised three weeks ago (and again a few days ago) I finally got around to writing this little how-to. I’m sorry for the delay. I hope this helps someone, anyway. Mind you, this is my first attempt at writing a how-to, and most of it was done, while I was being tired. Also, English isn’t my native language, so please excuse any typos or other errors, you may find. If you have any sugge
Captcha security check koduco.com is for sale Please prove you're not a robot View Price Processing
何かと便利なUIWebView。 でも、AppStoreへのリンクを開くと、開けない。 実際はリダイレクトがループしててAppStoreのアプリを起動できない。 そこでひと手間掛けてやる。これで開ける。 以下、手順。 - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType { NSString *compURL = @"http://phobos.apple.com/WebObjects/"; if(NSOrderedSame == [[[request URL] absoluteString] compare:compURL opti
openFrameworksというC++向けのマルチメディアライブラリを移植した方が登場しました。 移植した方のサイトはこちら Developing for iPhone using openFrameworks and ofxiPhone | memo.tv http://www.memo.tv/ofxiphone 移植元の本家のサイトはこちら openFrameworks http://www.openframeworks.cc/ ちなみにopenFrameworksとはC++向けのマルチプラットフォーム向けのアート系(マルチメディア)ライブラリです。 こちらのサイトによると「Processing(またはproce55ing)の設計に影響を受けたC++フレームワーク」とのことです。 openFrameworksをちょっとさわってみた - gnarl、技術メモ http://d.hate
To expand upon Brent's answer, the following code will grab a screenshot and save it out to the Documents directory as a PNG called screenshot.png: UIWindow *screenWindow = [[UIApplication sharedApplication] keyWindow]; UIGraphicsBeginImageContext(screenWindow.frame.size); [screenWindow.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *screenshot = UIGraphicsGetImageFromCurrentImageCo
● もう完全に、セカンドライフはそっちのけで。。。><; 先日、AppleのApp Storeに登録完了しました。 これで仕事とは別に、個人でもiPhoneアプリを配信できます。^^ まずは9月頃にアプリを1本登録する予定です。 (まだまだお金を頂けるようなレベルではないので、無料アプリですけど。。。。) ドコモからはグーグル携帯(アンドロイド)も発売された事ですし、プログラムが作れる人にとっては、 おもしろい世の中になりそうですネ。^^v ● SIO2のチュートリアル04 http://www.sio2interactive.com/TECHNOLOGY.html iPhoneアプリ作りでもブレンダーが活用できるのは、イイですね。 チュートリアル04を理解すると、視点移動のウォークスルーのステージをiPhoneの中に 構築する事ができます。 このチュートリアルはプログラム(Objecti
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く