@@ -223,7 +223,7 @@ struct ArgumentList {
223
223
var arguments : String [ ]
224
224
225
225
init ( argv: UnsafePointer < CString > ,
226
- count: CInt )
226
+ count: CInt )
227
227
{
228
228
foo
229
229
}
@@ -249,9 +249,9 @@ func simpleDescription() -> String {
249
249
250
250
let library = [
251
251
Movie ( name: " foo bar " ,
252
- dfasdfsdfdirector: " someone " ,
253
- foo: " bar " ,
254
- bazzzer: " qux " )
252
+ dfasdfsdfdirector: " someone " ,
253
+ foo: " bar " ,
254
+ bazzzer: " qux " )
255
255
]
256
256
257
257
@@ -266,7 +266,9 @@ class MainViewController: UIViewController, UITableViewDataSource {}
266
266
267
267
@IBAction func changePostFilter( sender: UISegmentedControl ) { }
268
268
override func prepareForSegue( segue: UIStoryboardSegue ,
269
- sender: AnyObject ) { }
269
+ sender: AnyObject ) { }
270
+ override func prepareForSegue(
271
+ segue: UIStoryboardSegue , sender: AnyObject ) { }
270
272
override func prepareForSegue( segue: UIStoryboardSegue ! , sender: AnyObject ! ) { }
271
273
override func prepareForSegue( segue: UIStoryboardSegue , sender: AnyObject ! ) { }
272
274
lazy var foo : String
@@ -293,7 +295,7 @@ func foo () {
293
295
}
294
296
295
297
let foo = CGRectMake ( 0 , ( 5 - 2 ) ,
296
- 100 , 200 )
298
+ 100 , 200 )
297
299
298
300
299
301
let dict = [
@@ -351,10 +353,10 @@ let data = NSData(contentsOfFile: path) else
351
353
}
352
354
353
355
UIView . animateWithDuration ( duration, delay: 0 , usingSpringWithDamping: 0.8 , initialSpringVelocity: 0 , options: . CurveEaseInOut, animations: {
354
- view. backgroundColor = UIColor . redColor ( )
355
- } ) { finished in
356
- print ( " indent? " )
357
- }
356
+ view. backgroundColor = UIColor . redColor ( )
357
+ } , completion : { finished in
358
+ print ( " indent? " )
359
+ } )
358
360
359
361
// Indent last line should hold
360
362
self . init ( className: " Item " , dictionary: [
@@ -374,3 +376,16 @@ NSWorkspace.sharedWorkspace().notificationCenter.addObserver(
374
376
public func find( closure: @noescape Element throws -> Bool ) rethrows -> Element ? {
375
377
376
378
}
379
+
380
+ UIView . animate ( withDuration: 0.2 , animations: {
381
+ self . foo. alpha = 1.0
382
+ self . bar. alpha = 1.0
383
+ } , completion: { _ in
384
+ completion ( )
385
+ } )
386
+
387
+ A . b ( ) . application (
388
+ application, didFinishLaunchingWithOptions: launchOptions)
389
+
390
+ A . application ( b ( ) ,
391
+ application, didFinishLaunchingWithOptions: launchOptions)
0 commit comments