amit.thakkar

Q: Multiple NSNotification, Changed only one object. In Notification getting notification of relationships.

Hi,

 

I have Entities like 'Alert' which has relationship to 'Company' and 'Company' has relationship to 'User'.

When i am saving something in Alert. In my observer of NsNotificationCenter, i am getting notification for 'Company', 'User (multipler users)' and Alert.

I am not able to figure out why i am getting Notifications of 'Company' and 'User'.

For example : I have Company name - XYZ and it has 7 Users - 'A to G' and i created Alert on 'A' then after changing in Alert. i am getting notification of 7 users, 1 Company and 1 Alert.

I dont know why i am getting Notification of Users and Company.

 

My Objects Hierarchy is :

Alert has relationship to Company.

User has relationships to Company.

 

Please help..

 

Thanks,

Amit

Windows 7, Webobject

Posted on Dec 12, 2013 3:44 AM

Close

Q: Multiple NSNotification, Changed only one object. In Notification getting notification of relationships.

  • All replies
  • Helpful answers