Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

hrm

  • Loading branch information...
commit dac03edd074be3c23608eee8f8775129ce58a73b 1 parent 517b599
Dan Giralte authored
4 LLRoundSwitch.podspec
... ... @@ -1,12 +1,12 @@
1 1 Pod::Spec.new do |s|
2 2 s.name = 'LLRoundSwitch'
3   - s.version = '1.0.0'
  3 + s.version = '1.0.1'
4 4 s.license = 'MIT'
5 5 s.summary = 'Customizable replacement for UISwitch with ARC support'
6 6 s.homepage = 'http://github.com/LordLobo/LLRoundSwitch'
7 7 s.author = { 'LordLobo' => 'dan.giralte@gmail.com' }
8 8
9   - s.source = { :git => 'http://github.com/LordLobo/LLRoundSwitch.git', :tag => '1.0.0' }
  9 + s.source = { :git => 'http://github.com/LordLobo/LLRoundSwitch.git', :tag => '1.0.1' }
10 10
11 11 s.description = 'Customize the on/off text, the color of the background, supports event delegation, all with ARC in-mind.'
12 12
2  LLRoundSwitch/LLRoundSwitchKnobLayer.m
@@ -36,7 +36,7 @@ - (void)drawInContext:(CGContextRef)context
36 36 // and causes the CGColorRefs to disappear before we can use them- so we're going to use UIColor here, then extract the CGColorRef
37 37 // when we actually create the gratient. There are several ways to fix this, but we'll use the most straight-forward: CGColorRetain/Release
38 38
39   - // For kmore info on this bug, see http://weblog.bignerdranch.com/296-arc-gotcha-unexpectedly-short-lifetimes
  39 + // For more info on this bug, see http://weblog.bignerdranch.com/296-arc-gotcha-unexpectedly-short-lifetimes
40 40 CGColorRef knobStartColor = CGColorRetain([UIColor colorWithWhite:0.82 alpha:1.0].CGColor);
41 41 CGColorRef knobEndColor = CGColorRetain((self.gripped) ?
42 42 [UIColor colorWithWhite:0.894 alpha:1.0].CGColor :

0 comments on commit dac03ed

Please sign in to comment.
Something went wrong with that request. Please try again.