• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

PokéDiaでは非公開APIは使っていないのですが、
iPhone OS 2.0から iPhone OS 2.1, 2.2, 2.2.1, そして3.0と、OSのバージョンアップにあわせて変動する微妙な挙動の変化への対応などから、相当な歪みが蓄積している状態になってしまっています。
特に任意の場所でテキスト入力を実現する機能の実現に非常に苦労しており、OS 3.0では画面端での日本語入力の変換候補選択がうまく行かない問題等も出てきました。
また、作者の環境では発生しないために修正ができないバグなども多数報告いただいています。

そこで、現状のPokéDiaの開発はデータのエクスポータを用意して一旦停止し、
フルスクラッチで書き直す事を検討しています。

  • 操作をシンプルにするために、縦スクロールを無くしてページを追加できるようにします。
  • データが消えるという問題には、Appleが動作検証をしているCoreDataを利用する事で対応します。
  • 任意位置でのテキスト入力はUITextViewの挙動が不安定なので、表示と編集を分離する方向を検討しています。
  • 機能制限つきの無料版と、有料版の2つを用意します。
    • 既にPokéDiaを買って頂いている方は、エクスポートしたデータを無料版にインポートすると、有料版と同じ機能が使えるようになる予定。
  • 言語リソースはオンラインから取得

などなど。

posted by genki genki on Wed 29 Jul 2009 at 18:11 with 0 comments

細かい点ですが、メールアドレスの登録をアドレスブックから行えるようにしました。

絵文字キーボードの利用が出来なくなる可能性があるようなので("Apple issues App Store-wide Emoji take-down order")、
独自に絵文字の文字コードを入力するためのキーボードを用意する事を考えています。
次のアップグレードでは、祝日の詳細を表示する機能の実装を予定していましたが、緊急性から、絵文字キーボードの実装が完了した時点でアップデート申請を行うかもしれません。

posted by genki genki on Fri 27 Feb 2009 at 20:27 with 0 comments

restful_open_id_authenticationプラグイン
でOpenIDストアに使用していたDBを
ruby-openid 2.0に移行させるためのマイグレーション。
ruby-openid 2.0のexamplesから抜粋。

rails>>

Use this migration to upgrade the old 1.1 ActiveRecord store schema

to the new 2.0 schema.

class UpgradeOpenIdStore < ActiveRecord::Migration
def self.up
drop_table "open_id_settings"
drop_table "open_id_nonces"
create_table "open_id_nonces", :force => true do |t|
t.column :server_url, :string, :null => false
t.column :timestamp, :integer, :null => false
t.column :salt, :string, :null => false
end
end

def self.down
drop_table "open_id_nonces"
create_table "open_id_nonces", :force => true do |t|
t.column "nonce", :string
t.column "created", :integer
end

create_table "open_id_settings", :force => true do |t|
  t.column "setting", :string
  t.column "value", :binary
end

end
end
<<--

ちなみにオリジナルのプラグインが生成したマイグレーションコードはこちら。

rails>>
create_table :open_id_associations, :force => true do |t|
t.column :server_url, :binary
t.column :handle, :string
t.column :secret, :binary
t.column :issued, :integer
t.column :lifetime, :integer
t.column :assoc_type, :string
end

create_table :open_id_nonces, :force => true do |t|
  t.column :nonce,        :string
  t.column :created,      :integer
end

create_table :open_id_settings, :force => true do |t|
  t.column :setting,      :string
  t.column :value,        :binary
end

<<--

open_id_settingsは不要になって、open_id_nounces
内容が変わります。

posted by genki genki on Fri 21 Dec 2007 at 06:34 with 0 comments