From 3f384becef31854f2073d2a49390a17257549220 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Fri, 19 Jun 2020 13:54:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=B5=84=E6=BA=90=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E4=BD=BF=E7=94=A8=E8=8B=B9=E6=9E=9C=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/ProHUD.swift | 10 +++++----- .../Contents.json | 0 .../fail@2x.png | Bin .../fail@3x.png | Bin .../Contents.json | 0 .../loading@2x.png | Bin .../loading@3x.png | Bin .../loading_dark@2x.png | Bin .../loading_dark@3x.png | Bin .../Contents.json | 0 .../ProHUDMessage@2x.png | Bin .../ProHUDMessage@3x.png | Bin .../Contents.json | 0 .../success@2x.png | Bin .../success@3x.png | Bin .../Contents.json | 0 .../warning@2x.png | Bin .../warning@3x.png | Bin 18 files changed, 5 insertions(+), 5 deletions(-) rename Source/ProHUD.xcassets/{ProHUDError.imageset => prohud.error.imageset}/Contents.json (100%) rename Source/ProHUD.xcassets/{ProHUDError.imageset => prohud.error.imageset}/fail@2x.png (100%) rename Source/ProHUD.xcassets/{ProHUDError.imageset => prohud.error.imageset}/fail@3x.png (100%) rename Source/ProHUD.xcassets/{ProHUDLoading.imageset => prohud.loading.imageset}/Contents.json (100%) rename Source/ProHUD.xcassets/{ProHUDLoading.imageset => prohud.loading.imageset}/loading@2x.png (100%) rename Source/ProHUD.xcassets/{ProHUDLoading.imageset => prohud.loading.imageset}/loading@3x.png (100%) rename Source/ProHUD.xcassets/{ProHUDLoading.imageset => prohud.loading.imageset}/loading_dark@2x.png (100%) rename Source/ProHUD.xcassets/{ProHUDLoading.imageset => prohud.loading.imageset}/loading_dark@3x.png (100%) rename Source/ProHUD.xcassets/{ProHUDMessage.imageset => prohud.message.imageset}/Contents.json (100%) rename Source/ProHUD.xcassets/{ProHUDMessage.imageset => prohud.message.imageset}/ProHUDMessage@2x.png (100%) rename Source/ProHUD.xcassets/{ProHUDMessage.imageset => prohud.message.imageset}/ProHUDMessage@3x.png (100%) rename Source/ProHUD.xcassets/{ProHUDSuccess.imageset => prohud.success.imageset}/Contents.json (100%) rename Source/ProHUD.xcassets/{ProHUDSuccess.imageset => prohud.success.imageset}/success@2x.png (100%) rename Source/ProHUD.xcassets/{ProHUDSuccess.imageset => prohud.success.imageset}/success@3x.png (100%) rename Source/ProHUD.xcassets/{ProHUDWarning.imageset => prohud.warning.imageset}/Contents.json (100%) rename Source/ProHUD.xcassets/{ProHUDWarning.imageset => prohud.warning.imageset}/warning@2x.png (100%) rename Source/ProHUD.xcassets/{ProHUDWarning.imageset => prohud.warning.imageset}/warning@3x.png (100%) diff --git a/Source/ProHUD.swift b/Source/ProHUD.swift index 829d105..c43ef7d 100644 --- a/Source/ProHUD.swift +++ b/Source/ProHUD.swift @@ -42,34 +42,34 @@ public extension ProHUD.Scene { static var `default`: ProHUD.Scene { var scene = ProHUD.Scene.init(identifier: "default") - scene.image = ProHUD.image(named: "ProHUDMessage") + scene.image = ProHUD.image(named: "prohud.message") return scene } static var loading: ProHUD.Scene { var scene = ProHUD.Scene.init(identifier: "loading") scene.alertDuration = 0 scene.toastDuration = 0 - scene.image = ProHUD.image(named: "ProHUDLoading") + scene.image = ProHUD.image(named: "prohud.loading") return scene } static var success: ProHUD.Scene { var scene = ProHUD.Scene.init(identifier: "success") scene.alertDuration = 2 - scene.image = ProHUD.image(named: "ProHUDSuccess") + scene.image = ProHUD.image(named: "prohud.success") return scene } static var warning: ProHUD.Scene { var scene = ProHUD.Scene.init(identifier: "warning") scene.alertDuration = 2 scene.toastDuration = 5 - scene.image = ProHUD.image(named: "ProHUDWarning") + scene.image = ProHUD.image(named: "prohud.warning") return scene } static var error: ProHUD.Scene { var scene = ProHUD.Scene.init(identifier: "error") scene.alertDuration = 2 scene.toastDuration = 5 - scene.image = ProHUD.image(named: "ProHUDError") + scene.image = ProHUD.image(named: "prohud.error") return scene } diff --git a/Source/ProHUD.xcassets/ProHUDError.imageset/Contents.json b/Source/ProHUD.xcassets/prohud.error.imageset/Contents.json similarity index 100% rename from Source/ProHUD.xcassets/ProHUDError.imageset/Contents.json rename to Source/ProHUD.xcassets/prohud.error.imageset/Contents.json diff --git a/Source/ProHUD.xcassets/ProHUDError.imageset/fail@2x.png b/Source/ProHUD.xcassets/prohud.error.imageset/fail@2x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDError.imageset/fail@2x.png rename to Source/ProHUD.xcassets/prohud.error.imageset/fail@2x.png diff --git a/Source/ProHUD.xcassets/ProHUDError.imageset/fail@3x.png b/Source/ProHUD.xcassets/prohud.error.imageset/fail@3x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDError.imageset/fail@3x.png rename to Source/ProHUD.xcassets/prohud.error.imageset/fail@3x.png diff --git a/Source/ProHUD.xcassets/ProHUDLoading.imageset/Contents.json b/Source/ProHUD.xcassets/prohud.loading.imageset/Contents.json similarity index 100% rename from Source/ProHUD.xcassets/ProHUDLoading.imageset/Contents.json rename to Source/ProHUD.xcassets/prohud.loading.imageset/Contents.json diff --git a/Source/ProHUD.xcassets/ProHUDLoading.imageset/loading@2x.png b/Source/ProHUD.xcassets/prohud.loading.imageset/loading@2x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDLoading.imageset/loading@2x.png rename to Source/ProHUD.xcassets/prohud.loading.imageset/loading@2x.png diff --git a/Source/ProHUD.xcassets/ProHUDLoading.imageset/loading@3x.png b/Source/ProHUD.xcassets/prohud.loading.imageset/loading@3x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDLoading.imageset/loading@3x.png rename to Source/ProHUD.xcassets/prohud.loading.imageset/loading@3x.png diff --git a/Source/ProHUD.xcassets/ProHUDLoading.imageset/loading_dark@2x.png b/Source/ProHUD.xcassets/prohud.loading.imageset/loading_dark@2x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDLoading.imageset/loading_dark@2x.png rename to Source/ProHUD.xcassets/prohud.loading.imageset/loading_dark@2x.png diff --git a/Source/ProHUD.xcassets/ProHUDLoading.imageset/loading_dark@3x.png b/Source/ProHUD.xcassets/prohud.loading.imageset/loading_dark@3x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDLoading.imageset/loading_dark@3x.png rename to Source/ProHUD.xcassets/prohud.loading.imageset/loading_dark@3x.png diff --git a/Source/ProHUD.xcassets/ProHUDMessage.imageset/Contents.json b/Source/ProHUD.xcassets/prohud.message.imageset/Contents.json similarity index 100% rename from Source/ProHUD.xcassets/ProHUDMessage.imageset/Contents.json rename to Source/ProHUD.xcassets/prohud.message.imageset/Contents.json diff --git a/Source/ProHUD.xcassets/ProHUDMessage.imageset/ProHUDMessage@2x.png b/Source/ProHUD.xcassets/prohud.message.imageset/ProHUDMessage@2x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDMessage.imageset/ProHUDMessage@2x.png rename to Source/ProHUD.xcassets/prohud.message.imageset/ProHUDMessage@2x.png diff --git a/Source/ProHUD.xcassets/ProHUDMessage.imageset/ProHUDMessage@3x.png b/Source/ProHUD.xcassets/prohud.message.imageset/ProHUDMessage@3x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDMessage.imageset/ProHUDMessage@3x.png rename to Source/ProHUD.xcassets/prohud.message.imageset/ProHUDMessage@3x.png diff --git a/Source/ProHUD.xcassets/ProHUDSuccess.imageset/Contents.json b/Source/ProHUD.xcassets/prohud.success.imageset/Contents.json similarity index 100% rename from Source/ProHUD.xcassets/ProHUDSuccess.imageset/Contents.json rename to Source/ProHUD.xcassets/prohud.success.imageset/Contents.json diff --git a/Source/ProHUD.xcassets/ProHUDSuccess.imageset/success@2x.png b/Source/ProHUD.xcassets/prohud.success.imageset/success@2x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDSuccess.imageset/success@2x.png rename to Source/ProHUD.xcassets/prohud.success.imageset/success@2x.png diff --git a/Source/ProHUD.xcassets/ProHUDSuccess.imageset/success@3x.png b/Source/ProHUD.xcassets/prohud.success.imageset/success@3x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDSuccess.imageset/success@3x.png rename to Source/ProHUD.xcassets/prohud.success.imageset/success@3x.png diff --git a/Source/ProHUD.xcassets/ProHUDWarning.imageset/Contents.json b/Source/ProHUD.xcassets/prohud.warning.imageset/Contents.json similarity index 100% rename from Source/ProHUD.xcassets/ProHUDWarning.imageset/Contents.json rename to Source/ProHUD.xcassets/prohud.warning.imageset/Contents.json diff --git a/Source/ProHUD.xcassets/ProHUDWarning.imageset/warning@2x.png b/Source/ProHUD.xcassets/prohud.warning.imageset/warning@2x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDWarning.imageset/warning@2x.png rename to Source/ProHUD.xcassets/prohud.warning.imageset/warning@2x.png diff --git a/Source/ProHUD.xcassets/ProHUDWarning.imageset/warning@3x.png b/Source/ProHUD.xcassets/prohud.warning.imageset/warning@3x.png similarity index 100% rename from Source/ProHUD.xcassets/ProHUDWarning.imageset/warning@3x.png rename to Source/ProHUD.xcassets/prohud.warning.imageset/warning@3x.png