Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I ios-tutorial
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ios-general
  • ios-tutorial
  • Wiki
  • swift

Last edited by Artem Kalmykov Nov 19, 2016
Page history

swift

Swift

https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/index.html#//apple_ref/doc/uid/TP40014097-CH3-ID0

https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTour.html#//apple_ref/doc/uid/TP40014097-CH2-ID1

https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/TheBasics.html#//apple_ref/doc/uid/TP40014097-CH5-ID309

https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html

You should do the following:

  1. Create a branch from develop called feature/swift.
  2. Read about what is Swift, how it is used and how to use it with Objective-C.
  3. Add “Edit” button as a left navigation bar button item of MasterViewController.
  4. Create OrganizationInfoViewController in Swift, which is shown by tapping “Edit” button.
  5. Add “organization” property to the controller, which should be somehow obtained.
  6. Add “Calculate salary sum” button to the controller, which calculates the sum of salaries of all employees of the organization and outputs it in UIAlertController with a single “OK” button. This value should be stored in an optional variable called “salarySum”.
  7. Create a pull request from your branch to develop.

You should be able to answer the following questions:

  • What is Swift?
  • What is Swift’s current version?
  • What is the difference between class, struct and enum?
  • What are access controls in Swift?
  • What are optionals? How can they be unwrapped?
  • What is bridging header?
  • How do Swift and Objective-C work together in a single project?
  • What is UIAlertController?
Clone repository
  • autolayout
  • basic core data
  • basic networking
  • cocoapods
  • delegation
  • gcd and math
  • git tutorial
  • Home
  • ios basics
  • notifications
  • objective c basics
  • swift
  • ui table view