<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-951704726915459838</id><updated>2024-08-29T05:28:19.293+09:00</updated><category term="iOS"/><category term="開発"/><category term="開発環境構築"/><category term="Android"/><title type='text'>alginの備忘録</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-6421885129095408690</id><published>2016-11-30T08:19:00.000+09:00</published><updated>2016-11-30T08:19:02.053+09:00</updated><title type='text'>vagrant1.8.7で発生するvagrant box addのエラー</title><content type='html'>vagrantのバージョンを1.8.7にアップデートし、いざboxを追加しようとしたら以下のエラーが発生…。&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
実行環境&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;macOS 10.12.1&lt;/li&gt;
&lt;li&gt;vagrant 1.8.7&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;h4&gt;
エラー内容&lt;/h4&gt;
&lt;pre&gt; &lt;code class=&quot;bash&quot;&gt;$ vagrant box add laravel/homestead
The box &#39;laravel/homestead&#39; could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp&#39;s Atlas, please verify you&#39;re logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: [&quot;https://atlas.hashicorp.com/laravel/homestead&quot;]
Error:&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;h4&gt;
対策&lt;/h4&gt;
以下のCurlを一度削除するとうまくいくらしい。&lt;br /&gt;
&lt;pre&gt; &lt;code class=&quot;bash&quot;&gt;$ sudo rm -rf /opt/vagrant/embedded/bin/curl
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
元ネタ【1.8.7 fails to download or update boxes】&lt;br /&gt;
https://github.com/mitchellh/vagrant/issues/7969</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/6421885129095408690/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2016/11/vagrant187vagrant-box-add.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6421885129095408690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6421885129095408690'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2016/11/vagrant187vagrant-box-add.html' title='vagrant1.8.7で発生するvagrant box addのエラー'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-8328825498759507172</id><published>2016-11-23T21:05:00.000+09:00</published><updated>2016-11-23T21:05:17.544+09:00</updated><title type='text'>brewでphp7をインストールした際のエラー対応</title><content type='html'>
1. brewコマンドでPHP7をインストール

&lt;pre&gt; &lt;code class=&quot;bash&quot;&gt;vagrant $ brew install homebrew/php/php70
==&gt; Tapping homebrew/php
Cloning into &#39;/usr/local/Homebrew/Library/Taps/homebrew/homebrew-php&#39;...
remote: Counting objects: 658, done.
remote: Compressing objects: 100% (426/426), done.
remote: Total 658 (delta 375), reused 410 (delta 230), pack-reused 0
Receiving objects: 100% (658/658), 301.89 KiB | 319.00 KiB/s, done.
Resolving deltas: 100% (375/375), done.
Checking connectivity... done.
Tapped 633 formulae (673 files, 1.2M)
==&gt; Installing php70 from homebrew/php
==&gt; Installing dependencies for homebrew/php/php70: libpng, freetype, gettext, icu4c, jpeg, libxml2, unixodbc
==&gt; Installing homebrew/php/php70 dependency: libpng
==&gt; Downloading https://homebrew.bintray.com/bottles/libpng-1.6.25.sierra.bottle
######################################################################## 100.0%
==&gt; Pouring libpng-1.6.25.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.25: 25 files, 1.2M
==&gt; Installing homebrew/php/php70 dependency: freetype
==&gt; Downloading https://homebrew.bintray.com/bottles/freetype-2.7.sierra.bottle.
######################################################################## 100.0%
==&gt; Pouring freetype-2.7.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/freetype/2.7: 61 files, 2.4M
==&gt; Installing homebrew/php/php70 dependency: gettext
==&gt; Downloading https://homebrew.bintray.com/bottles/gettext-0.19.8.1.sierra.bot
######################################################################## 100.0%
==&gt; Pouring gettext-0.19.8.1.sierra.bottle.tar.gz
==&gt; Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

macOS provides the BSD gettext library and some software gets confused if both are in the library path.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you&#39;ll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/gettext/lib
    CPPFLAGS: -I/usr/local/opt/gettext/include

==&gt; Summary
🍺  /usr/local/Cellar/gettext/0.19.8.1: 1,934 files, 16.9M
==&gt; Installing homebrew/php/php70 dependency: icu4c
==&gt; Downloading https://homebrew.bintray.com/bottles/icu4c-57.1.sierra.bottle.ta
######################################################################## 100.0%
==&gt; Pouring icu4c-57.1.sierra.bottle.tar.gz
==&gt; Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

macOS provides libicucore.dylib (but nothing else).

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you&#39;ll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/icu4c/lib
    CPPFLAGS: -I/usr/local/opt/icu4c/include
    PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig

==&gt; Summary
🍺  /usr/local/Cellar/icu4c/57.1: 265 files, 65.0M
==&gt; Installing homebrew/php/php70 dependency: jpeg
==&gt; Downloading https://homebrew.bintray.com/bottles/jpeg-8d.sierra.bottle.2.tar
######################################################################## 100.0%
==&gt; Pouring jpeg-8d.sierra.bottle.2.tar.gz
🍺  /usr/local/Cellar/jpeg/8d: 19 files, 708.2K
==&gt; Installing homebrew/php/php70 dependency: libxml2
==&gt; Downloading https://homebrew.bintray.com/bottles/libxml2-2.9.4.sierra.bottle
######################################################################## 100.0%
==&gt; Pouring libxml2-2.9.4.sierra.bottle.tar.gz
==&gt; Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you&#39;ll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/libxml2/lib
    CPPFLAGS: -I/usr/local/opt/libxml2/include
    PKG_CONFIG_PATH: /usr/local/opt/libxml2/lib/pkgconfig

==&gt; Summary
🍺  /usr/local/Cellar/libxml2/2.9.4: 276 files, 9.8M
==&gt; Installing homebrew/php/php70 dependency: unixodbc
==&gt; Downloading https://homebrew.bintray.com/bottles/unixodbc-2.3.4.sierra.bottl
######################################################################## 100.0%
==&gt; Pouring unixodbc-2.3.4.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/unixodbc/2.3.4: 39 files, 952.4K
==&gt; Installing homebrew/php/php70
==&gt; Downloading https://homebrew.bintray.com/bottles-php/php70-7.0.13_6.sierra.b
######################################################################## 100.0%
==&gt; Pouring php70-7.0.13_6.sierra.bottle.tar.gz
==&gt; Caveats
The php.ini file can be found in:
    /usr/local/etc/php/7.0/php.ini

✩✩✩✩ Extensions ✩✩✩✩

If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:

      PATH=&quot;/usr/local/bin:$PATH&quot;

PHP70 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.

✩✩✩✩ PHP CLI ✩✩✩✩

If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell&#39;s equivalent configuration file:

      export PATH=&quot;$(brew --prefix homebrew/php/php70)/bin:$PATH&quot;

✩✩✩✩ FPM ✩✩✩✩

To launch php-fpm on startup:
    mkdir -p ~/Library/LaunchAgents
    cp /usr/local/opt/php70/homebrew.mxcl.php70.plist ~/Library/LaunchAgents/
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php70.plist

The control script is located at /usr/local/opt/php70/sbin/php70-fpm

OS X 10.8 and newer come with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:

  PATH=&quot;/usr/local/sbin:$PATH&quot;

You may also need to edit the plist to use the correct &quot;UserName&quot;.

Please note that the plist was called &#39;homebrew-php.josegonzalez.php70.plist&#39; in old versions
of this formula.

With the release of macOS Sierra the Apache module is now not built by default. If you want to build it on your system
you have to install php with the --with-apache option. See  brew options php70  for more details.

To have launchd start homebrew/php/php70 now and restart at login:
  brew services start homebrew/php/php70
==&gt; Summary
🍺  /usr/local/Cellar/php70/7.0.13_6: 332 files, 38.5M
&lt;/code&gt;&lt;/pre&gt;

2. PHPのバージョンを確認

&lt;pre&gt; &lt;code class=&quot;bash&quot;&gt;
$ php -v
dyld: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
  Referenced from: /usr/local/opt/php70/bin/php
  Reason: Incompatible library version: php requires version 43.0.0 or later, but libpng16.16.dylib provides version 42.0.0
Abort trap: 6
&lt;/code&gt;&lt;/pre&gt;

3. libpngが古いよなので、アップデート

&lt;pre&gt; &lt;code class=&quot;bash&quot;&gt;
$ brew upgrade libpng
==&amp;gt; Upgrading 1 outdated package, with result:
libpng 1.6.26
==&amp;gt; Upgrading libpng
==&amp;gt; Downloading https://homebrew.bintray.com/bottles/libpng-1.6.26.sierra.bottle
######################################################################## 100.0%
==&amp;gt; Pouring libpng-1.6.26.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.26: 26 files, 1.2M
&lt;/code&gt;&lt;/pre&gt;

4. PHPのバージョンを確認。

