Skip to content

Commit

Permalink
[feat] 最低版本限制保持跟 FMDB 一致
Browse files Browse the repository at this point in the history
  • Loading branch information
lijianghuai committed Jun 19, 2024
1 parent 48f2538 commit f0de63b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Demo-iOS/Podfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
target 'iOS-Demo' do
platform :ios,5.0
platform :ios, 11.0
pod 'LKDBHelper', :path => '../'
end

target 'Watch WatchKit Extension' do
platform :watchos, '2.0'
platform :watchos, 7.0
pod 'LKDBHelper', :path => '../'
end
10 changes: 5 additions & 5 deletions LKDBHelper.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "LKDBHelper",
"version": "2.6.1",
"version": "2.6.2",
"summary": "全自动的插入,查询,更新,删除, an automatic database operation thread-safe and not afraid of recursive deadlock",
"description": "全面支持 NSArray,NSDictionary, ModelClass, NSNumber, NSString, NSDate, NSData, UIColor, UIImage, CGRect, CGPoint, CGSize, NSRange, int,char,float, double, long.. 等属性的自动化操作(插入和查询)",
"homepage": "https://github.com/li6185377/LKDBHelper-SQLite-ORM",
Expand All @@ -10,12 +10,12 @@
},
"source": {
"git": "https://github.com/li6185377/LKDBHelper-SQLite-ORM.git",
"tag": "2.6.1"
"tag": "2.6.2"
},
"platforms": {
"ios": "6.0",
"osx": "10.7",
"watchos": "2.0"
"ios": "11.0",
"osx": "10.13",
"watchos": "7.0"
},

"requires_arc": true,
Expand Down
6 changes: 6 additions & 0 deletions LKDBHelper/Helper/LKDBHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
#import "LKDBUtils.h"
#import "NSObject+LKDBHelper.h"
#import "NSObject+LKModel.h"

#if __has_include(<fmdb/FMDB.h>)
#import <fmdb/FMDB.h>
#else
#import <FMDB/FMDB.h>
#endif

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down

0 comments on commit f0de63b

Please sign in to comment.