aka RedditBar, Mac OS X menu bar reddit client
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Reddit.h 674B

123456789101112131415161718192021222324252627
  1. //
  2. // Reddit.h
  3. // RedditBar
  4. //
  5. // Created by Thomas Buck on 01.12.13.
  6. // Copyright (c) 2013 xythobuz. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface Reddit : NSObject
  10. @property (atomic, retain) NSString *username;
  11. @property (atomic, retain) NSString *modhash;
  12. @property (atomic, retain) NSString *password;
  13. -(id)initWithUsername:(NSString *)name Password:(NSString *)pass;
  14. -(NSString *)queryModhash;
  15. -(id)initWithUsername:(NSString *)name Modhash:(NSString *)hash;
  16. -(BOOL)isAuthenticated;
  17. -(NSData *)queryAPI:(NSString *)api withData:(NSString *)string andResponse:(NSHTTPURLResponse **)res;
  18. -(NSString *)urlencode:(NSString *)string;
  19. @end