-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change C style code to swift 3 format, fix removeItemAtIndex last index crash bug
- Loading branch information
1 parent
7cf1046
commit 9a494eb
Showing
12 changed files
with
51 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "ASHorizontalScrollView" | ||
s.version = "1.1" | ||
s.version = “1.2” | ||
s.summary = "App store style horizontal scroll view" | ||
s.description = <<-DESC | ||
It acts similar to apps sliding behaviours in App store. There are both Objective-C and Swift version available and they perform exactly the same function, please find whichever you like. | ||
DESC | ||
s.homepage = "https://github.com/terenceLuffy/AppStoreStyleHorizontalScrollView" | ||
s.license = { :type => 'MIT', :text => <<-LICENSE | ||
* The MIT License (MIT) | ||
* Copyright (C) 2014-2015 WEIWEI CHEN | ||
* Copyright (C) 2014-2016 WEIWEI CHEN | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
* | ||
|
@@ -20,7 +20,7 @@ Pod::Spec.new do |s| | |
s.author = { "Weiwei Chen" => "[email protected]" } | ||
s.platform = :ios, "8.0" | ||
s.ios.deployment_target = "8.0" | ||
s.source = { :git => 'https://github.com/terenceLuffy/AppStoreStyleHorizontalScrollView.git', :tag => "1.1" } | ||
s.source = { :git => 'https://github.com/terenceLuffy/AppStoreStyleHorizontalScrollView.git', :tag => “1.2” } | ||
s.source_files = 'Sources/*' | ||
s.frameworks = 'UIKit' | ||
s.requires_arc = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "ASHorizontalScrollViewForObjectiveC" | ||
s.version = "1.1" | ||
s.version = "1.2" | ||
s.summary = "App store style horizontal scroll view Objective-C" | ||
s.description = <<-DESC | ||
It acts similar to apps sliding behaviours in App store. There are both Objective-C and Swift version available and they perform exactly the same function, please find whichever you like. | ||
DESC | ||
s.homepage = "https://github.com/terenceLuffy/AppStoreStyleHorizontalScrollView" | ||
s.license = { :type => 'MIT', :text => <<-LICENSE | ||
* The MIT License (MIT) | ||
* Copyright (C) 2014-2015 WEIWEI CHEN | ||
* Copyright (C) 2014-2016 WEIWEI CHEN | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
* | ||
|
@@ -20,6 +20,6 @@ Pod::Spec.new do |s| | |
s.author = { "Weiwei Chen" => "[email protected]" } | ||
s.platform = :ios, "8.0" | ||
s.ios.deployment_target = "8.0" | ||
s.source = { :git => 'https://github.com/terenceLuffy/AppStoreStyleHorizontalScrollView.git', :tag => "1.1" } | ||
s.source = { :git => 'https://github.com/terenceLuffy/AppStoreStyleHorizontalScrollView.git', :tag => "1.2" } | ||
s.source_files = 'Sources/ASHorizontalScrollView/*' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.39 KB
(110%)
...roj/project.xcworkspace/xcuserdata/terencechen.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
3 changes: 2 additions & 1 deletion
3
ScrollViewSample/ScrollViewSample/ASHorizontalScrollView/ASHorizontalScrollView.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.97 KB
(110%)
...roj/project.xcworkspace/xcuserdata/terencechen.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters