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

The Peak Framework

Luke Stringer
February 03, 2019

The Peak Framework

The Peak Framework is a collection of open source, 100% Swift microframeworks providing a standardised approach to building iOS apps. This talk will cover the how and why the mobile team at 3Squared created the Peak Framework, their progress in updating legacy projects to use more and more Swift, and a demo of how the frameworks can be used in building a simple app talking to a web api.

Luke Stringer

February 03, 2019
Tweet

More Decks by Luke Stringer

Other Decks in Technology

Transcript

  1. The Peak Framework

    View full-size slide

  2. Sam Oakley
    @Sam_Oakley
    Luke Stringer
    @lukestringer90

    View full-size slide

  3. Powerful business applications to support the
    operations of today’s modern rail operators.

    View full-size slide

  4. NSManchester February 2017

    View full-size slide

  5. EDS MCA IFM TM
    PAM SE MTISA ERTMS
    You Docs Forms Hub

    View full-size slide

  6. PAM
    TM
    IFM
    You
    ERTMS
    SE
    EDS
    MCA
    Docs
    MTISA
    Forms
    Hub 1%
    1%
    5%
    8%
    22%
    33%
    85%
    85%
    92%
    97%
    99%
    100%
    % Swift % Obj-C
    25/09/2017
    20/11/2018
    20/10/2016
    05/03/2018
    15/07/2016
    03/11/2016
    15/09/2014
    17/04/2014
    06/08/2013
    08/09/2015
    18/09/2013
    15/07/2013

    View full-size slide

  7. PAM
    TM
    IFM
    You
    ERTMS
    SE
    EDS
    MCA
    Docs
    MTISA
    Forms
    Hub 1%
    1%
    5%
    8%
    22%
    33%
    85%
    85%
    92%
    97%
    99%
    100%
    % Swift % Obj-C
    15,282
    28,408
    54,387
    16,738
    35,072
    37,883
    8,681
    9,168
    7,750
    20,597
    14,724
    17,974
    Number of Lines
    25/09/2017
    20/11/2018
    20/10/2016
    05/03/2018
    15/07/2016
    03/11/2016
    15/09/2014
    17/04/2014
    06/08/2013
    08/09/2015
    18/09/2013
    15/07/2013

    View full-size slide

  8. Standardisation &
    Reusability

    View full-size slide

  9. “Peak” Framework
    • Peak as a verb - “at the highest level, or the
    maximum”
    • Peak as a noun - reference to the Peak District
    • Peak as a short identifier - a prefix for our micro-
    frameworks

    View full-size slide


  10. SE-0235 - Add Result to the Standard Library

    View full-size slide

  11. https://github.com/3squared/PeakOperation
    https://github.com/3squared/PeakNetwork
    https://github.com/3squared/PeakResult
    https://github.com/3squared/CoreData

    View full-size slide

  12. Thank You
    lukestringer90 & Sam_Oakley
    https://github.com/3squared

    View full-size slide