Skip to content

Commit 9872728

Browse files
author
iOSModularization
committed
bug fix
1 parent eb7b88e commit 9872728

File tree

22 files changed

+1008
-439
lines changed

22 files changed

+1008
-439
lines changed

AHFMDataCenter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'AHFMDataCenter'
11-
s.version = '0.1.6'
11+
s.version = '0.1.7'
1212
s.summary = 'A short description of AHFMDataCenter.'
1313

1414
# This description is used to generate tags and improve search results.

AHFMDataCenter/Classes/AHFMEpisode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extension AHFMEpisode: AHDataModel {
4545
return [id,showId,duration,createdAt,showTitle,title,detail,audioURL,buzzScore,showFullCover,showThumbCover]
4646
}
4747

48-
public init(with dict: [String: Any?]){
48+
public init(with dict: [String: Any]){
4949
self.id = dict["id"] as! Int
5050
self.showId = dict["showId"] as! Int
5151
self.buzzScore = dict["buzzScore"] as? Double

AHFMDataCenter/Classes/AHFMEpisodeHistory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension AHFMEpisodeHistory: AHDataModel {
2525
return [id,addedAt]
2626
}
2727

28-
public init(with dict: [String: Any?]){
28+
public init(with dict: [String: Any]){
2929
self.id = dict["id"] as! Int
3030
self.addedAt = dict["addedAt"] as! Double
3131
}

AHFMDataCenter/Classes/AHFMEpisodeInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extension AHFMEpisodeInfo: AHDataModel {
4949
return [id,localFilePath,unfinishedFilePath,fileSize,lastPlayedTime,downloadedProgress,isDownloaded]
5050
}
5151

52-
public init(with dict: [String: Any?]){
52+
public init(with dict: [String: Any]){
5353
self.id = dict["id"] as! Int
5454
self.localFilePath = dict["localFilePath"] as? String
5555
self.unfinishedFilePath = dict["unfinishedFilePath"] as? String

AHFMDataCenter/Classes/AHFMShow.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extension AHFMShow: AHDataModel{
5555
return [id,numberOfEpDownloaded,totalFilesSize,hasNewDownload,categoryStr,title,detail,thumbCover,fullCover,buzzScore]
5656
}
5757

58-
public init(with dict: [String: Any?]){
58+
public init(with dict: [String: Any]){
5959
self.id = dict["id"] as! Int
6060
self.numberOfEpDownloaded = dict["numberOfEpDownloaded"] as? Int ?? 0
6161
self.totalFilesSize = dict["totalFilesSize"] as? Int ?? 0

AHFMDataCenter/Classes/AHFMSubscribedShow.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extension AHFMSubscribedShow: AHDataModel {
2020
return [id,addedAt]
2121
}
2222

23-
public init(with dict: [String: Any?]){
23+
public init(with dict: [String: Any]){
2424
self.id = dict["id"] as! Int
2525
self.addedAt = dict["addedAt"] as! Double
2626
}

Example/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
2-
- AHDataModel (0.2.0)
3-
- AHFMDataCenter (0.1.0):
2+
- AHDataModel (0.5.1)
3+
- AHFMDataCenter (0.1.6):
44
- AHDataModel
55
- UIDeviceExtension
66
- UIDeviceExtension (0.1.0)
@@ -13,8 +13,8 @@ EXTERNAL SOURCES:
1313
:path: ../
1414

1515
SPEC CHECKSUMS:
16-
AHDataModel: 9c3e23889cc3c82b20b1d52414e23ad41e8a871d
17-
AHFMDataCenter: 8775bca9df8bec450624b2174779c314ed857dd0
16+
AHDataModel: 3673387fef1450553d1a36db05e79eddff199396
17+
AHFMDataCenter: 6e44fe3761b941aa178deb49e495348324093d19
1818
UIDeviceExtension: 53d1d2177714a3e434e755b6c0fb66678595fce4
1919

2020
PODFILE CHECKSUM: 3dfd5e4959a0119ce9253d372eb1162a871f0985

Example/Pods/AHDataModel/AHDataModel/Classes/AHDB.swift

Lines changed: 151 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/AHDataModel/AHDataModel/Classes/AHDBColumnInfo.swift

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)