From 8026b0a866227ca29cdb167e7e5068259fae00dc Mon Sep 17 00:00:00 2001 From: yaqinking Date: Thu, 17 Mar 2016 01:26:22 +0800 Subject: [PATCH] Default fetch today, yesterday, day before yesterday's subscribe keywords and always fetch other category's keywords. --- DMHY/DMHYAPI.h | 2 +- DMHY/Info.plist | 4 +- DMHY/ViewController.m | 174 +++++++++++++++++++++++------------------- 3 files changed, 99 insertions(+), 81 deletions(-) diff --git a/DMHY/DMHYAPI.h b/DMHY/DMHYAPI.h index 8395df9..c137405 100644 --- a/DMHY/DMHYAPI.h +++ b/DMHY/DMHYAPI.h @@ -40,7 +40,7 @@ #define kSelectKeyword @"SelectKeyword" #define kFetchInterval @"FetchInterval" #define kSelectKeywordIsSubKeyword @"SelectKeywordIsSubKeyword" - +#define kWeekdayOther @"其他" #define kFetchIntervalMinimum 30 //5 minutes #define kFetchIntervalMaximun 43200 //12 hours diff --git a/DMHY/Info.plist b/DMHY/Info.plist index 8f05b5f..8583497 100644 --- a/DMHY/Info.plist +++ b/DMHY/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1.1 + 1.2 CFBundleSignature ???? CFBundleVersion - 25 + 27 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/DMHY/ViewController.m b/DMHY/ViewController.m index 56a04d1..410ed52 100644 --- a/DMHY/ViewController.m +++ b/DMHY/ViewController.m @@ -31,6 +31,9 @@ @interface ViewController()