Fixed warnings

* fixed lack of use of NSUInteger
* removed deprecated use of triggerChangeNotificationsForDependentKey: