This domain may be for sale!
iOS/iPhone/iPad/MacOSX プログラミング, Objective-C, Cocoaなど Keychain Serivce の簡易ラッパー LKKeychain を公開しました。 lakesoft/LKKeychain - GitHub パスワードの追加、更新、削除が行えます。追加はこんな感じ。 [LKKeychain updatePassowrd:@"hdsI3823Khdf" account:@"hashiguchi@lakesoft.jp" service:@"SampleService"]; インストール GitHubからプロジェクトをダウンロードした後 Xcode で開く。 その中から LKKeychain.h と LKKeychain.m を自分のプロジェクトへコピーして追加する。 使い方 用意されているクラスメソッドを呼び出す。 追加・更新[LKKeychai
呼び出しコードはこんな感じ。 [LKAccountPanel showWithTitle:@"Test" completion:^(BOOL result, NSString* username, NSString* password) { NSLog(@"result: %d\nusername: %@\npassword: %@", result, username, password); }];結果を Blocks で処理できるようにしてみた。 [2011-05-17 追記] 非同期用のメソッドを追加しました。 BOOL result = [LKAccountPanel showWithTitle:@"Test2" username:&username password:&password]; NSLog(@"done2"); NSLog(@"result2: %d\nusernam
Wednesday, May 4, 2011 Empty OpenGL ES Application Xcode 4 Template Jacques De Schepper sent in an updated version of my old Empty OpenGL ES Application Template, updated to use Xcode 4's completely revamped templating mechanism. You can download the new Xcode 4 version of the template right here. I haven't had a chance yet to test this out, but once I do, I'll also add it to GitHub. Thanks, Jacqu
Become an iOS Developer in 15 Weeks! Starts Sep 9. Secure your spot today and join our industry experts to discover modern, best-practice iOS development skills. Elevate your dev skills with Kodeco Cutting-edge courses, world-class instructors, and a network of passionate learners position you — and your dev team — to thrive in the ever-evolving world of mobile development.
iOS の開発環境には、クラッシュログ解析を行う symbolicatecrash ツールが付属しているのですが、困ったことに Xcode4 になってからまともに動かなくなってしまいました。 特に Archive したバイナリの中のシンボルをちゃんと読んでくれません。これができないとなると、AppStore で配布したアプリのクラッシュログを貰っても解析できないんですよね。 ということで、symbolicatecrash を修正しました。修正したものは以下の場所においてあります。 https://github.com/tmurakam/cashflow/blob/develop/util/symbolicatecrash なお、https://github.com/chrispix/symbolicatecrash-fix の内容も取り込んであります。 しっかし、perl 読みにくいなー。
「Java News.jp(Javaに関する最新ニュース)」の安藤幸央氏が、CoolなプログラミングのためのノウハウやTIPS、筆者の経験などを「Rundown」(駆け足の要点説明)でお届けします(編集部) 売れるアプリを作るために重要な“使い心地” iPhoneやAndroidといった携帯電話端末が広まり、本記事の読者はもちろんのこと、通勤電車などでもごく普通にスマートフォンの利用者を見かけるようになりました。単に、iPhone・Androidアプリの利用者としてかかわっている人もいれば、実際にアプリの開発に携わっている人もいるでしょう。 各種スマートフォンアプリを使っていて、何を感じるでしょうか? さまざまなアプリの中にはシンプルで細かいところまで行き届いており、使いやすいアプリもあれば、遅くて使いづらく、頻繁に強制終了してしまうようなアプリまで、玉石混淆(ぎょくせきこんこう)です。
iOS 4 以降、データ保護機能が提供されるようになった。特徴は次の通り。 データ保護機能を有効にするにはパスコードロックを有効にする必要がある データ保護の適用はファイル単位となる アプリケーションが明示的にファイルにデータ保護属性を付加することで有効になる データ保護属性のついたファイルには、デバイスロック中は保護されていてアクセスができない バックグラウンドで動作するアプリであっても、デバイスロック時にはデータ保護されたファイルへアクセスできない データ保護属性のついたファイルは、デバイスロック中に iTunesなどのツールから持ち出すことができない データ保護属性のついたファイルは暗号化される 対象機種:iPhone 4, iPhone 3GS, iPod touch (3rd generation or later), and all iPad models [参考情報] Lim
Please note: this article is part of the older "Objective-C era" on Cocoa with Love. I don't keep these articles up-to-date; please be wary of broken code or potentially out-of-date information. Read "A new era for Cocoa with Love" for more. In this post, I'll look at best practice for using and managing text strings in your user interface. This is a fairly simple topic but Cocoa has established "
iOS/iPhone/iPad/MacOSX プログラミング, Objective-C, Cocoaなど Mac OS X / iOS における Frameworkの作成や利用方法について調べてみた。Framework に関しては Mac OS X 向けに下記のリファレンスが用意されている。 Framework Programming Guide: Introduction to Framework Programming Guide この内容を読みつつ調べたことを加味して Frameworkについてまとめた。 なお iOS においては Framework の仕組みはシステムでサポートされているものの、ユーザが独自の Framework を作成することは推奨されていない(ドキュメントが存在しない)。また iOSでは開発時にユーザが独自の Frameworkを作成できるものの実機への配置はで
(2011-12-01 追記あり)UIApplicationDelegateの呼び出しが iOS5 から変わった件。 Task Completion を使った iOS4 でのバックグラウンド実行サンプルを作ってみた。 サンプル 実行するとキューにたまった 30個のデータが順番に処理されてテーブルから消えていく。 処理は GCD を使い別スレッドで実行される。右上の[+]ボタンを押すとキューへデータが追加されていく。途中でホームボタンを押してアプリを切り替えても Task Completion によって処理は停止すること無く実行され続ける。わかりやすいようにアプリのアイコンバッヂに残タスク数を表示してみた。 バッジの数字は時間と共にカウントダウンされていくので処理が行われていることが確認できる。 Task Completion とは? Task Completion は、iOS4 から導入さ
PDFビューワの需要 特にiPadが登場してから需要が拡大したアプリとして、PDFビューワを挙げることができる。iPadの大きい画面はPDFを表示するのに最適であるし、これをもってiPadをビジネス分野に活用しようとする方も多いだろう。 また、昨今の電子書籍の盛り上がりを受けて、書籍をPDFの形で配布することも多くなってきた。その場合も、適切なPDFビューワは欠かせない。もっとも、PDFにしただけで電子書籍と呼ぶのはあまりにも短絡的な話ではあるが。 今回からは、PDFビューワの作り方を取り上げたいと思う。iOSの提供するPDF機能を使いながら作るのだが、これが一筋縄ではいかない。単純に画面に表示するだけならば、簡単である。PDFのページを画面に描画する機能はあるからだ。だが、PDF内部のテキストや画像にアクセスしようとすると、とたんに難しくなる。不可能ではない。PDFデータにアクセスするた
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く