selectedSearchResult is a class property.
I thought if I write
selectedSearchResult = [[[results lastObject] retain] autorelease];
the property is released only when the class instance is deallocated, but when I invoke selectedSearchResult, it is null in the next method.
Thanks
If
selectedSearchResultis a property, then call it as property