&lt;pre&gt; &lt;code class=&quot;bash&quot;&gt;
$ php -v
PHP 7.0.13 (cli) (built: Nov 15 2016 23:52:36) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/8328825498759507172/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2016/11/brewphp7.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/8328825498759507172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/8328825498759507172'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2016/11/brewphp7.html' title='brewでphp7をインストールした際のエラー対応'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-6533604232809599386</id><published>2016-02-16T12:43:00.003+09:00</published><updated>2016-02-16T12:43:26.980+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><title type='text'>iOSアプリが突然アップロードできなくなった時の対応（Missing iOS Distribution signing identity for xxxxx）</title><content type='html'>先日（2/15）iTunesStoreにアプリをアップロードしようとすると以下のエラーが出力され、アップロードできなくなったので、対応内容をメモ。&lt;br /&gt;
【エラー内容】&lt;br /&gt;
Missing iOS Distribution signing identity for xxxxx&lt;br /&gt;
&lt;br /&gt;
【対応】&lt;br /&gt;
1. &amp;nbsp;以下の証明書をインストール&lt;br /&gt;
&amp;nbsp; https://developer.apple.com/certificationauthority/AppleWWDRCA.cer&lt;br /&gt;
&lt;br /&gt;
2. Xcodeを再起動したり、クリーンしたりしてアーカイブ&lt;br /&gt;
3. iTunesにアップロード&lt;br /&gt;
&lt;br /&gt;
【参考】&lt;br /&gt;
http://stackoverflow.com/questions/32821189/xcode-7-error-missing-ios-distribution-signing-identity-for/35406327#35406327</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/6533604232809599386/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2016/02/iosmissing-ios-distribution-signing.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6533604232809599386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6533604232809599386'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2016/02/iosmissing-ios-distribution-signing.html' title='iOSアプリが突然アップロードできなくなった時の対応（Missing iOS Distribution signing identity for xxxxx）'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-8650960914769287934</id><published>2015-03-28T13:35:00.000+09:00</published><updated>2015-03-28T13:37:22.264+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><title type='text'>HealKit HKObjectType 一覧</title><content type='html'>&lt;style&gt;
/* テーブル全体 */
table.table-01 {
 width: 100%;
 border: 1px #888888 solid;
 border-collapse: collapse;
 border-spacing: 0;
}

/* ヘッダー行 */
table.table-01 th {
 padding: 5px;
 border: 1px #888888 solid;
 border-width: 0 1px 1px 1px;
 /* ヘッダーの背景色 */
 background: #ccbbbb;
 font-weight: bold;
 line-height: 120%;
 text-align: center;
}

/* 通常行 */
table.table-01 td {
 padding: 5px;
 border: 1px #888888 solid;
 border-width: 0 0 1px 1px;
 background: #ffffffaa;
 /* text-align: center; */
}

&lt;/style&gt;
　iOS8からHealthKitが使用できるようになりました。このHealthKit使用することで様々なヘルスデータを管理できます。これらのデータへアクセスする場合、アプリ内で各データへのアクセスをユーザーに確認しなければなりません。確認するには以下のメソッドを使用するのですが、アクセスするデータのタイプがわかりにくかったので一覧にまとめてみました。&lt;br /&gt;
※確認を行った端末はiOS8.2になります。&lt;br /&gt;&lt;br /&gt;
HealthKitデータへのアクセス確認メソッド
&lt;pre class=&quot;prettyprint&quot;&gt;- (void)requestAuthorizationToShareTypes:(NSSet *)typesToShare
                               readTypes:(NSSet *)typesToRead
                              completion:(void (^)(BOOL success, NSError *error))completion;&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;
