aka RedditBar, Mac OS X menu bar reddit client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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