Skip to content

Commit

Permalink
Remove .magic preset
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Jan 10, 2020
1 parent dee821d commit d2ddcd5
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 213 deletions.
10 changes: 0 additions & 10 deletions Assets/Readme/Miniature - Magic.svg

This file was deleted.

Binary file modified Assets/Sketch/Presets.sketch
Binary file not shown.
1 change: 0 additions & 1 deletion Example/Controllers/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ViewController: UITableViewController {
Alert(key: "Dislike", preset: .dislike, title: "Thanks for feedback", subtitle: "It helped us"),
Alert(key: "Privacy", preset: .privacy, title: "Privacy accepted", subtitle: "You privacy it important"),
Alert(key: "Rotate", preset: .rotate, title: "Portrait mode", subtitle: "You can change it in settings"),
Alert(key: "Magic", preset: .magic, title: "Magic here! You see", subtitle: "Strange text, true?"),
Alert(key: "Search", preset: .search, title: "Searching", subtitle: "Maybe need other title"),
Alert(key: "Add", preset: .add, title: "Added to Folder", subtitle: nil),
Alert(key: "Error", preset: .error, title: "Oops", subtitle: "Please try again later"),
Expand Down
1 change: 0 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ And other
<img src="https://github.com/ivanvorobei/SPAlert/blob/master/Assets/Readme/Miniature%20-%20Dislike.svg" width="55">
<img src="https://github.com/ivanvorobei/SPAlert/blob/master/Assets/Readme/Miniature%20-%20Privacy.svg" width="55">
<img src="https://github.com/ivanvorobei/SPAlert/blob/master/Assets/Readme/Miniature%20-%20Rotate.svg" width="55">
<img src="https://github.com/ivanvorobei/SPAlert/blob/master/Assets/Readme/Miniature%20-%20Magic.svg" width="55">
<img src="https://github.com/ivanvorobei/SPAlert/blob/master/Assets/Readme/Miniature%20-%20Search.svg" width="55">
<img src="https://github.com/ivanvorobei/SPAlert/blob/master/Assets/Readme/Miniature%20-%20Add.svg" width="55">
<img src="https://github.com/ivanvorobei/SPAlert/blob/master/Assets/Readme/Miniature%20-%20Error.svg" width="55">
Expand Down
2 changes: 1 addition & 1 deletion SPAlert.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SPAlert"
s.version = "2.0.28"
s.version = "2.1"
s.summary = "Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets."
s.homepage = "https://github.com/IvanVorobei/SPAlert"
s.source = { :git => "https://github.com/IvanVorobei/SPAlert.git", :tag => s.version }
Expand Down
4 changes: 0 additions & 4 deletions SPAlert.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
F4A5A92C2388792F00B0DFE0 /* SPAlertIconBookmarkView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4A5A92B2388792F00B0DFE0 /* SPAlertIconBookmarkView.swift */; };
F4A8361A2385588300EB32E0 /* SPAlertIconDocView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4A836192385588300EB32E0 /* SPAlertIconDocView.swift */; };
F4CA67B5238ABD0100E72F79 /* SPAlertIconAddView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4CA67B4238ABD0100E72F79 /* SPAlertIconAddView.swift */; };
F4CD29F423A037D00051EA23 /* SPAlertIconMagicView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4CD29F323A037D00051EA23 /* SPAlertIconMagicView.swift */; };
F4D1623423A2E47200B5E3E9 /* SPAlertIconEjectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4D1623323A2E47200B5E3E9 /* SPAlertIconEjectView.swift */; };
F4D3CD58238DA9FE006C3DE2 /* SPAlertIconMoonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4D3CD57238DA9FE006C3DE2 /* SPAlertIconMoonView.swift */; };
F4D3CD5A238DAA49006C3DE2 /* SPAlertIconStarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4D3CD59238DAA49006C3DE2 /* SPAlertIconStarView.swift */; };
Expand Down Expand Up @@ -111,7 +110,6 @@
F4A5A92B2388792F00B0DFE0 /* SPAlertIconBookmarkView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SPAlertIconBookmarkView.swift; sourceTree = "<group>"; };
F4A836192385588300EB32E0 /* SPAlertIconDocView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SPAlertIconDocView.swift; sourceTree = "<group>"; };
F4CA67B4238ABD0100E72F79 /* SPAlertIconAddView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SPAlertIconAddView.swift; sourceTree = "<group>"; };
F4CD29F323A037D00051EA23 /* SPAlertIconMagicView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SPAlertIconMagicView.swift; sourceTree = "<group>"; };
F4D1623323A2E47200B5E3E9 /* SPAlertIconEjectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SPAlertIconEjectView.swift; sourceTree = "<group>"; };
F4D3CD57238DA9FE006C3DE2 /* SPAlertIconMoonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SPAlertIconMoonView.swift; sourceTree = "<group>"; };
F4D3CD59238DAA49006C3DE2 /* SPAlertIconStarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SPAlertIconStarView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -208,7 +206,6 @@
F421EFF02398684E000A566D /* SPAlertIconFlagView.swift */,
F40FB629239ADF940090BA57 /* SPAlertIconQuestionView.swift */,
F47D2FA5239D718400A346A5 /* SPAlertIconBoltView.swift */,
F4CD29F323A037D00051EA23 /* SPAlertIconMagicView.swift */,
F4D1623323A2E47200B5E3E9 /* SPAlertIconEjectView.swift */,
F45970B323A578A50092CE7C /* SPAlertIconCardView.swift */,
F459720123A841C00092CE7C /* SPAlertIconRotateView.swift */,
Expand Down Expand Up @@ -441,7 +438,6 @@
F4146EB223AAA18100AE7658 /* SPAlertIconLikeView.swift in Sources */,
F45970B423A578A50092CE7C /* SPAlertIconCardView.swift in Sources */,
F412052B2382AF64009C2AC7 /* SPAlertLayout.swift in Sources */,
F4CD29F423A037D00051EA23 /* SPAlertIconMagicView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
13 changes: 0 additions & 13 deletions Source/SPAlert/Models/SPAlertPreset.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public enum SPAlertPreset {
case error
case shuffle
case `repeat`
case magic
case eject
case card
case rotate
Expand Down Expand Up @@ -86,8 +85,6 @@ public enum SPAlertPreset {
return SPAlertIconQuestionView()
case .bolt:
return SPAlertIconBoltView()
case .magic:
return SPAlertIconMagicView()
case .eject:
return SPAlertIconEjectView()
case .card:
Expand Down Expand Up @@ -241,14 +238,6 @@ public enum SPAlertPreset {
layout.iconHeight = 116
layout.bottomIconSpace = 34
return layout
case .magic:
var layout = SPAlertLayout()
layout.topSpace = 41
layout.bottomSpace = 27
layout.iconWidth = 112
layout.iconHeight = 112
layout.bottomIconSpace = 35
return layout
case .moon:
var layout = SPAlertLayout()
layout.topSpace = 49
Expand Down Expand Up @@ -333,8 +322,6 @@ public enum SPAlertPreset {
return .warning
case .question:
return .warning
case .magic:
return .success
case .error:
return .error
case .shuffle:
Expand Down
Loading

0 comments on commit d2ddcd5

Please sign in to comment.