A helper class for storing user info to help identify a request. More...

#import <TTUserInfo.h>

Inheritance diagram for TTUserInfo:
NSObject

List of all members.

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

NSStringtopic
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
blog comments powered by Disqus