TTUserInfo Class Reference
A helper class for storing user info to help identify a request. More...
#import <TTUserInfo.h>
Inheritance diagram for TTUserInfo:
Public Member Functions | |
| (id) | - initWithTopic:strongRef:weakRef: |
Static Public Member Functions | |
| (id) | + topic:strongRef:weakRef: |
| (id) | + topic: |
| (id) | + weakRef: |
Protected Attributes | |
| NSString * | _topic |
| id | _strongRef |
| id | _weakRef |
Properties | |
| NSString * | topic |
| id | strongRef |
| id | weakRef |
Detailed Description
A helper class for storing user info to help identify a request.
This class lets you store both a strong reference and a weak reference for the duration of the request. The weak reference is special because TTURLRequestQueue will examine it when you call cancelRequestsWithDelegate to see if the weak object is the delegate in question. For this reason, this object is a safe way to store an object that may be destroyed before the request completes if you call cancelRequestsWithDelegate in the object's destructor.
The documentation for this class was generated from the following files:
- Three20Network/Headers/TTUserInfo.h
- Three20Network/Sources/TTUserInfo.m
