Publicist is a tool for changing swift internal access level into public.
// Shop.swift(before)
struct Shop {
enum Food {}
private let id: Int
let name: String
func serve() {}
}$ publicist Shop.swift
📝 Rewriting Shop.swift
✅ Complete// Shop.swift (after)
public struct Shop {
public enum Food {}
private let id: Int
public let name: String
public func serve() {}
}$ brew tap komaji/Publicist https://github.com/komaji/Publicist.git
$ brew install publicist$ git clone https://github.com/komaji/Publicist.git
$ cd Publicist
$ make install