title: CIFilter - Can't Change Name
body: <p>From Apple's <a href="http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimatingLayers.html#//apple_ref/doc/uid/TP40006085-SW1" rel="nofollow">Core Animation Programming Guide</a>, listing 4:</p>
  
  <pre><code>...
  // create the filter and set its default values
  CIFilter *filter = [CIFilter filterWithName:@"CIBloom"];
  [filter setDefaults];
  [filter setValue:[NSNumber numberWithFloat:5.0] forKey:@"inputRadius"];
  
  // name the filter so we can use the keypath to animate the inputIntensity
  // attribute of the filter
  [filter setName:@"pulseFilter"];
  ...
  </code></pre>
  
  <p>On the [filter setName... line I get a "No visible @interface for 'CIFilter' declares the selector 'setName:'</p>
  
  <p>I see that filter was created using a filterWithName initializer so I suspect that its name is read-only.  But then why is this example in Apple's code, as well as in many other example's I've found?</p>