HealthKitデータへのアクセス確認画面
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVk3W67tFzJ-bJlh0Afj1ZLE-ABggBnHr2ImESUcpqVB8AXHy5R2zNNIIPI7z79HpNPvCdoYMhcqjH9Em3s_Q70RjESynNTt8T4dRBrLgrpCEc9QoyKGj_dAnjfq4XzAjK3BIFSGnlkVs/s1600/IMG_0725.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVk3W67tFzJ-bJlh0Afj1ZLE-ABggBnHr2ImESUcpqVB8AXHy5R2zNNIIPI7z79HpNPvCdoYMhcqjH9Em3s_Q70RjESynNTt8T4dRBrLgrpCEc9QoyKGj_dAnjfq4XzAjK3BIFSGnlkVs/s400/IMG_0725.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
HealthKitデータタイプ一覧
&lt;table border=&quot;1&quot; class=&quot;table-01&quot; style=&quot;width: 100%px;&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;QuantityTypeIdentifier&lt;/th&gt;&lt;th&gt;表示名&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBodyMassIndex&lt;/td&gt;&lt;td&gt;ボディマス指数（BMI)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBodyFatPercentage&lt;/td&gt;&lt;td&gt;体脂肪率&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierHeight&lt;/td&gt;&lt;td&gt;身長&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBodyMass&lt;/td&gt;&lt;td&gt;体重&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierLeanBodyMass&lt;/td&gt;&lt;td&gt;除脂肪体重&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierStepCount&lt;/td&gt;&lt;td&gt;歩数&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDistanceWalkingRunning&lt;/td&gt;&lt;td&gt;ウォーキング＋ランニング&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDistanceCycling&lt;/td&gt;&lt;td&gt;自転車の走行距離&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBasalEnergyBurned&lt;/td&gt;&lt;td&gt;基礎代謝量&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierActiveEnergyBurned&lt;/td&gt;&lt;td&gt;アクティブカロリー&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierFlightsClimbed&lt;/td&gt;&lt;td&gt;上った回数&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierNikeFuel&lt;/td&gt;&lt;td&gt;NikeFuel&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierHeartRate&lt;/td&gt;&lt;td&gt;心拍数&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBodyTemperature&lt;/td&gt;&lt;td&gt;体温&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBloodPressureSystolic&lt;/td&gt;&lt;td&gt;最高血圧&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBloodPressureDiastolic&lt;/td&gt;&lt;td&gt;最低血圧&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierRespiratoryRate&lt;/td&gt;&lt;td&gt;呼吸数&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierOxygenSaturation&lt;/td&gt;&lt;td&gt;酸素飽和度&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierPeripheralPerfusionIndex&lt;/td&gt;&lt;td&gt;微小循環指標&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBloodGlucose&lt;/td&gt;&lt;td&gt;血糖値&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierNumberOfTimesFallen&lt;/td&gt;&lt;td&gt;倒れた回数&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierElectrodermalActivity&lt;/td&gt;&lt;td&gt;皮膚電位&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierInhalerUsage&lt;/td&gt;&lt;td&gt;吸入器の使用状況&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierBloodAlcoholContent&lt;/td&gt;&lt;td&gt;血中アルコール濃度&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierForcedVitalCapacity&lt;/td&gt;&lt;td&gt;努力肺活量&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierForcedExpiratoryVolume1&lt;/td&gt;&lt;td&gt;努力呼気肺活量（1秒）&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierPeakExpiratoryFlowRate&lt;/td&gt;&lt;td&gt;最大呼気速度&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryFatTotal&lt;/td&gt;&lt;td&gt;総脂肪&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryFatPolyunsaturated&lt;/td&gt;&lt;td&gt;多価不飽和脂肪酸&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryFatMonounsaturated&lt;/td&gt;&lt;td&gt;一価飽和脂肪酸&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryFatSaturated&lt;/td&gt;&lt;td&gt;飽和脂肪酸&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryCholesterol&lt;/td&gt;&lt;td&gt;食物中のコレステロール&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietarySodium&lt;/td&gt;&lt;td&gt;ナトリウム&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryCarbohydrates&lt;/td&gt;&lt;td&gt;炭水化物&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryFiber&lt;/td&gt;&lt;td&gt;食物繊維&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietarySugar&lt;/td&gt;&lt;td&gt;糖分&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryEnergyConsumed&lt;/td&gt;&lt;td&gt;摂取カロリー&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryProtein&lt;/td&gt;&lt;td&gt;たんぱく質&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryVitaminA&lt;/td&gt;&lt;td&gt;ビタミンA&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryVitaminB6&lt;/td&gt;&lt;td&gt;ビタミンB6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryVitaminB12&lt;/td&gt;&lt;td&gt;ビタミンB12&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryVitaminC&lt;/td&gt;&lt;td&gt;ビタミンC&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryVitaminD&lt;/td&gt;&lt;td&gt;ビタミンD&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryVitaminE&lt;/td&gt;&lt;td&gt;ビタミンE&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryVitaminK&lt;/td&gt;&lt;td&gt;ビタミンK&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryCalcium&lt;/td&gt;&lt;td&gt;カルシウム&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryIron&lt;/td&gt;&lt;td&gt;鉄&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryThiamin&lt;/td&gt;&lt;td&gt;チアミン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryRiboflavin&lt;/td&gt;&lt;td&gt;ビタミンB2&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryNiacin&lt;/td&gt;&lt;td&gt;ナイアシン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryFolate&lt;/td&gt;&lt;td&gt;葉酸&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryBiotin&lt;/td&gt;&lt;td&gt;ビオチン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryPantothenicAcid&lt;/td&gt;&lt;td&gt;パントテン酸&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryPhosphorus&lt;/td&gt;&lt;td&gt;リン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryIodine&lt;/td&gt;&lt;td&gt;ヨウ素&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryMagnesium&lt;/td&gt;&lt;td&gt;マグネシウム&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryZinc&lt;/td&gt;&lt;td&gt;亜鉛&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietarySelenium&lt;/td&gt;&lt;td&gt;セレン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryCopper&lt;/td&gt;&lt;td&gt;銅&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryManganese&lt;/td&gt;&lt;td&gt;マンガン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryChromium&lt;/td&gt;&lt;td&gt;クロム&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryMolybdenum&lt;/td&gt;&lt;td&gt;モリブデン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryChloride&lt;/td&gt;&lt;td&gt;塩化物&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryPotassium&lt;/td&gt;&lt;td&gt;カリウム&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKQuantityTypeIdentifierDietaryCaffeine&lt;/td&gt;&lt;td&gt;カフェイン&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKCategoryTypeIdentifierSleepAnalysis&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKCharacteristicTypeIdentifierBiologicalSex&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKCharacteristicTypeIdentifierBloodType&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKCharacteristicTypeIdentifierDateOfBirth&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKCorrelationTypeIdentifierBloodPressure&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKCorrelationTypeIdentifierFood&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;HKWorkoutTypeIdentifier&lt;/td&gt;&lt;td&gt;-&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/8650960914769287934/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2015/03/healkit.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/8650960914769287934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/8650960914769287934'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2015/03/healkit.html' title='HealKit HKObjectType 一覧'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVk3W67tFzJ-bJlh0Afj1ZLE-ABggBnHr2ImESUcpqVB8AXHy5R2zNNIIPI7z79HpNPvCdoYMhcqjH9Em3s_Q70RjESynNTt8T4dRBrLgrpCEc9QoyKGj_dAnjfq4XzAjK3BIFSGnlkVs/s72-c/IMG_0725.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-5960467428435443215</id><published>2013-12-04T10:16:00.001+09:00</published><updated>2013-12-04T10:16:44.983+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><title type='text'>Undefined symbols for architecture arm64</title><content type='html'>cocoapodsを久しぶりに使用したら以下のエラーが出た。&lt;br /&gt;
&lt;br /&gt;
Undefined symbols for architecture arm64:&lt;br /&gt;
&amp;nbsp; &quot;_OBJC_CLASS_$_AFHTTPResponseSerializer&quot;, referenced from:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; objc-class-ref in xxxxxxxxxxx.o&lt;br /&gt;
&lt;br /&gt;
うーん。&lt;br /&gt;
どうやらPodsで作成されたライブラリ(.a)とアプリとで、『Architecture』違うぞって言われてる模様。&lt;br /&gt;
&lt;br /&gt;
試行錯誤した結果、BuildSetting -&amp;gt; Architecture の『Standard architectures ( including 64-bit) (armv7,armv7s,arm64)』を『Standard architectures (armv7,armv7s)』に変更するするとビルドエラーを回避できました。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
※ 上記では、アプリ側のArchitectureを変更していますが、逆にPodsプロジェクトのArchitectureにarm64を追加することでもビルドエラーを回避することができます。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiae35wxjnUoUttgh1dV16MeeW-1fMUYuN_UgXGLhXT7h7H_fHOPCy_LYLWDRKOixZjceLkpSViQSDS5_q7d28bR4rYMcbPxKXEJMOujaqWEojmQMYmvxrnKB94OUtzFIsWjgUg2G2i398/s1600/architectures.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;standard architectures armv7 armv7s arm64 Xcode5&quot; border=&quot;0&quot; height=&quot;171&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiae35wxjnUoUttgh1dV16MeeW-1fMUYuN_UgXGLhXT7h7H_fHOPCy_LYLWDRKOixZjceLkpSViQSDS5_q7d28bR4rYMcbPxKXEJMOujaqWEojmQMYmvxrnKB94OUtzFIsWjgUg2G2i398/s640/architectures.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/5960467428435443215/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2013/12/undefined-symbols-for-architecture-arm64.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5960467428435443215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5960467428435443215'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2013/12/undefined-symbols-for-architecture-arm64.html' title='Undefined symbols for architecture arm64'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiae35wxjnUoUttgh1dV16MeeW-1fMUYuN_UgXGLhXT7h7H_fHOPCy_LYLWDRKOixZjceLkpSViQSDS5_q7d28bR4rYMcbPxKXEJMOujaqWEojmQMYmvxrnKB94OUtzFIsWjgUg2G2i398/s72-c/architectures.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-3345650089773513371</id><published>2013-09-26T22:59:00.001+09:00</published><updated>2013-12-04T10:16:55.316+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><title type='text'>【Xcode5】 run script の追加方法</title><content type='html'>Xcode5から『Run Script』の追加方法が変更になったようです。&lt;br /&gt;
個人的に少しテンパったので手順を残しておきます。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
① まず、『Add Target...』を選択します。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaIR9eDbdE6NGOCrlkf5mEYRqPOVEApCBH9AWoc_0flzq3fAHGL00PEZ8Wd0b0eff3z8QsQiK7ABa1DJwEPYpiPLDtjERR0-In3rRq1hu9AtC5SBbas-WFUJEqNBXdch65VvUS0AzA4ys/s1600/add_run_script0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Run Script Xcode5 追加&quot; border=&quot;0&quot; height=&quot;271&quot; script=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaIR9eDbdE6NGOCrlkf5mEYRqPOVEApCBH9AWoc_0flzq3fAHGL00PEZ8Wd0b0eff3z8QsQiK7ABa1DJwEPYpiPLDtjERR0-In3rRq1hu9AtC5SBbas-WFUJEqNBXdch65VvUS0AzA4ys/s400/add_run_script0.png&quot; title=&quot;Run Script Xcode5 追加&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
② 『Aggregate』を選択し、Target名を指定します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjetJLvgFlENlkQSBpe9KjI7329EJk39CmCN254RTKT0hyJe4x7oVU0aUPHy5tQVCrYj8sQo3earyMuySdU0iLmsbV7Z_gdn-NWDeynPxRzjADstzg1egXZ-xIsfBJsWi3YUfoNc_ks0XU/s1600/add_run_script1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Run Script Xcode5 追加&quot; border=&quot;0&quot; height=&quot;268&quot; script=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjetJLvgFlENlkQSBpe9KjI7329EJk39CmCN254RTKT0hyJe4x7oVU0aUPHy5tQVCrYj8sQo3earyMuySdU0iLmsbV7Z_gdn-NWDeynPxRzjADstzg1egXZ-xIsfBJsWi3YUfoNc_ks0XU/s400/add_run_script1.png&quot; title=&quot;Run Script Xcode5 追加&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
③ 『Build Phases』タグを選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhziESdAbXxzmCaWz3nUEX-E9pI_uJijbryf5wQNDYEEjt6cYmn9LKcWynoQIUvNydzaLQDYZuSkFkslXYkypV4Z6coSsq-XF27lG60hpxs6n2plruR9LZLqpS4zf-yAQrd2mOyh-1Kio/s1600/add_run_script2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Run Script Xcode5 追加&quot; border=&quot;0&quot; height=&quot;265&quot; script=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhziESdAbXxzmCaWz3nUEX-E9pI_uJijbryf5wQNDYEEjt6cYmn9LKcWynoQIUvNydzaLQDYZuSkFkslXYkypV4Z6coSsq-XF27lG60hpxs6n2plruR9LZLqpS4zf-yAQrd2mOyh-1Kio/s400/add_run_script2.png&quot; title=&quot;Run Script Xcode5 追加&quot; width=&quot;400&quot; xcode5=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
④ メニューのEditaor &amp;gt; Add Build Phase &amp;gt; Add Run Scropt Build Phaseを選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjcqt1McuCYNy2dXQiRXiYyze-_mC_o-FmdT4NHqjPlC5hltSY-MR9E934pVEFR4ucJWQeZyPjhqtOoEioOF1s-Th5YABIyPtdN9PlSUh5aoqa49M6kpQ5PLpEytwsxt4MuHs56N8Jqcg/s1600/add_run_script3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Run Script Xcode5 追加&quot; border=&quot;0&quot; height=&quot;271&quot; script=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjcqt1McuCYNy2dXQiRXiYyze-_mC_o-FmdT4NHqjPlC5hltSY-MR9E934pVEFR4ucJWQeZyPjhqtOoEioOF1s-Th5YABIyPtdN9PlSUh5aoqa49M6kpQ5PLpEytwsxt4MuHs56N8Jqcg/s400/add_run_script3.png&quot; title=&quot;Run Script Xcode5 追加&quot; width=&quot;400&quot; xcode5=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
⑤ Run Scriptが作成されます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCCxt5z0576FQ2o7y1Qjgn-rEK8SMZAvvv55yyOW3jaIOV-x3oHnNYpsWU8e39xBjcH_nDZMF8Lu65yvo4AhrrHit032_7CoVMOqCNigAtKRu1ZdAJT0fEZec4sFMShU1hwU1PblHEjQM/s1600/add_run_script4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;265&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCCxt5z0576FQ2o7y1Qjgn-rEK8SMZAvvv55yyOW3jaIOV-x3oHnNYpsWU8e39xBjcH_nDZMF8Lu65yvo4AhrrHit032_7CoVMOqCNigAtKRu1ZdAJT0fEZec4sFMShU1hwU1PblHEjQM/s400/add_run_script4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/3345650089773513371/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2013/09/xcode5-run-script.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/3345650089773513371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/3345650089773513371'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2013/09/xcode5-run-script.html' title='【Xcode5】 run script の追加方法'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaIR9eDbdE6NGOCrlkf5mEYRqPOVEApCBH9AWoc_0flzq3fAHGL00PEZ8Wd0b0eff3z8QsQiK7ABa1DJwEPYpiPLDtjERR0-In3rRq1hu9AtC5SBbas-WFUJEqNBXdch65VvUS0AzA4ys/s72-c/add_run_script0.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-4498574843631468543</id><published>2013-09-09T23:15:00.002+09:00</published><updated>2013-09-09T23:17:34.706+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><title type='text'>appledocの導入方法</title><content type='html'>&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
　何度か使用しているappledocなのですが、毎回導入手順等の記録を疎かにしてしまうので、ここらで私なりの手順まとめてみようと思います。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;　1.そもそもappledocって何？&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
　appledocを使用すると、ソースコードのコメントからAPIドキュメントを自動生成することができます。Apple社のリファレンスに似せたドキュメントが生成されるため、iOS等の技術者に取っ付きやすいフォーマットで出力されます。JavadocのObjective-c版という感じでしょうか。&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
　&lt;b&gt;2.導入手順&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
　2-1.appledocのインストール&lt;/div&gt;
&lt;div&gt;
　いろいろ手順はあるのですが、今回はGithubからソース取得＆コンパイルしてみます。&lt;/div&gt;
&lt;div&gt;
ソースのダウンロード&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;　git clone git://github.com/tomaz/appledoc.git&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ダウンロードできたらコンパイルします。&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;　shdo sh install-appledoc.sh&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
これでappledocコマンドが実行出来ます。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
　2-2.Xcodeからappledocを使用する&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
　ターミナルからもappledocを使用できるのですが、コードを修正する度（APIリファレンスを作成する度）にコマンドを叩くのは若干手間がかかります。ですので、Xcodeから実行出来るようにしてみます。&lt;/div&gt;
&lt;div&gt;
　まず、プロジェクトを選択し、画面下のAddTargetを選択してAggregateを作成します。すると作成したTarget（Scheme）が追加されます。&lt;/div&gt;
&lt;div&gt;
　追加したTargetを選択し、画面右下の『Add Build Phase』の『Add Run Script』を選択します。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Ha5GaSEOpftUnXyuDT7D2XrsLwlv9_61V20EYyBgjJYrUTmqFrxViKWvSvWcIvdO9EnQdnSOXIr7TIv7HKu7xlBb9LumM2LfT5_xO87pVOxmYcZwthzuLV-fK8w4D_WRiznBH-i_IPI/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;182&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Ha5GaSEOpftUnXyuDT7D2XrsLwlv9_61V20EYyBgjJYrUTmqFrxViKWvSvWcIvdO9EnQdnSOXIr7TIv7HKu7xlBb9LumM2LfT5_xO87pVOxmYcZwthzuLV-fK8w4D_WRiznBH-i_IPI/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrdZpsrGecM9kl7O_Is_cpG307UmKt5jfxLfB2ubSQu_WtE7f0UpHo7RiH70ylYLsgat1JMn7i0qbKw_lwn-20E7pJ92VHTDcD7709qdaLuXmpX8LsAJcJ5ZW42IkPmIzLCBIYAGXwg8g/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrdZpsrGecM9kl7O_Is_cpG307UmKt5jfxLfB2ubSQu_WtE7f0UpHo7RiH70ylYLsgat1JMn7i0qbKw_lwn-20E7pJ92VHTDcD7709qdaLuXmpX8LsAJcJ5ZW42IkPmIzLCBIYAGXwg8g/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Run Scriptに以下のScriptを入力します。（Ctr+zの戻るコマンドは使えないので注意！！）&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;appledoc --project-name [プロジェクト名] --project-company [会社名] --company-id [会社のID] --create-html --no-create-docset --output &amp;nbsp;[アウトプット先] &amp;nbsp;[ソースコード場所]

