-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRSSChannelSelector.h
More file actions
37 lines (28 loc) · 863 Bytes
/
RSSChannelSelector.h
File metadata and controls
37 lines (28 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// RSSChannel.h
// iReader-RSS
//
// Created by Julien Sarazin on 16/09/12.
// Copyright (c) 2012 Julien Sarazin. All rights reserved.
//
#import <Foundation/Foundation.h>
#define Key_LeMondeTechnologies @"0"
#define Key_LeMondeEconomie @"1"
#define key_LeMondeAlaUne @"2"
#define key_LeMondeCulture @"3"
#define key_LeMondeSport @"4"
#define key_LeMondePolitique @"5"
#define key_LeMondeLitterature @"6"
#define key_LeMondeInternational @"7"
@protocol RSSChannelSelectorDelegate
@required
- (void)currentChannelChanged;
@end
@interface RSSChannelSelector : NSObject
+ (RSSChannelSelector*)sharedRSSChannel;
@property NSDictionary *channels;
@property NSInteger currentIndex;
@property UIViewController<RSSChannelSelectorDelegate> *delegate;
- (void) setCurrentChannelFromString:(NSString *)channelUrlKey;
- (NSURL*)getCurrentChannel;
@end