の回避方法。
freetypeの最新バージョンをソースからインストールして、 .zshrcあたりに以下を設定
1 export DYLD_LIBRARY_PATH=/u sr/local/l ib:$DYLD_LIBRA RY_PATH
prefix=/us
を想定。
MacOSのバージョンアップが原因で発生するようになったらしい。
の回避方法。
freetypeの最新バージョンをソースからインストールして、 .zshrcあたりに以下を設定
1 export DYLD_LIBRARY_PATH=/u sr/local/l ib:$DYLD_LIBRA RY_PATH
prefix=/us
を想定。
MacOSのバージョンアップが原因で発生するようになったらしい。
The main reason of which I was felt in love with Merb is it uses same context for controller
The reason Rails3 doesn't is probably for caching.
If the view has many outer variables that affects its result, the cache key tends to be very complicate
But in these days, I am doubting the use of those caching.
Now we don't use browsers that has no capability
In conclusion
長いジョブを実行中に UIActivity
1 UIActivityIndicatorV iew* wAI = [ [ [ UIActivity IndicatorV iew alloc ] initWithAc tivityIndi catorStyle :UIActivity IndicatorV iewStyleWh iteLarge ] autoreleas e ]; 2 [ [ UIApplicat ion sharedAppl ication ].keyWindow addSubview :wAI ]; 3 wAI.center = CGPointMak e( 160, 240 ); 4 [ wAI startAnima ting ]; 5 [ self 長いジョブ ]; 6 [ wAI removeFrom Superview ]; 7
表示させるための一つ目のアイディアは以下のように currentRun
1 [ wAI startAnimating ]; 2 [ NSRunLoop.currentRun Loop runUntilDa te:[ NSDate dateWithTi meInterval SinceNow:0.0 ] ]; 3 [ self LongJob ];
2つ目のアイディアはジョブとインディケータを currentRun
1 wAI.startAnimating; 2 [ self performSel ector:@selector(LongJob) withObject :nil afterDelay :0 ]; 3 [ wAI performSel ector:@selector(removeFrom Superview) withObject :nil afterDelay :0 ]; 4
ネットで別スレッドでやってる例をよく見るが、その必要はない。
単に currentRun