//
//  PBXBuildStyle.swift
//  XcodeProjKit
//
//  Created by phimage on 30/07/2017.
//  Copyright © 2017 phimage (Eric Marchand). All rights reserved.
//

import Foundation

public class PBXBuildStyle: PBXProjectItem {

    public enum PBXKeys: PBXKey {
        case buildSettings
    }

    #if LAZY
    public lazy var buildSettings: [String: Any]? = dictionary(PBXKeys.buildSettings)
    #else
    public var buildSettings: [String: Any]? { dictionary(PBXKeys.buildSettings) }
    #endif

}

//
//  PBXBuildStyle.swift
//  XcodeProjKit
//
//  Created by phimage on 30/07/2017.
//  Copyright © 2017 phimage (Eric Marchand). All rights reserved.
//

import Foundation

public class PBXBuildStyle: PBXProjectItem {

    public enum PBXKeys: PBXKey {
        case buildSettings
    }

    #if LAZY
    public lazy var buildSettings: [String: Any]? = dictionary(PBXKeys.buildSettings)
    #else
    public var buildSettings: [String: Any]? { 
        get {
            dictionary(PBXKeys.buildSettings)
        }
        set {
            self.fields[PBXKeys.buildSettings.rawValue] = newValue
        }
    }
    #endif

}

Allow to modify build settings
Allow to modify build settings