#caos2015
kurayamijump
- Google製の新しい画像フォーマット
- 小さい
#caos2015
kurayamijump
| package net.yanzm.profileapplication; | |
| import android.animation.Animator; | |
| import android.animation.AnimatorListenerAdapter; | |
| import android.animation.AnimatorSet; | |
| import android.animation.ObjectAnimator; | |
| import android.app.Activity; | |
| import android.app.AlertDialog; | |
| import android.content.DialogInterface; | |
| import android.content.Intent; |
| package net.yanzm.profileapplication; | |
| import android.animation.Animator; | |
| import android.animation.AnimatorListenerAdapter; | |
| import android.animation.AnimatorSet; | |
| import android.animation.ObjectAnimator; | |
| import android.app.Activity; | |
| import android.app.FragmentManager; | |
| import android.content.Intent; | |
| import android.net.Uri; |
どうもnuma08です。
連絡が遅くなりましたが、今夜の流れについて簡単にご説明をさせて頂きます。
まず、ざっくりとしたタイムテーブルは次の様な感じになります。
| protocol A {} | |
| protocol B: A { | |
| func b() {} | |
| } | |
| protocol C: A { | |
| func c(){} | |
| } |
| class MyClass { | |
| func doSomethin() { | |
| //do something! | |
| //not return value!! | |
| } | |
| } | |
| var myproperty : MyClass? = MyClass() | |
| let bock : () -> () = {[unowned self] |
| //It's OK | |
| func range(start: Int, end: Int) -> [Int] { | |
| var _range : ((Int, Int, [Int]) -> [Int])! | |
| _range = {(s, e, l) in | |
| if s == e { | |
| return l | |
| } | |
| var nl = l | |
| nl.append(s) | |
| return _range(s + 1, e, nl) |
| class AbstractAPI<T> { | |
| typealias Callback = T | |
| var caller: ((Callback) -> ())? | |
| func start(callback: (Callback) -> ()) { | |
| caller = callback | |
| } | |
| func completed() {} |