&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Helvetica;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCce3IAwNUDKs8QdefxCYLLMvCtn5BQYB3UWix9ukH2LWlDIOR9H0BhgzJLt3VJq-GZ3e59IsDGJDI4DNwPA9zs1n0wc4nWD_5-ooeVzU3FycwExHOLE6IDTFy8p8gOceoOGO3MUlmokE/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCce3IAwNUDKs8QdefxCYLLMvCtn5BQYB3UWix9ukH2LWlDIOR9H0BhgzJLt3VJq-GZ3e59IsDGJDI4DNwPA9zs1n0wc4nWD_5-ooeVzU3FycwExHOLE6IDTFy8p8gOceoOGO3MUlmokE/s320/10.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
以上で、HtmlやXcodeから参照できるDocsetを出力できます。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
細かいオプションについては、述べませんでしたが…、機会があればいずれ記事を書ければと思います。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
今回、実装した開発環境は以下になります。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
［開発環境］&lt;/div&gt;
&lt;div&gt;
・Xcode4.6&lt;/div&gt;
&lt;div&gt;
・appledoc2.2&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/4498574843631468543/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2013/09/appledoc.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/4498574843631468543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/4498574843631468543'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2013/09/appledoc.html' title='appledocの導入方法'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6Ha5GaSEOpftUnXyuDT7D2XrsLwlv9_61V20EYyBgjJYrUTmqFrxViKWvSvWcIvdO9EnQdnSOXIr7TIv7HKu7xlBb9LumM2LfT5_xO87pVOxmYcZwthzuLV-fK8w4D_WRiznBH-i_IPI/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-6445677473106885583</id><published>2013-07-15T19:12:00.000+09:00</published><updated>2013-07-15T20:18:55.698+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><title type='text'>クラッシュ時のスタックトレース取得方法</title><content type='html'>iOS開発において、クラッシュした場所の検討がつかない場合がありました。&lt;br/&gt;
いろいろ調べてみると、NSSetUncaughtExceptionHandlerにハンドラ関数のポインタを渡すと、クラッシュ時のスタックトレースが取得できるようです。
以下のコードはその実装例。

&lt;pre class=&quot;prettyprint&quot;&gt;
@implementation AppDelegate

void exceptionHandler(NSException *exception) {
    NSLog(@&quot;Exception: %@&quot;, exception);
    NSLog(@&quot;Stack Trace: %@&quot;, [exception callStackSymbols]);
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    NSSetUncaughtExceptionHandler(&amp;exceptionHandler);
    return YES;
}

@end
&lt;/pre&gt;

&lt;br/&gt;
以下のコードで無理やりExceptionを発生してみました。

&lt;pre class=&quot;prettyprint&quot;&gt;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    NSSetUncaughtExceptionHandler(&amp;exceptionHandler);

    //無理やりEcxeptionを発生させる。
    NSArray *array = [NSArray array];
    [array objectAtIndex:1];

    return YES;
}
&lt;/pre&gt;

&lt;br/&gt;
出力結果は以下。

&lt;pre class=&quot;prettyprint&quot;&gt;

2013-07-15 19:21:45.415 ExceptionSample[27437:c07] Exception: *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds for empty array
2013-07-15 19:21:45.417 ExceptionSample[27437:c07] Stack Trace: (
 0   CoreFoundation                      0x01c9002e __exceptionPreprocess + 206
 1   libobjc.A.dylib                     0x010cde7e objc_exception_throw + 44
 2   CoreFoundation                      0x01c45b44 -[__NSArrayI objectAtIndex:] + 196
 3   ExceptionSample                     0x00001f5f -[AppDelegate application:didFinishLaunchingWithOptions:] + 159
 4   UIKit                               0x0000f157 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 266
 5   UIKit                               0x0000f747 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1248
 6   UIKit                               0x0001094b -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 805
 7   UIKit                               0x00021cb5 -[UIApplication handleEvent:withNewEvent:] + 1022
 8   UIKit                               0x00022beb -[UIApplication sendEvent:] + 85
 9   UIKit                               0x00014698 _UIApplicationHandleEvent + 9874
 10  GraphicsServices                    0x01bebdf9 _PurpleEventCallback + 339
 11  GraphicsServices                    0x01bebad0 PurpleEventCallback + 46
 12  CoreFoundation                      0x01c05bf5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
 13  CoreFoundation                      0x01c05962 __CFRunLoopDoSource1 + 146
 14  CoreFoundation                      0x01c36bb6 __CFRunLoopRun + 2118
 15  CoreFoundation                      0x01c35f44 CFRunLoopRunSpecific + 276
 16  CoreFoundation                      0x01c35e1b CFRunLoopRunInMode + 123
 17  UIKit                               0x0001017a -[UIApplication _run] + 774
 18  UIKit                               0x00011ffc UIApplicationMain + 1211
 19  ExceptionSample                     0x00001ded main + 141
 20  ExceptionSample                     0x00001d15 start + 53
)
2013-07-15 19:21:45.426 ExceptionSample[27437:c07] *** Terminating app due to uncaught exception &#39;NSRangeException&#39;, reason: &#39;*** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds for empty array&#39;
*** First throw call stack:
(0x1c90012 0x10cde7e 0x1c45b44 0x1f5f 0xf157 0xf747 0x1094b 0x21cb5 0x22beb 0x14698 0x1bebdf9 0x1bebad0 0x1c05bf5 0x1c05962 0x1c36bb6 0x1c35f44 0x1c35e1b 0x1017a 0x11ffc 0x1ded 0x1d15)

&lt;/pre&gt;


