//
//  SpeakEleConfigs.swift
//  SpeakEasyLearnEnglish
//
//  Created by edy on 2025/7/3.
//

import UIKit

#if DEBUG
let isDebug = true
#else
let isDebug = false
#endif


let marginLR:Double = 24



let SpeakIAPWeekIdentifier = "com.speakeasy.ai.ap.week"
let SpeakIAPYearIdentifier = "com.speakeasy.ai.ap.year"

// MARK: - 所有分类属性 Key
enum SpeakEasyAssociatedKeys : UInt32 {
    case fontsize = 0x101010
    case UnsafeCallBack = 0x10000
    case labelTextTap = 0x10001
    case navigationAniKey = 0x01122
    case labelTextCutomFont = 0x01102
    case windowkeyboardKey = 0x120323
}

protocol CutomFontProtocol : NSObjectProtocol {
    var fontSize:CGFloat { get set }
    var cutomFont:Int { get }
    
    func setCutomFonts() -> Void
    
}

// MARK: - userdefaultKey
enum UnsafeRawUserDefaultsKey:String {
    case UnsafeThreeDayGuide = "UnsafeThreeDayGuide"
    case UnsafePublicDataKey = "UnsafePublicDataKey"
    case UnsafeGuideQAKey = "UnsafeGuideQAKey"
}


// MARK: - Notification Names
extension Notification.Name {
    static let subscriptionStatusChanged = Notification.Name("IAPSubscriptionStatusChanged")
    static let subscriptionVerify = Notification.Name("IAPSubscriptionStatusVerify")
}
