title: IOS 6.1 with ARC Class from XIB does not get Deallocated, UIClassSwapper
body: <p>Have an interesting issue where there is a class that is referenced in an XIB layout (subclass of UIScrollView) and is not being de-allocated according to Instruments / Allocations and does not break in it's dealloc routine.  Let's call it Sclass1.</p>
  
  <p>There is a using class (let's call it Uclass) that has the XIB file and the outlet.</p>
  
  <pre><code>@property (nonatomic, weak) IBOutlet Sclass1* sclass1;
  </code></pre>
  
  <p>This is hooked properly to the XIB file layout.</p>
  
  <p>Sclass1 is property allocated when the XIB for Uclass is loaded.  Uclass does get deallocated and then recreated from time to time and thus we have another instance of Sclass1, but Sclass1 never goes away and can't find another reference to it.</p>
  
  <p>Drill down in Instruments shows the one Malloc and that is it.</p>
  
  <p>fyi, the class gets started with </p>
  
  <pre><code>[UIClassSwapper initWithCoder:]
  </code></pre>