吐き出されたスタックトレースをみると、AppDelegate application:didFinishLaunchingWithOptions:のobjectAtIndexあたりでクラッシュしたことが確認できそうです。&lt;br/&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/6445677473106885583/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2013/07/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6445677473106885583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6445677473106885583'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2013/07/blog-post.html' title='クラッシュ時のスタックトレース取得方法'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-7586292716648224412</id><published>2013-07-07T15:37:00.000+09:00</published><updated>2013-07-15T12:44:17.604+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><title type='text'>UITableViewCell の アニメーション</title><content type='html'>どうやら、UITableViewCellを追加、削除、refreshするときのアニメーションがデフォルトで用意されている模様。&lt;br /&gt;
指定出来るアニメーションは以下の通り。&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;typedef NS_ENUM(NSInteger, UITableViewRowAnimation) {
    UITableViewRowAnimationFade,
    UITableViewRowAnimationRight,           
    UITableViewRowAnimationLeft,
    UITableViewRowAnimationTop,
    UITableViewRowAnimationBottom,
    UITableViewRowAnimationNone,            
    UITableViewRowAnimationMiddle,          
    UITableViewRowAnimationAutomatic = 100  
};&lt;/pre&gt;&lt;br /&gt;

（例）&lt;br /&gt;
リロードする場合は、UITableViewControllerのサブクラス内で、
- (void)reloadSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation;
を以下の様に使用すればOK。
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0]
            withRowAnimation:UITableViewRowAnimationAutomatic];

&lt;/pre&gt;
&lt;br /&gt;
復習も兼ねて、全てのAnimationを確認するためのサンプルコードを作成した。
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2dVVWw1sohHX8mRCcGQNRRHdMCk-6iX8KyQsGMGwjJrlodrRQBPhz3Gs_WlykgfAwuK6mGd8ijj5Zs6WnmQypbKEjmh5vnmeU15KSzWpx0n8mdIa1KLbX4bzbLgBFpbCbM334jvR3u6I/s1600/UITableViewCell_animation.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2dVVWw1sohHX8mRCcGQNRRHdMCk-6iX8KyQsGMGwjJrlodrRQBPhz3Gs_WlykgfAwuK6mGd8ijj5Zs6WnmQypbKEjmh5vnmeU15KSzWpx0n8mdIa1KLbX4bzbLgBFpbCbM334jvR3u6I/s400/UITableViewCell_animation.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;

サンプルコード&lt;br /&gt;
&lt;a href=&quot;https://github.com/AlginPlus/TableCellAnimationSample&quot;&gt;https://github.com/AlginPlus/TableCellAnimationSample&lt;/a&gt;
&lt;br /&gt;


</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/7586292716648224412/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2013/07/uitableviewcell-sample.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/7586292716648224412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/7586292716648224412'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2013/07/uitableviewcell-sample.html' title='UITableViewCell の アニメーション'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2dVVWw1sohHX8mRCcGQNRRHdMCk-6iX8KyQsGMGwjJrlodrRQBPhz3Gs_WlykgfAwuK6mGd8ijj5Zs6WnmQypbKEjmh5vnmeU15KSzWpx0n8mdIa1KLbX4bzbLgBFpbCbM334jvR3u6I/s72-c/UITableViewCell_animation.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-281200672606094963</id><published>2013-01-28T02:09:00.002+09:00</published><updated>2013-07-15T19:11:41.586+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><title type='text'>UITableViewCellの背景色を変更する</title><content type='html'>UITableViewの背景色を変更しようと以下のDataSourceでcellの背景色を変更しても上手くいかなかった。

&lt;pre class=&quot;prettyprint&quot;&gt;
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *CellIdentifier = @&quot;Cell&quot;;
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
    cell.backgroundColor = [UIColor hogeColor];
    
    return cell;
}&lt;/pre&gt;

背景色を変更するためには以下のDelegate内で指定すると上手くいくらしい…
&lt;pre class=&quot;prettyprint&quot;&gt;
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{  
    cell.backgroundColor = [UIColor hogeColor];
}&lt;/pre&gt;

