You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
In my app, I use a custom NIB to load my UITableViewCells. The NIB's File's Owner is set so the class is my View Controller. I then Link the UITableViewCell to the IBOutlet I put in the header file. It was all working fine, until all of the sudden it stopped working, and gets this error: uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:
# This is updated version from http://www.cloudgoessocial.net/2009/06/09/imagemagick-on-iphone-with-jpeg-png/ # Script to make static libraries (jpeg + png) and ImageMagick# the libraries will be conbined into i386+arm.a static libraries# to be used inside an XCODE project for iPhone development # The directory structure has to be:# ~/Desktop/cross_compile/i_m/ <- ImageMagick top directory# |-IM
Something went wrong (but it’s not your fault) Log into the Cloudflare dashboard. Ensure the website you want to update is selected. Click the DNS app. Scroll down to Custom Nameservers. Click Add Custom Nameservers and enter nameserver hostnames. (e.g. ns1, ns2, ns3). Cloudflare will assign IPv4 and IPv6 to your nameservers. Add the Custom Nameservers and IP addresses to your domain registrar’s D
Things is the award-winning personal task manager that helps you plan your day, manage your projects, and make real progress toward your goals. Watch Introduction Video Simply Powerful Things makes it easy. Within the hour, you’ll have everything off your mind and neatly organized – from routine tasks to your biggest life goals – and you can start focusing on what matters today. See features Get T
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
_ View の追加.TableView? も同様 手順は View.xib を新規に作成.NewView?.xibとする Libraryから View Controller を選択,MainWindow?.xibのTab Bar Controllerの下,Tab Barにドラッグ & ドロップ Tab が増えるので,その View をクリック.Inspector の NIB Nameに先に用意した NewView?.xib の名前を設定 この新しいタブの View 用の UIViewController? クラスファイルを新規作成する.NewViewController?.h と NewViewController?.m とする. NewView?.xib を開いて,File's Owner のクラスを今作成した NewViewController? とする. File's Owner
AdMobの広告をiPhoneアプリのUITableViewに表示する方法を以下にメモしておく。なお、AdMobのアカウント開設等は以下のサイトが非常に丁寧に説明されていて分かりやすいと思われる。 http://d.hatena.ne.jp/yang_kee/20091103/1257255140 [事前準備] 1. 必要なソースコードとライブラリの追加 ダウンロードしてきたSDKのAdMobフォルダ配下にある、AdMobDelegateProtocol.hとAdMobView.hという2つのヘッダファイルをXCodeのプロジェクトに追加する。 iPhone OS 2.x以降を対象にしたアプリを開発する場合には、更にAdMobフォルダ配下にあるlibAdMobDevice.aとlibAdMobSimulator.aという2つのスタティックリンク・ライブラリをプロジェクトに追加する。 一方、
現在制作中の iPhone アプリで描画が遅くて困っていました。その原因はまさにこのエントリにある通りのことでした。 UIImage#imageNamed:は読み込みも描画もUIImage#imageWithContentsOfFile:やそれ以外のメソッドより5〜6倍速い – 24/7 twenty-four seven imageNamed:は圧倒的にロードが速いし、何故か描画も速い。 私の感じでは、UIImage#imageNamed: が早いというよりも、UIImage#imageWithContentsOfFile: や UIImage#imageWithData: などが遅い感じです。UIImage#imageNamed: 以外で作成した UIImage の描画も UIImage#imageWithContentsOfFile: とかよりも劇的に早いからです。(UIImage#
This Friday I attended the iPhone Tech Talk World Tour in Hamburg. Never having been to an Apple event before I carried some skepticism about the tech:hype ratio calibrated for the talks but in the end it was a rewarding day that proved long on information and short on hyperbole. You can find a list of the European talks on the developer portal. What I saw as valuable in these subjects was the opp
A friend of mine pointed me to a very straightforward Gamekit tutorial on connecting 2 devices over Bluetooth that I thought I would share. For those unfamiliar with Gamekit framework, it was added in iPhone OS 3.0 to allow for easier creation of internet enabled games, and bluetooth communication between devices. In the tutorial a simple chatt application is created, and the topics covered are:
In the book, "Cocoa Design Patterns," the author sometimes declares a property in the @interface as readonly: // .h @property (readonly, copy) NSArray *shapesInOrderBackToFront; and then later adds an unnamed category to the implementation (.m) file like this: // .m @interface MYShapeEditorDocument () @property (readwrite, copy) NSArray *shapesInOrderBackToFront; @end Any idea as to why? It's uncl
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 discuss iPhone program design using the example of a small but non-trivial iPhone application to provide examples of how the design is impl
Sunday, December 6, 2009 A Better Two-Finger Rotate Gesture A while back, I posted a mostly functional, but imperfect sample code for doing a two-finger rotate gesture. I've been meaning to revisit this for some time to get it working correctly. Tonight, I finally found some time to do so, so I present a better, fully-functional two-finger rotate gesture sample code project. This version allows yo
以下の様な記述で UIButton の外観の画像データがアプリの Documents 以下に test.png という名称で 保存されます。他のGUIについても同様の方法でファイルに保存できます。 (サンプルの全体はこちらからDLして下さい) - (IBAction)run:(id)sender { UIGraphicsBeginImageContext(self.button.frame.size); CGContextRef context = UIGraphicsGetCurrentContext(); [self.button.layer renderInContext:context]; UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); NSData
I submitted my app a little over a week ago and got the dreaded rejection email today. It tells me that my app cannot be accepted because I'm using a non-public API; specifically, it says, The non-public API that is included in your application is firstResponder. Now, the offending API call is actually a solution I found here on SO: UIWindow *keyWindow = [[UIApplication sharedApplication] keyWindo
You can use libxml2. I suspect it is the fastest approach. Add its framework to your project (see the "setting up your project" section of this document). In the header of your XML writer, add the following imports: #import <libxml/encoding.h> #import <libxml/xmlwriter.h> In the implementation, write a method to generate your XML. Presumably you'll be sending your request's bytes via an NSData* ob
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く