diff --git a/GraphKit.podspec b/GraphKit.podspec index ee84f1f..d5d2381 100644 --- a/GraphKit.podspec +++ b/GraphKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "GraphKit" - s.version = "1.1.0" + s.version = "1.1.1" s.summary = "A lightweight library of animated charts for iOS." s.homepage = "https://github.com/michalkonturek/GraphKit" s.license = 'MIT' @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.social_media_url = 'https://twitter.com/michalkonturek' s.source = { :git => "https://github.com/michalkonturek/GraphKit.git", - :tag => "1.1.0" + :tag => s.version.to_s } s.source_files = 'Source/**/*.{h,m}' diff --git a/Source/BarGraph/GKBarGraph.h b/Source/BarGraph/GKBarGraph.h index 1e6c3f7..c3c3e52 100644 --- a/Source/BarGraph/GKBarGraph.h +++ b/Source/BarGraph/GKBarGraph.h @@ -32,7 +32,7 @@ @property (nonatomic, assign) BOOL animated; @property (nonatomic, assign) CFTimeInterval animationDuration; -@property (nonatomic, assign) id dataSource; +@property (nonatomic, weak) IBOutlet id dataSource; @property (nonatomic, strong) NSArray *bars; @property (nonatomic, strong) NSArray *labels; diff --git a/Source/LineGraph/GKLineGraph.h b/Source/LineGraph/GKLineGraph.h index 6e592e9..3ec3761 100644 --- a/Source/LineGraph/GKLineGraph.h +++ b/Source/LineGraph/GKLineGraph.h @@ -32,7 +32,7 @@ @property (nonatomic, assign) BOOL animated; @property (nonatomic, assign) CFTimeInterval animationDuration; -@property (nonatomic, assign) id dataSource; +@property (nonatomic, weak) IBOutlet id dataSource; @property (nonatomic, assign) CGFloat lineWidth; @property (nonatomic, assign) CGFloat margin;