Skip to content
This repository

Jul 17, 2013

  1. When compiling with the latest Xcode 5 preview 3 I got the following …

    …errors:
    
    XYPieChart.m:444:22: Implicit conversion of C pointer type 'CGPathRef' (aka 'const struct CGPath *') to Objective-C pointer type 'NSString *' requires a bridged cast
    XYPieChart.m:444:22: Incompatible pointer types sending 'CGPathRef' (aka 'const struct CGPath *') to parameter of type 'NSString *'
    
    This seems to fix it
    Tom Thorpe authored
  2. XY Feng

    fixed selection notification, contributed by wsliang@me.com

    authored

Jul 11, 2013

  1. Anders Borch

    Workaround for font name handling change in iOS 7.

    cyborch authored

May 30, 2013

  1. If reloadData was called in quick succession while an animation was a…

    …lready running, the pie chart could end up having empty segments.
    
    For example, if I went from a chart with 3 segments, and quickly changed to a chart that had 1 segment -then back to the three segments again, it would draw the three segment chart with only 1 segment. The other two segments would be empty spaces.
    
    I can only assume this must be because the layersToRemove variable is getting changed in between the time of the CATransaction committing and the completion block happening. I have moved the code that was in the completion block to the end of the CATransaction (after some code that seems to already be doing some cleanup work using layersToRemove), and this seems to fix the problem. Presumably because it is all within the scope of the transaction now.
    
    You now seem to be able to call reloadData as many times and as quickly as you like and it works ok.
    Tom Thorpe authored

Mar 08, 2013

  1. Run the animation timer on the main thread to fix interaction bug

    Run the animation timer on the main thread.  We want to allow the user
    to interact with the UI while this timer is running.  If we run it on
    this thread, the timer will be halted while the user is touching the
    screen (that's why the chart was disappearing in our collection view).
    Michael Sprague authored

Dec 11, 2012

  1. XY Feng

    code consistency clean up

    authored
  2. XY Feng

    Merge pull request #17 from nschum/feature/selection

    Allow slices to be selected programmatically.
    authored
  3. Nikolaj Schumacher

    Allow slices to be selected programmatically.

    nschum authored
  4. Nikolaj Schumacher

    Allow reloadData if previous animation ongoing.

    Before this a slice could be missed if it was added during a previous animation.
    nschum authored

Sep 18, 2012

  1. Nikolaj Schumacher

    Fix re-positioning when frame origin not (0,0).

    nschum authored

Sep 17, 2012

  1. Nikolaj Schumacher

    Sync XYPieChart.[mh] in XYPieChart and Demo directory.

    nschum authored

Jun 12, 2012

  1. XY Feng

    change back to auto release

    authored

Jun 11, 2012

  1. Daniel Beard

    Fixed EXC_BAD_ACCESS issues that can occur when the __block variable …

    …in reloadData is over released.

May 21, 2012

  1. XY Feng

    add custom label text

    authored

May 10, 2012

  1. XY Feng

    fixed initWithFrame

    authored

Apr 20, 2012

  1. XY Feng

    fix slice percentage bug (was using angle degree as percentage, repla…

    …ced with the real percentage)
    authored

Apr 04, 2012

  1. Aiden Montgomery

    More accurate selection handling

    Touches appeared to be slightly off when selecting. Changed the view in
    which they are resolved to the pie chart view.

Mar 07, 2012

  1. XY Feng

    add license text

    authored

Mar 06, 2012

  1. XY Feng

    clean again

    authored
  2. XY Feng

    change folder structure

    authored
  3. XY Feng

    DEMO Code Added

    authored

Feb 24, 2012

  1. Initial Commit

    Xiaoyang Feng authored
Something went wrong with that request. Please try again.