how to set the parameters in dictionary values
<p>I am saving the data in external class file but am getting error while saving the Bool value
    as a parameter.
    Below is the source code
    .savefile.h</p>

<pre><code>-(void) saveDecreasedActivity:(NSInteger) bathing
                meal:(NSInteger) meal withTitle:(NSString *)title independentItem:(BOOL)timeItem;

        {
            NSMutableDictionary *lDataObj = [[NSMutableDictionary alloc] init];

           [lDataDict setValue:lSeqCounter forKey:@"seqCounter"];

            [lDataObj setValue:timeItem forKey:@"independentItem"]; 
        }
</code></pre>

<p>and i have save the data in other class</p>

<pre><code> [saver saveDecreasedActivity:[self.bathingControl selectedSegmentIndex]
                              meal:[self.mealControl selectedSegmentIndex] withTitle:lTitle independentItem:YES];
</code></pre>

<p>It was showing</p>

<pre><code>timeItem is incompatible integer to pointer conversion sending "BOOL" (aka singned char) to parameter of type id
</code></pre>

<p>Thanks in advance </p>
