Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Open Source Swift Workshop - swift-corelibs-foundation

Open Source Swift Workshop - swift-corelibs-foundation

Open Source Swift Workshop at try! Swift Tokyo 2019

https://www.tryswift.co/events/2019/tokyo/jp/#open-source-swift

Sho Ikeda

March 23, 2019
Tweet

More Decks by Sho Ikeda

Other Decks in Programming

Transcript

  1. Open Source Swift
    Workshop
    swift-corelibs-foundation
    Sho Ikeda / @ikesyo
    try! Swift Tokyo 2019
    2019-03-23 Sat
    #tryswiftconf

    View full-size slide

  2. Sho Ikeda
    • @ikesyo
    • Hatena Co., Ltd. in Kyoto
    • https://github.com/ikesyo
    • swift-corelibs-foundation
    Contributor

    View full-size slide

  3. swift-corelibs-foundation
    • One of the Swift Core Libraries
    • https://swift.org/core-libraries
    • Foundation
    • libdispatch
    • XCTest

    View full-size slide

  4. swift-corelibs-foundation
    • https://github.com/apple/swift-corelibs-foundation
    • Re-implementing Foundation framework with Swift
    • The original one on Apple platforms is built with
    Objective-C

    View full-size slide

  5. Getting Started
    • https://github.com/apple/swift-corelibs-foundation/blob/
    master/Docs/GettingStarted.md
    • You'll need:
    • master: Xcode 10.2 beta 4
    • swift-4.2-branch: Xcode 10.1
    • utils/update-checkout --scheme swift-4.2-
    branch

    View full-size slide

  6. Getting Started
    1. cd swift-source/swift-corelibs-foundation
    2. Open Foundation.xcworkspace
    3. Development: Build the SwiftFoundation target.
    4. Testing: Run (Cmd-R) the TestFoundation target.

    View full-size slide

  7. How to tackle it
    • Implementation Status Page
    • https://github.com/apple/swift-corelibs-foundation/blob/
    master/Docs/Status.md
    • Implement unimplemented claases / features
    • Add test cases

    View full-size slide

  8. How to tackle it
    • https://bugs.swift.org
    • Check Foundation Component
    • project = SR AND component = Foundation AND
    status = Open ORDER BY created DESC
    • https://bugs.swift.org/issues/?
    jql=project%20%3D%20SR%20AND%20component%20
    %3D%20Foundation%20AND%20status%20%3D%20Op
    en%20ORDER%20BY%20created%20DESC

    View full-size slide

  9. !
    try! Open Source Swift

    View full-size slide

  10. Thank you
    Sho Ikeda / @ikesyo

    View full-size slide