Changeset 14442 for lang/objective-c
- Timestamp:
- 06/23/08 03:19:28 (5 months ago)
- Location:
- lang/objective-c/Atompub/trunk
- Files:
-
- 1 added
- 3 modified
-
Classes/AtompubClient.h (modified) (3 diffs)
-
Classes/AtompubClient.m (modified) (2 diffs)
-
Classes/AtompubClientDelegate.h (added)
-
TASK.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/objective-c/Atompub/trunk/Classes/AtompubClient.h
r14252 r14442 1 1 #import <Foundation/Foundation.h> 2 2 #import "AtompubCredential.h" 3 #import "AtompubClientDelegate.h"4 3 5 4 #define defaultTimeoutInterval 60.0 … … 21 20 22 21 @class AtompubCacheStorage, AtomEntry; 22 @protocol AtompubClientDelegate; 23 23 24 24 @interface AtompubClient : NSObject { 25 25 NSObject <AtompubCredential> *credential; 26 26 NSObject <AtompubClientDelegate> *delegate; 27 unsigned inttimeoutInterval;27 NSTimeInterval timeoutInterval; 28 28 NSString *agentName; 29 29 AtompubClientFetchMode fetchMode; … … 45 45 - (void)setDelegate:(NSObject <AtompubClientDelegate> *)target; 46 46 - (void)setCredential:(NSObject <AtompubCredential> *)aCredential; 47 - ( unsigned int)timeoutInterval;48 - (void)setTimeoutInterval:( unsigned int)interval;47 - (NSTimeInterval)timeoutInterval; 48 - (void)setTimeoutInterval:(NSTimeInterval)interval; 49 49 - (NSData *)responseData; 50 50 - (NSHTTPURLResponse *)lastResponse; -
lang/objective-c/Atompub/trunk/Classes/AtompubClient.m
r14252 r14442 67 67 } 68 68 69 - ( unsigned int)timeoutInterval {69 - (NSTimeInterval)timeoutInterval { 70 70 return timeoutInterval; 71 71 } … … 83 83 } 84 84 85 - (void)setTimeoutInterval:( unsigned int)interval {85 - (void)setTimeoutInterval:(NSTimeInterval)interval { 86 86 timeoutInterval = interval; 87 87 } -
lang/objective-c/Atompub/trunk/TASK.txt
r14252 r14442 11 11 - add KeyChain controller to each AtompubCredential class for both Mac OSX and iPhone OS 12 12 - make this package one single framework. 13 13 - add a credential class for OAuth
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)