mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
refactored
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// BuildSettings.swift
|
||||
// XcodeGen
|
||||
//
|
||||
// Created by Yonas Kolb on 20/7/17.
|
||||
//
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import xcodeproj
|
||||
import JSONUtilities
|
||||
|
||||
public struct BuildSettingGroup {
|
||||
public var name: String
|
||||
public var buildSettings: [String: String]
|
||||
}
|
||||
|
||||
extension BuildSettingGroup: NamedJSONObjectConvertible {
|
||||
|
||||
public init(name: String, jsonDictionary: JSONDictionary) throws {
|
||||
self.name = name
|
||||
buildSettings = [:]
|
||||
for (key, value) in jsonDictionary {
|
||||
buildSettings[key] = String(describing: value)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user