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.

RedditItem.m 516B

123456789101112131415161718192021222324
  1. //
  2. // RedditItem.m
  3. // RedditBar
  4. //
  5. // Created by Thomas Buck on 01.12.13.
  6. // Copyright (c) 2013 xythobuz. All rights reserved.
  7. //
  8. #import "RedditItem.h"
  9. @implementation RedditItem
  10. @synthesize name, link, comments, isSelf;
  11. +(RedditItem *)itemWithName:(NSString *)name Link:(NSString *)link Comments:(NSString *)comments Self:(BOOL)isSelf {
  12. RedditItem *i = [[RedditItem alloc] init];
  13. [i setName:name];
  14. [i setLink:link];
  15. [i setComments:comments];
  16. [i setIsSelf:isSelf];
  17. return i;
  18. }
  19. @end