Пример #1
0
 // Sets the cell's value and resets the label.
 public virtual void SetValue(NSObject newValue, bool notify)
 {
     Value = newValue;
     if (newValue != null)
     {
         ResetValueLabel();
         // We do not allow the setting of nil values from the app, but we do have to deal with incoming nil values.
         if (notify && Delegate != null)
         {
             Delegate.CharacteristicCellDidUpdateValueForCharacteristic(this, newValue, characteristic, UpdatesImmediately);
         }
     }
 }