Skip to content

Convert objective-c code to swift #47

@bsutton

Description

@bsutton

sounds_swift.tar.gz

The current ios implementation is written in objective-c.

This is a language that the current dev team is not familiar with which makes maintenance difficult.

The dev team is also not familiar with swift however it is much closer to java and dart which the developers are familiar with.

The belief is that converting the code to swift will make long term maintenance simpler.

An initial conversion has been down using swiftify (converted files attache).

The converted files however need a fair bit of work (primarily around type conversions).

The sounds team have two related objectives:

Move to using Pigeon to provide a type safe implementation.

Move to a federated model to allow for the implementation of platform specific implementation by third party developers.

The swift migration should be done in the context of the above two objectives.

The aim is to do the android version first is this is in an environment that the development team is comfortable.
Once complete the swift migration would follow.

Works has been started to complete the conversion process (see master) (based on the attached swift files) but this conversion is likely to have broken the code base as the developer is not familiar with swift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions