title: Are there any standard way to implement the "blue badge" in iPhone?
body: <p>A lot of iPhone apps use a blue badge to indicate the number of items in the subviews, such as the Mail client:</p>
  
  <p><a href="http://skitch.com/leonho/4xeu/iphoto" rel="noreferrer">iPhoto http://img.skitch.com/20081103-tjr9yupbhgr3sqfh7u56if4rsn.preview.jpg</a></p>
  
  <p>Are there any standards way (or even an API) do this?</p>
  
  <p>UPDATE: I have created a class called BlueBadge to do this. It is available at <a href="http://github.com/leonho/iphone-libs/tree/master" rel="noreferrer">http://github.com/leonho/iphone-libs/tree/master</a></p>