Permalink
Browse files

Updated podspec file.

  • Loading branch information...
1 parent 32b07b3 commit e1ed2378b86273e3d8a92cd0818ccc7ba760c0f5 Devin Ross committed Jul 1, 2012
View
@@ -1,15 +1,18 @@
Pod::Spec.new do |s|
- s.name = 'Tapku Library'
- s.version = '2.1'
- s.license = { :type => 'MIT', :file => 'License.txt' }
- s.platform = :ios
- s.summary = 'tap + haiku = tapku, a well crafted open source iOS framework'
- s.homepage = 'http://tapku.com'
- s.author = { 'Devin Ross' => 'devin@devinsheaven.com' }
- s.source = { :git => 'https://github.com/devinross/tapkulibrary.git', :tag => '2.1' }
- s.description = 'TapkuLibrary is an iOS library built on Cocoa and UIKit intended for broad use in applications. If you\'re looking to see what the library can do, check out the demo project included. Some major components include coverflow, calendar grid, network requests and progress indicators.'
- s.source_files = 'src/TapkuLibrary/**/*.{h,m}'
- s.requires_arc = true
- s.frameworks = 'QuartzCore', 'CoreGraphics', 'MapKit'
- s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC -all_load' }
+ s.name = 'TapkuLibrary'
+ s.version = '2.1'
+ s.platform = :ios
+ s.author = { 'Devin Ross' => 'devin@devinsheaven.com' }
+ s.license = { :type => 'MIT', :file => 'License.txt' }
+ s.homepage = 'http://tapku.com/'
+ s.summary = 'tap + haiku = tapku, a well crafted open source iOS framework'
+ s.description = 'TapkuLibrary is an iOS library built on Cocoa and UIKit intended for broad ' \
+ 'use in applications. If you\'re looking to see what the library can do, check ' \
+ 'out the demo project included. Some major components include coverflow, calendar ' \
+ 'grid, network requests and progress indicators.'
+ s.source = { :git => 'https://github.com/devinross/tapkulibrary.git', :tag => 'v2.1' }
+ s.requires_arc = true
+ s.source_files = 'src/TapkuLibrary/*.{h,m}'
+ s.resources = 'src/TapkuLibrary.bundle'
+ s.frameworks = 'MapKit', 'QuartzCore'
end
@@ -490,12 +490,11 @@ + (void) showNetworkActivityIndicator{
+ (void) hideNetworkActivityIndicatorIfNeeeded{
-
- if (runningRequestCount == 0) {
#if TARGET_OS_IPHONE
+ if (runningRequestCount == 0)
[[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:NO];
#endif
- }
+
}
+ (void) increaseNetworkMain{
@@ -512,6 +511,7 @@ + (void) increaseNetworkMain{
+ (void) decreaseNetworkMain{
runningRequestCount--;
#if TARGET_OS_IPHONE
+ [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(hideNetworkActivityIndicatorIfNeeeded) object:nil];
[self performSelector:@selector(hideNetworkActivityIndicatorIfNeeeded) withObject:nil afterDelay:0.5];
#endif

0 comments on commit e1ed237

Please sign in to comment.