Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
split TMUtils to a standalone pod
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonXi committed Nov 27, 2017
1 parent 18ef337 commit dbc61f8
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ xcuserdata/
# CocoaPods
Pods/
Podfile.lock
*.xcworkspace

# Demo
*Demo/Pods/
*Demo/Podfile.lock
*Demo/*.xcworkspace

10 changes: 6 additions & 4 deletions LazyScroll.podspec
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
Pod::Spec.new do |s|

s.name = "LazyScroll"
s.version = "0.1.1"
s.version = "1.0"
s.summary = "A ScrollView to resolve the problem of reusability of views."

s.description = <<-DESC
It reply an another way to control reuse in a ScrollView, it depends on give a special reuse identifier to every view controlled in LazyScrollView.
DESC

s.homepage = "https://github.com/alibaba/LazyScrollView"
s.license = {:type => 'MIT'}
s.license = { :type => 'MIT' }
s.author = { "fydx" => "[email protected]",
"HarrisonXi" => "[email protected]"}
"HarrisonXi" => "[email protected]" }
s.platform = :ios
s.ios.deployment_target = "5.0"
s.source = { :git => "https://github.com/alibaba/LazyScrollView.git", :tag => "0.1.1" }
s.source = { :git => "https://github.com/alibaba/LazyScrollView.git", :tag => "1.0" }
s.source_files = "LazyScrollView/*.{h,m}"
s.requires_arc = true

# s.dependency 'TMUtils', '~> 1.0'

end
2 changes: 1 addition & 1 deletion LazyScrollView/TMMuiLazyScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#import "TMMuiLazyScrollView.h"
#import <objc/runtime.h>
#import "TMUtils.h"
#import <TMUtils/TMUtils.h>

#define RenderBufferWindow 20.f

Expand Down

This file was deleted.

6 changes: 4 additions & 2 deletions LazyScrollViewDemo/Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
source "https://github.com/CocoaPods/Specs.git"

platform :ios, '8.0'

target 'LazyScrollViewDemo' do
platform :ios, '8.0'
pod 'LazyScroll', :path=>'../'
pod 'LazyScroll', :path => '../'
pod 'TMUtils', :path => '../'
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> 依赖 LazyScrollView,我们创建了一个模块化页面UI解决方案,详情可见 [Tangram-iOS](https://github.com/alibaba/tangram-ios)
LazyScrollView is an iOS ScrollView , to resolve the problem of reusability of views.
LazyScrollView is an iOS ScrollView, to resolve the problem of reusability of views.

We reply another way to control reuse in a ScrollView, it depends on give a special reuse identifier to every view controlled in LazyScrollView.

Expand Down
15 changes: 15 additions & 0 deletions TMUtils.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Pod::Spec.new do |s|

s.name = "TMUtils"
s.version = "1.0"
s.summary = "Common safe methods & utils for NSArray & NSDictionary."
s.homepage = "https://github.com/alibaba/LazyScrollView"
s.license = {:type => 'MIT'}
s.author = { "HarrisonXi" => "[email protected]" }
s.platform = :ios
s.ios.deployment_target = "5.0"
s.source = { :git => "https://github.com/alibaba/LazyScrollView.git", :tag => "1.0" }
s.source_files = "TMUtils/*.{h,m}"
s.requires_arc = true

end
File renamed without changes.
File renamed without changes.

0 comments on commit dbc61f8

Please sign in to comment.