とりあえず、よく間違えるのでメモ…</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/281200672606094963/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2013/01/uitableviewcell.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/281200672606094963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/281200672606094963'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2013/01/uitableviewcell.html' title='UITableViewCellの背景色を変更する'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-5751173167996689897</id><published>2012-07-08T19:34:00.001+09:00</published><updated>2012-07-08T23:01:09.842+09:00</updated><title type='text'>iPhoneのホームボタンがきかない時の対処法</title><content type='html'>iPhone4を購入して1年半。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Homeボタンがほとんど反応しなくなった。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
ネットで調べた対処法を試みたけど、一向に良くならない。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
何か他にないかと、設定をいじっていたら、『Assistive Touch』という項目を発見した。&lt;/div&gt;
&lt;div&gt;
これをオンにするとスクリーン上からホームボタンを押せるようになった。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
以下は、その設定方法です。&lt;br /&gt;
&lt;br /&gt;
１）まず、ホーム画面の『設定』を押下&lt;br /&gt;
２）『一般』を押下&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje6jJHAVejRt2zkCHS_SlGyixHKlAkO1BEQtfPhybDrd9xJF5PhnOjvAgvRMPKLnMl-56hsAAoY5jG4A2qUTyABaUWfeDIGIt08rQ3iwT7BPn0OnsK8yRoMzoFilnGfW5ccadiq2CuEQc/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje6jJHAVejRt2zkCHS_SlGyixHKlAkO1BEQtfPhybDrd9xJF5PhnOjvAgvRMPKLnMl-56hsAAoY5jG4A2qUTyABaUWfeDIGIt08rQ3iwT7BPn0OnsK8yRoMzoFilnGfW5ccadiq2CuEQc/s320/1.png&quot; width=&quot;213&quot; 
alt=&quot;iPhone 4 home Button&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
３）『アクセシビリティ』を押下&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBpe-KBVviBXsy9fxSswUT9PoKfM1u7GJoXw9-_QYqeJcon2KyrCxAT-wEV-CuCs-LsaBBgRRiMOLM1MO32HGlGm2IltXOiH3NYu5V3d8zIvZYoqBJM9csUZJ81lRwncksJ4LSRgK3W74/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBpe-KBVviBXsy9fxSswUT9PoKfM1u7GJoXw9-_QYqeJcon2KyrCxAT-wEV-CuCs-LsaBBgRRiMOLM1MO32HGlGm2IltXOiH3NYu5V3d8zIvZYoqBJM9csUZJ81lRwncksJ4LSRgK3W74/s320/2.png&quot; width=&quot;213&quot;  
alt=&quot;iPhone 4 home Button&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;
４）『AssisitiveTouch』を押下&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqXV48FygYxNlRzIhjRDZ4v8EHY0CIVTWlcRCNUbMBBafo6GqzaQka42Ngsx0J3VmIJmcPAP_B059EiEr53uWy9xGZEbAADMechdZr97rUAiUhQ_JJ8NYMh2QpKopOX_-1z47Dk5qK3RM/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqXV48FygYxNlRzIhjRDZ4v8EHY0CIVTWlcRCNUbMBBafo6GqzaQka42Ngsx0J3VmIJmcPAP_B059EiEr53uWy9xGZEbAADMechdZr97rUAiUhQ_JJ8NYMh2QpKopOX_-1z47Dk5qK3RM/s320/3.png&quot; width=&quot;213&quot; alt=&quot;iPhone 4 home Button&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;
４）『AssisitiveTouch』をオンにする&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMzUOB3AVLxA05Me9haHDuWFrrFUHMaxCy0gtZVRJfE0hg_9h21-JGRv0_l9l7OhPckcPDZX4_HcNSnOelGI6EoQqIVbd-IR6ZnK8d10J7xaE0WO_tVSAMHJcw9ojLdE2vflXaepUwt-w/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMzUOB3AVLxA05Me9haHDuWFrrFUHMaxCy0gtZVRJfE0hg_9h21-JGRv0_l9l7OhPckcPDZX4_HcNSnOelGI6EoQqIVbd-IR6ZnK8d10J7xaE0WO_tVSAMHJcw9ojLdE2vflXaepUwt-w/s320/4.png&quot; width=&quot;213&quot; alt=&quot;iPhone 4 home Button&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;
５）右下に『何か』が表示される。これを押下してみる&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLMmMBnhnF6MxwhwFi9vuAZgZ_-eoq-0kks6r3ovG0tEzIFhwUC4H8Gd7Y69sh5zW_SnGDOqdbM8xFvLqcrdSKMoDzNeUWvSBTUX9hBbk3HxlDsQkIxBoDCovquUj25P6FWzXbbo1k9fw/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLMmMBnhnF6MxwhwFi9vuAZgZ_-eoq-0kks6r3ovG0tEzIFhwUC4H8Gd7Y69sh5zW_SnGDOqdbM8xFvLqcrdSKMoDzNeUWvSBTUX9hBbk3HxlDsQkIxBoDCovquUj25P6FWzXbbo1k9fw/s320/5.png&quot; width=&quot;213&quot; alt=&quot;iPhone 4 home Button&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;
５）以下のように『ホーム』ボタンが表示される。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOJovi391zOqcfIcwTEiBzedTQcTbRW7Dpa6-p0q8cdvlyorBN58HZriOSv8eWWI03zFRqdJNT7_3dxGuGWolft_Tp_Oat51QhYyINMa0LQvAQlo7TCzrvZSpxS7Mmw3BFWr9A4R8donQ/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOJovi391zOqcfIcwTEiBzedTQcTbRW7Dpa6-p0q8cdvlyorBN58HZriOSv8eWWI03zFRqdJNT7_3dxGuGWolft_Tp_Oat51QhYyINMa0LQvAQlo7TCzrvZSpxS7Mmw3BFWr9A4R8donQ/s320/6.png&quot; width=&quot;213&quot;  alt=&quot;iPhone 4 home Button&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/5751173167996689897/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2012/07/iphone.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5751173167996689897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5751173167996689897'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2012/07/iphone.html' title='iPhoneのホームボタンがきかない時の対処法'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje6jJHAVejRt2zkCHS_SlGyixHKlAkO1BEQtfPhybDrd9xJF5PhnOjvAgvRMPKLnMl-56hsAAoY5jG4A2qUTyABaUWfeDIGIt08rQ3iwT7BPn0OnsK8yRoMzoFilnGfW5ccadiq2CuEQc/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-6157791865876859532</id><published>2012-03-09T22:37:00.000+09:00</published><updated>2012-03-09T22:37:31.094+09:00</updated><title type='text'>mac で LINE</title><content type='html'>ついにMacでLINEが使えるようになったようですね。&lt;br /&gt;
&amp;nbsp;iPhone版のLINEだと、メールアドレスの登録が出来ず、MacでLINEが使えない状態でしたが、&amp;nbsp;今回のバージョンアップ（2.0.0）でiPhoneでもアドレス登録ができるようになったようです。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1)iPhone 『設定』&amp;nbsp;−&amp;gt; アドレス登録&lt;br /&gt;
2)Macで設定&lt;br /&gt;
&lt;br /&gt;
で使えるみたいです。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR09BujfM5w_5bOvr6Ls2YoZjyGnMvO0bC-cqTytnNEL44SZE2ht7muTZZoJLu60zsMcASDSquIU7sbVAv9BUKRTXZCmFe_M9vGrQ2OVQCC1RHSmis39Kolc96KdDOH2yrHBy2zlpcXIM/s1600/%E5%86%99%E7%9C%9F.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR09BujfM5w_5bOvr6Ls2YoZjyGnMvO0bC-cqTytnNEL44SZE2ht7muTZZoJLu60zsMcASDSquIU7sbVAv9BUKRTXZCmFe_M9vGrQ2OVQCC1RHSmis39Kolc96KdDOH2yrHBy2zlpcXIM/s320/%E5%86%99%E7%9C%9F.PNG&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
でも、実際使ってみると、Skypeでいいんじゃね？って思ったりもしますｗ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/6157791865876859532/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2012/03/mac-line.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6157791865876859532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6157791865876859532'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2012/03/mac-line.html' title='mac で LINE'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR09BujfM5w_5bOvr6Ls2YoZjyGnMvO0bC-cqTytnNEL44SZE2ht7muTZZoJLu60zsMcASDSquIU7sbVAv9BUKRTXZCmFe_M9vGrQ2OVQCC1RHSmis39Kolc96KdDOH2yrHBy2zlpcXIM/s72-c/%E5%86%99%E7%9C%9F.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-5406819024379474276</id><published>2012-03-07T22:02:00.001+09:00</published><updated>2012-03-07T22:11:03.387+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><category scheme="http://www.blogger.com/atom/ns#" term="開発環境構築"/><title type='text'>Mac Book Air で CUDA</title><content type='html'>２年前に買ったAirですが、NVDIAのGPUだったことに今更気付いたw&lt;br /&gt;
&amp;nbsp;せっかくなのでCUDAで遊んでみる。
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXubjv2Y61Q__DrgrUNlbExzjLfp5-6RjfwCStHKgZCJ32QVSpGNvKVtjwV7lQqNjP7pnTBVN7Om_VDpSScqANX6p6C5ZRpfrAuX3gmCr_8cuv3In86igTUUQPoktWDHPnRUBqmHLIKfk/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-07+21.14.39.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXubjv2Y61Q__DrgrUNlbExzjLfp5-6RjfwCStHKgZCJ32QVSpGNvKVtjwV7lQqNjP7pnTBVN7Om_VDpSScqANX6p6C5ZRpfrAuX3gmCr_8cuv3In86igTUUQPoktWDHPnRUBqmHLIKfk/s320/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-07+21.14.39.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;今回はCUDA 4.1を使ってみます。&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;以下のサイトからDeveloper DriversとGPU Computing SDKとCUDA Toolkitをダウンロードします。&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;http://developer.nvidia.com/cuda-toolkit-41&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;ダウンロードが完了したら以下の順番でインストール。&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;(1)&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;Developer Drivers&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;(2)&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;CUDA Toolkit&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;(3)&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;GPU Computing SDK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;【以下のパスを通す】&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;PATH=/usr/local/cuda/bin:$PATH&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;【CUDAのlibの権限変更】&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;sudo chmod 755 /usr/local/cuda/lib&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;【コンパイル】&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;ディレクトリ移動&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;cd /Developer/GPU Computing/C&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;makeを実行し、ビルド&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;$make&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;【サンプル起動】&lt;/span&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;ビルドが完了したらサンプルのあるフォルダに移動&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;cd /Developer/GPU Computing/C/bin/darwin/release/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;ためしにマーチングキューブのサンプルを動かしてみる。&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;$./marchingCubes&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsaM_hBLjatAacV6YtapXZjr2VdpgNMZHrXrU46cO2YHtLLuJQtu1uHqyhGxStA4QW7WhjgVhaqRlRVdKbb7QhJ3E9moDjFHhIfqdeNoAjvIi828pG6KS5CtEb3V7WdLKnavI9if5P7yk/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-07+21.56.23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsaM_hBLjatAacV6YtapXZjr2VdpgNMZHrXrU46cO2YHtLLuJQtu1uHqyhGxStA4QW7WhjgVhaqRlRVdKbb7QhJ3E9moDjFHhIfqdeNoAjvIi828pG6KS5CtEb3V7WdLKnavI9if5P7yk/s320/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-07+21.56.23.png&quot; width=&quot;309&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/5406819024379474276/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2012/03/mac-book-air-cuda.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5406819024379474276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5406819024379474276'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2012/03/mac-book-air-cuda.html' title='Mac Book Air で CUDA'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXubjv2Y61Q__DrgrUNlbExzjLfp5-6RjfwCStHKgZCJ32QVSpGNvKVtjwV7lQqNjP7pnTBVN7Om_VDpSScqANX6p6C5ZRpfrAuX3gmCr_8cuv3In86igTUUQPoktWDHPnRUBqmHLIKfk/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2012-03-07+21.14.39.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-1542415422006158402</id><published>2012-02-18T15:03:00.002+09:00</published><updated>2012-02-18T15:09:18.641+09:00</updated><title type='text'>Tweetビューア（作成中）</title><content type='html'>iPadでTweetViewerを作成しようと思う。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TwitterのAPIには、『BASIC認証』と『OAuth』の2通りの方法が用意されているよう…&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
そんなこんなで、TweetDevに登録してみた。&lt;br /&gt;
&lt;br /&gt;
登録内容はこんな感じ？&lt;br /&gt;
&lt;br /&gt;
ApplicationName:アプリケーションの名前&lt;br /&gt;
Description:アプリの説明書&lt;br /&gt;
Application Website:説明ページのURL&lt;br /&gt;
Application Type:Client
Default Access type: Read &amp;amp; Write&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;登録が完了すると登録内容が表示されるので、『Consumer key』、『Consumer secret』メモ。&lt;br /&gt;
これらをiPadからのアクセス時に使用する。&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;※完了でき次第更新します。</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/1542415422006158402/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2012/02/tweet.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/1542415422006158402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/1542415422006158402'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2012/02/tweet.html' title='Tweetビューア（作成中）'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-44882910213454344</id><published>2012-01-23T00:17:00.004+09:00</published><updated>2012-01-23T00:17:36.795+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>AndroidでShoutCastサーバーにアクセスしてみた</title><content type='html'>思った以上に簡単だったのでメモメモ。。。

