Contains the URL of a thumbnail of a photo or album cover.
<media:thumbnail> エレメントにあるURLを利用してアルバムを一覧表示できる。
参照:
Picasa Web Albums elements reference -> Media RSS (media namespace) element reference -> media:thumbnail
Contains the URL of a thumbnail of a photo or album cover.
Servers respond to client GData requests with feeds that include lists of entries.
Each feed and entry is composed of elements. Elements represent either standard Atom XML elements, or custom-defined GData elements.
Feeds, entries, and elements are derived from GDataObject, the base class that implements XML parsing and generation.
受け取ったオブジェクトを破棄したくない場合もあります。たとえば、インスタンス変数にオブジェクトをキャッシュする必要がある場合です。
このような場合は、オブジェクトが不要かどうかを知っているのは自分だけであるため使用中にオブジェクトが破棄されないことを保証する機能が必要となります。これは、retainメッセージを使って行います。
– (void)setMainSprocket:(Sprocket *)newSprocket {
if (mainSprocket != newSprocket) { // 古いインスタンス変数を確実に解放するための判定を行う
[mainSprocket release];
mainSprocket = [newSprocket retain]; // 参照カウンタが1増える
}
}
キーボードをしまうには、現在ファーストレスポンダになっているテキストベースビューのresignFirstResponderメソッドを呼び出します。---------------------------------
Text Viewがファーストレスポンダの状態でなくなると、現在の編集セッションは終了し、そのことがデリゲートに通知されます。
そして、キーボードが消えます。つまり、myTextFieldという変数が、現在ファーストレスポンダになっているUITextFieldオブジェクトを指す場合、キーボードをしまうには以下のコードを実行するだけです。
[myTextField resignFirstResponder];
python ./src/scripts/ttmodule.py -p (プロジェクトフォルダへのパス)/(プロジェクト名).xcodeproj -c Debug -c Release Three20
python ./src/scripts/ttmodule.py -p (プロジェクトフォルダへのパス)/(プロジェクト名).xcodeproj Three20 // " -c Debug -c Release " オプションを付けると、他のライブラリを追加したときにリンクエラーが出るので使用をやめた
(three20 フォルダへのパス)/three20/Build/Products/three20
python ./src/scripts/ttmodule.py -h
Add the Three20 project settings to the Debug and Release configurations. This includes adding the header search path and linker flags. > ttmodule.py -p path/to/myApp.xcodeproj -c Debug -c Release→ヘッダ検索パスとリンカフラグを追加すると書いてある