Skip to content

Commit c7a1596

Browse files
EsqarrouthGoktug Yilmaz
authored and
Goktug Yilmaz
committed
-Added stuff
1 parent 65f1368 commit c7a1596

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

EZLoadingActivity.podspec

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Pod::Spec.new do |s|
2+
s.name = "EZLoadingActivity"
3+
s.version = "0.1"
4+
s.summary = "Lightweight Swift loading activity for iOS7+"
5+
s.description = "Lightweight Swift loading activity for iOS7+. Really simple to use, just add the class and write 1 line of code."
6+
s.homepage = "https://github.com/goktugyil/EZLoadingActivity"
7+
s.license = 'MIT'
8+
s.author = { "goktugyil" => "[email protected]" }
9+
s.source = { :git => "https://github.com/goktugyil/EZLoadingActivity.git", :tag => s.version.to_s }
10+
s.platform = :ios, '8.0'
11+
s.requires_arc = true
12+
13+
# If more than one source file: https://guides.cocoapods.org/syntax/podspec.html#source_files
14+
s.source_files = 'EZLoadingActivity.swift'
15+
16+
end

EZLoadingActivity.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
E13884771C02D85500663C96 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E13884751C02D85500663C96 /* Main.storyboard */; };
1313
E13884791C02D85500663C96 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E13884781C02D85500663C96 /* Assets.xcassets */; };
1414
E138847C1C02D85500663C96 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E138847A1C02D85500663C96 /* LaunchScreen.storyboard */; };
15+
E13884841C02D97700663C96 /* EZLoadingActivity.swift in Sources */ = {isa = PBXBuildFile; fileRef = E13884831C02D97700663C96 /* EZLoadingActivity.swift */; settings = {ASSET_TAGS = (); }; };
1516
/* End PBXBuildFile section */
1617

1718
/* Begin PBXFileReference section */
@@ -22,6 +23,7 @@
2223
E13884781C02D85500663C96 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2324
E138847B1C02D85500663C96 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2425
E138847D1C02D85500663C96 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
26+
E13884831C02D97700663C96 /* EZLoadingActivity.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EZLoadingActivity.swift; sourceTree = SOURCE_ROOT; };
2527
/* End PBXFileReference section */
2628

2729
/* Begin PBXFrameworksBuildPhase section */
@@ -56,6 +58,7 @@
5658
children = (
5759
E13884711C02D85500663C96 /* AppDelegate.swift */,
5860
E13884731C02D85500663C96 /* ViewController.swift */,
61+
E13884831C02D97700663C96 /* EZLoadingActivity.swift */,
5962
E13884751C02D85500663C96 /* Main.storyboard */,
6063
E13884781C02D85500663C96 /* Assets.xcassets */,
6164
E138847A1C02D85500663C96 /* LaunchScreen.storyboard */,
@@ -134,6 +137,7 @@
134137
isa = PBXSourcesBuildPhase;
135138
buildActionMask = 2147483647;
136139
files = (
140+
E13884841C02D97700663C96 /* EZLoadingActivity.swift in Sources */,
137141
E13884741C02D85500663C96 /* ViewController.swift in Sources */,
138142
E13884721C02D85500663C96 /* AppDelegate.swift in Sources */,
139143
);

EZLoadingActivity/ViewController.swift

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ class ViewController: UIViewController {
1313
override func viewDidLoad() {
1414
super.viewDidLoad()
1515
// Do any additional setup after loading the view, typically from a nib.
16+
17+
EZLoadingActivity.showWithDelay("Testing..", disableUI: false, seconds: 3)
1618
}
1719

1820
override func didReceiveMemoryWarning() {

0 commit comments

Comments
 (0)