&lt;pre name=&quot;code&quot; class=&quot;java&quot;&gt;
MediaPlayer mediaPlayer = new MediaPlayer();
mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
mediaPlayer.setDataSource(url);
mediaPlayer.prepareAsync();
mediaPlayer.setOnPreparedListener(new OnPreparedListener() {
    @Override
    public void onPrepared(MediaPlayer mp) {
        mediaPlayer.start();
    }
});
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/44882910213454344/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2012/01/androidshoutcast.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/44882910213454344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/44882910213454344'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2012/01/androidshoutcast.html' title='AndroidでShoutCastサーバーにアクセスしてみた'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-1233023439678289689</id><published>2011-10-15T18:29:00.000+09:00</published><updated>2011-11-19T11:23:07.239+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="開発環境構築"/><title type='text'>Xcode 4.2にしてみた</title><content type='html'>【環境】&lt;br /&gt;
MacOSX 10.7.2&lt;br /&gt;
Xcode 4.0.1&lt;br /&gt;
&lt;br /&gt;
【インストール手順】&lt;br /&gt;
１．App Storeを起動&lt;br /&gt;
２．Xcodeで検索&lt;br /&gt;
３．インストールボタンを押す&lt;br /&gt;
４．Lanunchpad→XcodeInstallを押す&lt;br /&gt;
&lt;br /&gt;
以下の画面が表示されるので、『Update』を押す。
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHB_fhQyrJ2531sEVZVGcsjUNDcP-PEUk8kLC_xzD1Uve7TFykQjAb21iYi1f3qVhqv7gMWU4xET17iitMJhUsrXTXQQHtfkCyxRY2Q2tawILUhJJIpCBQjddFGxtxRpgwaanbO4Taj_s/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+17.58.04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHB_fhQyrJ2531sEVZVGcsjUNDcP-PEUk8kLC_xzD1Uve7TFykQjAb21iYi1f3qVhqv7gMWU4xET17iitMJhUsrXTXQQHtfkCyxRY2Q2tawILUhJJIpCBQjddFGxtxRpgwaanbO4Taj_s/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+17.58.04.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrKoCfUd0oiKuL80G3Yt8ilKzwj1grWQH658pddsCPsmDevq2x5uP76g7luCvpWElcPABw4LsU9rwTBvuQqMOdF2FkpwtigpkyxlejedsY2R1RLb90RJXz7d1tievJOU3h9VPmwsZxXXY/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+17.58.18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrKoCfUd0oiKuL80G3Yt8ilKzwj1grWQH658pddsCPsmDevq2x5uP76g7luCvpWElcPABw4LsU9rwTBvuQqMOdF2FkpwtigpkyxlejedsY2R1RLb90RJXz7d1tievJOU3h9VPmwsZxXXY/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+17.58.18.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs7gecwUHGs4gYTa7SpU6MbRoeMs_BST7RtpFHrj7nLtCCF9sF3vKiW9h27HUWopRoaWg5N5tTO0e7dBRaT3FHAXBdwzMtHzy6CVAhL8fnKWEKhdUxEPQSUv4hWHuIUkzeNMCBNpRs0_A/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+17.58.45.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs7gecwUHGs4gYTa7SpU6MbRoeMs_BST7RtpFHrj7nLtCCF9sF3vKiW9h27HUWopRoaWg5N5tTO0e7dBRaT3FHAXBdwzMtHzy6CVAhL8fnKWEKhdUxEPQSUv4hWHuIUkzeNMCBNpRs0_A/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+17.58.45.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
インストール完了すると、Xcodeが起動されるので、Xcode→『About Xcode』でバージョンを確認する。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-23gj319bhKGTaE3jMm7O6IRuZc_OG9fPPCnIheuDDYwwxv73_Op3PwhHqifDBbDz6VhAiyNvzt60JB4r6QMihh-if7yDBo5McPQlZweO2gYliVl452-bdvn-quAWLQgWXKn0POetUsc/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+18.17.40.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;291&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-23gj319bhKGTaE3jMm7O6IRuZc_OG9fPPCnIheuDDYwwxv73_Op3PwhHqifDBbDz6VhAiyNvzt60JB4r6QMihh-if7yDBo5McPQlZweO2gYliVl452-bdvn-quAWLQgWXKn0POetUsc/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+18.17.40.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
以上でインストール完了。</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/1233023439678289689/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2011/10/xcode-42.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/1233023439678289689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/1233023439678289689'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2011/10/xcode-42.html' title='Xcode 4.2にしてみた'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHB_fhQyrJ2531sEVZVGcsjUNDcP-PEUk8kLC_xzD1Uve7TFykQjAb21iYi1f3qVhqv7gMWU4xET17iitMJhUsrXTXQQHtfkCyxRY2Q2tawILUhJJIpCBQjddFGxtxRpgwaanbO4Taj_s/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2011-10-15+17.58.04.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-6931733219016482590</id><published>2011-09-19T15:11:00.000+09:00</published><updated>2011-11-19T11:21:27.393+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><title type='text'>CentOS のファイアーウォールの停止方法</title><content type='html'>ファイアーウォールのステータス確認&lt;br /&gt;
/etc/init.d/iptables status&lt;br /&gt;
&lt;br /&gt;
ファイアーウォールの停止&lt;br /&gt;
/etc/init.d/iptables stop&lt;br /&gt;
&lt;br /&gt;
ファイアーウォールの開始&lt;br /&gt;
/etc/init.d/iptables start</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/6931733219016482590/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2011/09/centos.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6931733219016482590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/6931733219016482590'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2011/09/centos.html' title='CentOS のファイアーウォールの停止方法'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-4294228155424232656</id><published>2011-09-19T15:07:00.000+09:00</published><updated>2011-11-19T11:21:27.355+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><title type='text'>CentOS 5.5のnasマウント方法</title><content type='html'>sambaのパッケージをインストール。&lt;br /&gt;
yum -install samba-client&lt;br /&gt;
&lt;br /&gt;
マウントするディレクトリの作成（任意）&lt;br /&gt;
mkdir /mnt/nas&lt;br /&gt;
&lt;br /&gt;
作成したディレクトリにマウントする。&lt;br /&gt;
mount -t cifs -o user=（ユーザー名）,password=（パスワード） //（IPアドレス等）/share /mnt/nas</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/4294228155424232656/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2011/09/centos-55nas.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/4294228155424232656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/4294228155424232656'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2011/09/centos-55nas.html' title='CentOS 5.5のnasマウント方法'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-5320136781180817725</id><published>2011-05-24T12:36:00.000+09:00</published><updated>2011-11-19T11:21:27.377+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><title type='text'>Implementation of the USB 2.0 Controller not foundの対処法</title><content type='html'>VirtualBox 4.0.8 にバージョンアップ。&lt;br /&gt;
&lt;br /&gt;
仮想マシン起動時に以下の様なメッセージが表示された。&lt;br /&gt;
&lt;br /&gt;
Implementation of the USB 2.0 Controller not found&lt;br /&gt;
&lt;br /&gt;
どうやらVirtualBox 4.0.8 Oracle VM VirtualBox Extension Packがインストールされていなかったためらしい。&lt;br /&gt;
&lt;br /&gt;
ここから（http://www.virtualbox.org/wiki/Downloads）をダウンロード＆インストールで解決しました。</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/5320136781180817725/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2011/05/implementation-of-usb-20-controller-not.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5320136781180817725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/5320136781180817725'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2011/05/implementation-of-usb-20-controller-not.html' title='Implementation of the USB 2.0 Controller not foundの対処法'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-949696010794539970</id><published>2011-04-17T20:04:00.000+09:00</published><updated>2013-07-07T15:43:23.894+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><title type='text'>UIAvtionSheetのキャンセルボタンが効かない？</title><content type='html'>ツールバーがあるとActionSheetのキャンセルボタンの下半分がきかない。&lt;br /&gt;
&lt;br /&gt;
変更前&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;UIActionSheet *actionSheet = [[UIActionSheet alloc] init];
actionSheet.title = @&quot;タイトル&quot;;
[actionSheet addButtonWithTitle:@&quot;決定&quot;];
[actionSheet addButtonWithTitle:@&quot;キャンセル&quot;];
actionSheet.cancelButtonIndex = 1;
actionSheet.destructiveButtonIndex = 0;
actionSheet.delegate = self;
[actionSheet showInView:self.view];
&lt;/pre&gt;&lt;br /&gt;
変更後&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;UIActionSheet *actionSheet = [[UIActionSheet alloc] init];
actionSheet.title = @&quot;タイトル&quot;;
[actionSheet addButtonWithTitle:@&quot;決定&quot;];
[actionSheet addButtonWithTitle:@&quot;キャンセル&quot;];
actionSheet.cancelButtonIndex = 1;
actionSheet.destructiveButtonIndex = 0;
actionSheet.delegate = self;
[sheet showInView:self.view.window];
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/949696010794539970/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2011/04/uiavtionsheet.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/949696010794539970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/949696010794539970'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2011/04/uiavtionsheet.html' title='UIAvtionSheetのキャンセルボタンが効かない？'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-8212353762605226011</id><published>2011-04-17T18:09:00.003+09:00</published><updated>2013-09-23T09:14:38.043+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="開発"/><title type='text'>UIAlertViewをカスタマイズするには</title><content type='html'>UIAlertViewのカスタマイズにつまずいたのでメモ。&lt;br /&gt;
通常UIAlertViewを表示したい場合、以下のようなコードを作成する...と思う。&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@&quot;タイトル&quot; 
    message:@&quot;メッセージ&quot; 
    delegate:self 
    cancelButtonTitle:@&quot;キャンセル&quot; 
    otherButtonTitles:@&quot;決定&quot;, nil] autorelease];
[alert show];
&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIH2oDSXdeyizIR_pvmiQDQmSMcwf85DADodJvnjFftA6-k3O_bfHTVfHo90VrYAuXt4zVTJsAistSxkok_Er_6SkWD6MX3C9uLJsDo4sHEVRICuk1aEIsQzHHrIGOHjBx3O_uc8qPhBM/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-04-16+16.47.58%25EF%25BC%2589.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIH2oDSXdeyizIR_pvmiQDQmSMcwf85DADodJvnjFftA6-k3O_bfHTVfHo90VrYAuXt4zVTJsAistSxkok_Er_6SkWD6MX3C9uLJsDo4sHEVRICuk1aEIsQzHHrIGOHjBx3O_uc8qPhBM/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-04-16+16.47.58%25EF%25BC%2589.png&quot; width=&quot;170&quot; title=”UIAlertView Custom カスタム” alt=”UIAlertView Custom カスタム“/&gt;
&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
サイズを変更したかったので、showメソッドの前でframeを変更する。&lt;br /&gt;
が、考慮されない模様。&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@&quot;タイトル&quot; 
    message:@&quot;メッセージ&quot; 
    delegate:self 
    cancelButtonTitle:@&quot;キャンセル&quot; 
    otherButtonTitles:@&quot;決定&quot;, nil] autorelease];
    alert.frame = CGRectMake(0,0,150,150);//サイズ変更が考慮されない
