mirror of
https://github.com/keith/swift.vim.git
synced 2025-12-17 12:00:25 +01:00
Update example
This commit is contained in:
@@ -267,6 +267,8 @@ class MainViewController: UIViewController, UITableViewDataSource {}
|
||||
@IBAction func changePostFilter(sender: UISegmentedControl) {}
|
||||
override func prepareForSegue(segue: UIStoryboardSegue,
|
||||
sender: AnyObject) {}
|
||||
override func prepareForSegue(
|
||||
segue: UIStoryboardSegue, sender: AnyObject) {}
|
||||
override func prepareForSegue(segue: UIStoryboardSegue!, sender: AnyObject!) {}
|
||||
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject!) {}
|
||||
lazy var foo : String
|
||||
@@ -352,9 +354,9 @@ let data = NSData(contentsOfFile: path) else
|
||||
|
||||
UIView.animateWithDuration(duration, delay: 0, usingSpringWithDamping: 0.8, initialSpringVelocity: 0, options: .CurveEaseInOut, animations: {
|
||||
view.backgroundColor = UIColor.redColor()
|
||||
}) { finished in
|
||||
}, completion: { finished in
|
||||
print("indent?")
|
||||
}
|
||||
})
|
||||
|
||||
// Indent last line should hold
|
||||
self.init(className: "Item", dictionary: [
|
||||
@@ -374,3 +376,16 @@ NSWorkspace.sharedWorkspace().notificationCenter.addObserver(
|
||||
public func find(closure: @noescape Element throws -> Bool) rethrows -> Element? {
|
||||
|
||||
}
|
||||
|
||||
UIView.animate(withDuration: 0.2, animations: {
|
||||
self.foo.alpha = 1.0
|
||||
self.bar.alpha = 1.0
|
||||
}, completion: { _ in
|
||||
completion()
|
||||
})
|
||||
|
||||
A.b().application(
|
||||
application, didFinishLaunchingWithOptions: launchOptions)
|
||||
|
||||
A.application(b(),
|
||||
application, didFinishLaunchingWithOptions: launchOptions)
|
||||
|
||||
Reference in New Issue
Block a user