Javier Cicchelli 9bcdaa697b [Setup] Basic project structure (#1)
This PR contains all the work related to setting up this project as required to implement the [Assignment](https://repo.rock-n-code.com/rock-n-code/deep-linking-assignment/wiki/Assignment) on top, as intended.

To summarise this work:
- [x] created a new **Xcode** project;
- [x] cloned the `Wikipedia` app and inserted it into the **Xcode** project;
- [x] created the `Locations` app and also, its `Libraries` package;
- [x] created the `Shared` package to share dependencies between the apps;
- [x] added a `Makefile` file and implemented some **environment** and **help** commands.

Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Reviewed-on: rock-n-code/deep-linking-assignment#1
2023-04-08 18:37:13 +00:00

41 lines
1.7 KiB
Objective-C

#import <WMF/WMFMTLModel.h>
NS_ASSUME_NONNULL_BEGIN
@interface WMFAnnouncement : WMFMTLModel <MTLJSONSerializing>
@property (nonatomic, copy, readonly, nullable) NSString *identifier;
@property (nonatomic, copy, readonly, nullable) NSString *type;
@property (nonatomic, copy, readonly, nullable) NSDate *startTime;
@property (nonatomic, copy, readonly, nullable) NSDate *endTime;
@property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *platforms;
@property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *countries;
@property (nonatomic, copy, readonly, nullable) NSString *placement;
@property (nonatomic, copy, readonly, nullable) NSURL *imageURL;
@property (nonatomic, copy, readonly, nullable) NSNumber *imageHeight;
@property (nonatomic, copy, readonly, nullable) NSString *text;
@property (nonatomic, copy, readonly, nullable) NSString *actionTitle;
@property (nonatomic, copy, readonly, nullable) NSURL *actionURL;
@property (nonatomic, copy, readonly, nullable) NSString *actionURLString;
@property (nonatomic, copy, readonly, nullable) NSString *captionHTML;
@property (nonatomic, copy, readonly, nullable) NSString *negativeText;
@property (nonatomic, copy, readonly, nullable) NSNumber *readingListSyncEnabled;
@property (nonatomic, copy, readonly, nullable) NSNumber *loggedIn;
@property (nonatomic, copy, readonly, nullable) NSNumber *beta;
@property (nonatomic, copy, readonly, nullable) NSString *domain;
//only applies to survey types
@property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *articleTitles;
@property(nonatomic, copy, readonly, nullable) NSNumber *percentReceivingExperiment;
@property (nonatomic, strong, readonly, nullable) NSNumber *displayDelay;
@end
NS_ASSUME_NONNULL_END