[alert show];
&lt;/pre&gt;
&lt;br /&gt;
どうやら[alert show]した後でないとカスタマイズできない。&lt;br /&gt;
なので、以下のようにUIAlertViewDelegateの- (void)willPresentAlertView:(UIAlertView *)alertViewの中でalertViewのサイズを変更する。&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;-(void)willPresentAlertView:(UIAlertView *)alertView{
    CGRect alertFrame = CGRectMake(0,0,320,360);
    alertView.frame = alertFrame;
}
&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt4qPAzeU_B2LijhFGQGmrUKLelmYI_TIjuX1ySEkVL_BasHC3kRKaBQ6JUludw8SGidzr_KKU_3PaLtaDrRW8SuDQFcEXSDliBwHkX3z_Vx99AJHN0rUahrMp1d4veFYgmOlYXvf5Qoo/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-04-16+16.56.25%25EF%25BC%2589.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt4qPAzeU_B2LijhFGQGmrUKLelmYI_TIjuX1ySEkVL_BasHC3kRKaBQ6JUludw8SGidzr_KKU_3PaLtaDrRW8SuDQFcEXSDliBwHkX3z_Vx99AJHN0rUahrMp1d4veFYgmOlYXvf5Qoo/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-04-16+16.56.25%25EF%25BC%2589.png&quot; width=&quot;170&quot;  title=”UIAlertView Custom カスタム” alt=”UIAlertView Custom カスタム“/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
当然ながらサイズを変更するとボタンの位置も変更したくなるので、以下のコードで無理やり変更。&lt;br /&gt;
ここでUIAlertViewのボタンはUIButtonではないので注意！！&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;for (UIView* view in alertView.subviews) {
    if ([view isKindOfClass:NSClassFromString(@&quot;UIThreePartButton&quot;)])
        view.frame = CGRectMake(x,y,width,height);
}
&lt;/pre&gt;
&lt;br /&gt;
てか、UIThreePartButtonって何？ｗ</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/8212353762605226011/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2011/04/uialertview.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/8212353762605226011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/8212353762605226011'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2011/04/uialertview.html' title='UIAlertViewをカスタマイズするには'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIH2oDSXdeyizIR_pvmiQDQmSMcwf85DADodJvnjFftA6-k3O_bfHTVfHo90VrYAuXt4zVTJsAistSxkok_Er_6SkWD6MX3C9uLJsDo4sHEVRICuk1aEIsQzHHrIGOHjBx3O_uc8qPhBM/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-04-16+16.47.58%25EF%25BC%2589.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-951704726915459838.post-7938822667251469089</id><published>2011-03-13T17:07:00.008+09:00</published><updated>2011-11-19T11:22:27.101+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="開発環境構築"/><title type='text'>MacでAndroid開発環境を整える</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;Andoroisd開発の機会があったので、メモを残しておきます。&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;【流れ】&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;1.Eclipse のインストール&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;2.Android SDK のインストール&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;3.emulator の設定&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
1.Eclipseのインストール&lt;br /&gt;
&lt;br /&gt;
Eclipse 3.5(Galileo)をインストールします。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.eclipse.org/downloads/&quot;&gt;http://www.eclipse.org/downloads/ &lt;/a&gt;からEclipse IDE for Developersをダウンロードします。&lt;br /&gt;
ダウンロードしたzipファイルを展開して、アプリケーションフォルダに保存します。&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihyh5EXGV2HioR4Scck9yy_dNcPQxB4a5Tb7gcGsZO52c9YbLenUG8s8sVkYzVcaaMMNDP-2xlRUHBnPHBf3lTd_LSEU8jWKh1PXHdBJ5_5tGllSt8UTjqO_nGmrsGqEhVnG19e1YL3eg/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-03-06+16.31.02%25EF%25BC%2589.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihyh5EXGV2HioR4Scck9yy_dNcPQxB4a5Tb7gcGsZO52c9YbLenUG8s8sVkYzVcaaMMNDP-2xlRUHBnPHBf3lTd_LSEU8jWKh1PXHdBJ5_5tGllSt8UTjqO_nGmrsGqEhVnG19e1YL3eg/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-03-06+16.31.02%25EF%25BC%2589.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Helvetica;&quot;&gt;&lt;br /&gt;
（日本語化する場合）&lt;br /&gt;
&lt;a href=&quot;http://sourceforge.jp/projects/mergedoc/svn/view/trunk/Pleiades/build/pleiades.zip?view=co&amp;amp;root=mergedoc&quot;&gt;http://sourceforge.jp/projects/mergedoc/svn/view/trunk/Pleiades/build/pleiades.zip?view=co&amp;amp;root=mergedoc&lt;/a&gt;から日本語化プラグインインストールをダウンロードします。&lt;br /&gt;
&lt;br /&gt;
ダウンロードしたzipファイルを解凍し、フォルダ内にあるpluginsとfeaturesの中にあるファイルを、Eclipseのpluginsとfeaturesに移動する。&lt;br /&gt;
&lt;br /&gt;
次に、eclipse.ini ファイルを編集します。&lt;br /&gt;
アプリケーションフォルダからeclipse/Eclipse.app/Contents/MacOS/eclipse.iniを開いて、最後の行に以下を追加します。&lt;br /&gt;
&lt;br /&gt;
-javaagent:../../../plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.Android SDKのインストール&lt;br /&gt;
&lt;br /&gt;
Download the Android SDK(&lt;a href=&quot;http://developer.android.com/sdk/index.html&quot;&gt;http://developer.android.com/sdk/index.html&lt;/a&gt;)から&lt;br /&gt;
android-sdk_r06-mac_86.zipをダウンロードします。&lt;br /&gt;
&lt;br /&gt;
展開した後、アプリケーションフォルダに移動します。（どこでもOK？）&lt;br /&gt;
&lt;br /&gt;
Eclipse.appを起動して、［ヘルプ］＞［新規ソフトウェアのインストール…］を開きます。&lt;br /&gt;
&lt;br /&gt;
［追加…］をクリックするとダイアログが開くので、任意の名前をつけてロケーションに &lt;a href=&quot;https://dl-ssl.google.com/android/eclipse/&quot;&gt;https://dl-ssl.google.com/android/eclipse/&lt;/a&gt;を追加します。&lt;br /&gt;
&lt;br /&gt;
Developer Toolsをチェックして、ライセンスの同意を経て、インストールを完了します。&lt;br /&gt;
再起動したら、［Eclipse］＞［環境設定］から、AndroidのSDKロケーションをSDKを置いた場所に設定します。&lt;br /&gt;
&lt;br /&gt;
［ウィンドウ］＞［Android SDK および AVD マネージャー］を開いて、左側の［Available Packages］をクリック、必要なパッケージをチェックしてインストールします。&lt;br /&gt;
&lt;br /&gt;
次に、.bash_profileにtoolのパスを通します。&lt;br /&gt;
export PATH=$PATH:/Applications/android-sdk-mac_86/tools&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.emulator の設定&lt;br /&gt;
エミュレータを起動する前に、AVM(Android Virtual Machine)を作成しておく必要があります。&lt;br /&gt;
&lt;br /&gt;
［ウィンドウ］＞［Android SDK および AVD マネージャー］を開きます。&lt;br /&gt;
左側にある［Virtual Devices］を開いて、［新規…］をクリックします。&lt;br /&gt;
&lt;br /&gt;
名前を適当につけて、ターゲットを選びます。&lt;br /&gt;
&lt;br /&gt;
SD Cardのサイズ、Skinのサイズなどを適当に設定して、［Create AVD］をクリックします。&lt;br /&gt;
&lt;br /&gt;
Virtual Machineができたら、どれかひとつ選んで［開始…］とすれば、エミュレータが起動します。&lt;br /&gt;
&lt;br /&gt;
正しいかどうかは分からないので、あくまで参考までに…&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alginplus.blogspot.com/feeds/7938822667251469089/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://alginplus.blogspot.com/2011/03/acandroid-andoroisd-1.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/7938822667251469089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/951704726915459838/posts/default/7938822667251469089'/><link rel='alternate' type='text/html' href='http://alginplus.blogspot.com/2011/03/acandroid-andoroisd-1.html' title='MacでAndroid開発環境を整える'/><author><name>algin_plus</name><uri>http://www.blogger.com/profile/03638457950626878606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihyh5EXGV2HioR4Scck9yy_dNcPQxB4a5Tb7gcGsZO52c9YbLenUG8s8sVkYzVcaaMMNDP-2xlRUHBnPHBf3lTd_LSEU8jWKh1PXHdBJ5_5tGllSt8UTjqO_nGmrsGqEhVnG19e1YL3eg/s72-c/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588%25EF%25BC%25882011-03-06+16.31.02%25EF%25BC%2589.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>