title: How to convert a Class Object into a NSDictionary?
body: <p>I have to convert a class object in NSDictionary</p>
  
  <p>I have following class</p>
  
  <pre><code>@interface FoodMeal : NSObject&lt;NSCoding,NSCopying&gt;
  
  @property (nonatomic,strong) NSString *mealType;
  @property (nonatomic,strong) NSString *mealName;
  @property (nonatomic,strong) NSArray *mealItems;
  @property (nonatomic,strong) NSDate *mealDate;
  
  @end
  </code></pre>
  
  <p>mealItems contains FoodItems which is a class object.</p>
  
  <p>FoodItems has a variable Nutrition facts which intern a Class object.</p>
  
  <p>Is there a efficient way to convert FoodMeal class to NSDictionary.</p>
  
  <p>Thanks in advance.</p>