title: Passing an int as "object" in NSNotification
body: <p>I'm trying to send an <code>int</code> (which is defined in an enum) as the object in an <code>NSNotification</code>. </p>
  
  <p>I can't do this, because I'll get an <code>EXC_BAD_ACCESS</code> error thrown when trying to access the object in the <code>notify:</code> method of the observer, since <code>int</code> is not of type <code>id</code> (I think?).</p>
  
  <p>My current solution is to cast the int to an <code>NSNumber</code> (by using <code>numberWithInt:</code>). While this works it doesn't feel right or clean.</p>
  
  <p>So the question is: what is the correct way to pass an int as the "object" of an NSNotification?</p>
  
  <p>I guess this actually has nothing to do with this specific case, but a Cocoa thing in general :-)</p>