Then run the swift build command to build your project.
CocoaPods
You can install MessagePack via CocoaPods,
by adding the following line to your Podfile:
pod 'MessagePack-FlightSchool', '~> 1.2.4'
Run the pod install command to download the library
and integrate it into your Xcode project.
Note
The module name for this library is “MessagePack” —
that is, to use it, you add import MessagePack to the top of your Swift code
just as you would by any other installation method.
The pod is called “MessagePack-FlightSchool”
because there’s an existing pod with the name “MessagePack”.
MessagePack
A MessagePack encoder and decoder for
Codable
types.This functionality is discussed in Chapter 7 of Flight School Guide to Swift Codable.
Requirements
Usage
Encoding Messages
Decoding Messages
Installation
Swift Package Manager
Add the MessagePack package to your target dependencies in
Package.swift
:Then run the
swift build
command to build your project.CocoaPods
You can install
MessagePack
via CocoaPods, by adding the following line to yourPodfile
:Run the
pod install
command to download the library and integrate it into your Xcode project.License
MIT
Contact
Mattt (@mattt)