title: Core Plot getting the error "Too many arguments to function call"
body: <p>Today i've started to get 2 errors in <code>CPTAnimationPlotRangePeriod.m</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/F86Z7.png" alt="enter image description here"></p>
  
  <p>I have tried to clean the project but it doesn't do anything.</p>
  
  <p>It started when i tried to install this: <a href="https://github.com/devxoul/JLToast" rel="nofollow noreferrer">https://github.com/devxoul/JLToast</a>. I have followed all the instruction:</p>
  
  <ol>
  <li><code>gem install cocoapods --pre</code>  </li>
  <li>Add this to my Podfile: <code>pod 'JLToast'</code>  </li>
  <li>Do <code>pod install</code></li>
  </ol>
  
  <p>This is how my Podfile looks like:</p>
  
  <pre><code># Uncomment this line to define a global platform for your project
  # platform :ios, '7.0'
  
  
  target '[Project name]' do
      pod 'CorePlot', :git =&gt; 'https://github.com/core-plot/core-plot.git', :branch =&gt;    'release-2.0'
      pod 'JLToast'
  end
  </code></pre>