title: Pointer to a property in singleton
body: <pre><code>NSMutableDictionary *searchFilters = [GlobalData instance].searchFilters;
  if([searchFilters count] == 0)
  {
      NSLog(@"no more keys, destroy global filters");
  
      [GlobalData instance].searchFilters = nil; // this is okay
  
      // searchFilters = nil; &lt;-- this is not okay
  }
  </code></pre>
  
  <p>Hi guys, can someone help me to understand better pointers in Objective C?
  As shown above, I have a dictionary property stored in a singleton called 'GlobalData', using a pointer *searchFilters i can point to this dictionary and read its values correctly, but, if i want to MODIFY its value, code like 'searchFilters = nil' will not modify the value in the global singleton at all.</p>
  
  <p>i need a shortcut to [GlobalData instance].searchFilters so that i do not need to retype "[GlobalData instance].searchFilters" each time... be it a pointer, pointer to pointer, watever, i want to know is there to wat to address that property in the singleton faster.</p>