Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-278

Swift Codables support

    XMLWordPrintable

Details

    • Epic
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.0
    • iOS
    • Security Level: Public
    • None

    Description

      A lot of interest in Swift 4 Codables support in CBL. Although this would be Swift only- it could be the first instantiation of native object support . Some customers have been enquiring about it

      Copied from original issue: couchbase/couchbase-lite-core#283

      See also:

      https://forums.couchbase.com/t/accessing-couchbaselite-document-json/11407/9

      https://www.mikeash.com/pyblog/friday-qa-2017-07-28-a-binary-coder-for-swift.html

      https://github.com/elegantchaos/DictionaryCoding

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Jayahari.Vavachan Jay Vavachan added a comment - Resources: https://www.mikeash.com/pyblog/friday-qa-2017-07-14-swiftcodable.html https://www.mikeash.com/pyblog/friday-qa-2017-07-28-a-binary-coder-for-swift.html https://github.com/mikeash/BinaryCoder https://github.com/elegantchaos/DictionaryCoding What are left? Support inheritance Decoder Unit Tests You can create a branch in couchbase-lite-ios and put the DocumentEncoder there.
          Jayahari.Vavachan Jay Vavachan added a comment -

          More Videos:
          more compiler level details: https://www.youtube.com/watch?v=RXof713gsqs
          basic level details: https://www.youtube.com/watch?v=_txZbmYmT3Y

          Jayahari.Vavachan Jay Vavachan added a comment - More Videos: more compiler level details: https://www.youtube.com/watch?v=RXof713gsqs basic level details: https://www.youtube.com/watch?v=_txZbmYmT3Y
          Jayahari.Vavachan Jay Vavachan added a comment - - edited helpful samples: https://github.com/rajagp/iOS_swift_codables
          Jayahari.Vavachan Jay Vavachan added a comment - WWDC Video: https://developer.apple.com/videos/play/wwdc2017/212
          Jayahari.Vavachan Jay Vavachan added a comment - https://issues.couchbase.com/browse/CBL-329?focusedCommentId=352003&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-352003

          People

            Jayahari.Vavachan Jay Vavachan
            daniel.petersen Daniel Petersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty