Swift Programming Language Presentation

download Swift Programming Language Presentation

of 38

  • date post

    05-Aug-2015
  • Category

    Technology

  • view

    62
  • download

    3

Embed Size (px)

Transcript of Swift Programming Language Presentation

1. Swift 2. 3. T ? Xcode IDE Swift Programming Language 4. ? Mac Xcode IDE 5. 25 2015 Xcode IDE Swift ( Variables, Constants, Arrays, Dictionaries, Optionals, Strings). Auto Layout, Navigation Bars, Segues. 6. Introduction to Swift 7. Int = 1, 3, 800, 6500 Float or Double = 1.5, 3,54, 878.678 Bool = true, false String = Kermit, Gonzo Class Name = UIView, UIButton etc 8. var name : type = value var name value= 9. vs 10. Demo 11. Introduction to Swift Optionals 12. Optionals Optionals nil nil if- let syntax 13. Introduction to Swift Strings 14. Strings! character Strings Strings mutable, immutable 15. Swift Unicode Strings Unicode O Swift Unicode 16. Demo 17. Introduction to Swift Arrays 18. Swift Arrays Arrays . . Arrays item 1 = [ , , ]item 2 19. Array Bridging Swift Arrays bridge NSArrays bridge swift, ( objects ), AnyObject bridge NSArray, AnyObject Array 20. Demo 21. ? : 201: Agis Room : Agis: 19 : Arrays 22. ... = [ : , : , ] key 1 key 2value 1 value 2 . ( Lookup values) Optionals 23. Dictionary Bridging Swift bridge NSDictionaries. . NSDictionaries swift, AnyObject. 24. Introduction to Swift If - for - while 25. if if Condition else Conditionelse if { Statements } boolean { Statements } { Statements } 26. 26 2015 Table Views, Persistence Storage. Creating our first app, Accessing Web Content. 27. UITableView (Class) UIScrollView To Table UITableView Plain Grouped. . ( Section). . 28. UITableView UITableView.Plain .Grouped ( Dynamic List) & Plain (ungrouped) & grouped 29. UITableView Plain Style Table Header var tableHeaderView: UIView 30. UITableView Plain Style Table Footer var tableFooterView: UIView 31. UITableView Plain Style ( section ) 32. UITableView UITableViewDataSources tableView (UITableView, titleForHeaderSection: Int) Plain Style (header section ) 33. UITableView Plain Style UITableViewDataSources tableView (UITableView, titleForFooterSection: Int) (footer section ) 34. UITableView Plain Style UITableViewDataSources tableView (UITableView, cellForRowAtIndexPath: NSIndexPath) 35. 36. Subtitle UITableViewCellStyle.Subtitl e Basic .Default Right Detail .Value1 Left Detail .Value2 37. UITableView Protocols ; H UITableView dataSource delegate delegate . dataSource 38. UITableView Protocols dataSource; (data) 3 : ; ; , .