This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const JSZip = require('jszip') | |
| const { parseBuffer } = require('bplist-parser') | |
| const { isObject, each, find } = require('lodash') | |
| const parseArchivedValue = value => { | |
| return parseBuffer(new Buffer(value, 'base64')) | |
| } | |
| const parseArchivedString = obj => { | |
| const { $objects } = parseArchivedValue( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct TabBar: View { | |
| @State private var selectedTab: Tab = .overview | |
| @Namespace private var ns | |
| enum Tab { | |
| case overview, data, graphs, settings | |
| } | |
| var body: some View { |
OlderNewer