Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ming1016 committed May 25, 2024
1 parent 981ed6b commit 7816275
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
8 changes: 4 additions & 4 deletions SwiftPamphletApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2155,7 +2155,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_ASSET_PATHS = "\"SwiftPamphletApp/Preview Content\"";
DEVELOPMENT_TEAM = 962Z8PV35L;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -2169,7 +2169,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 6.4.7;
MARKETING_VERSION = 6.4.8;
OTHER_LDFLAGS = (
"-Xlinker",
"-interposable",
Expand Down Expand Up @@ -2198,7 +2198,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 13;
DEVELOPMENT_ASSET_PATHS = "\"SwiftPamphletApp/Preview Content\"";
DEVELOPMENT_TEAM = 962Z8PV35L;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -2212,7 +2212,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 6.4.7;
MARKETING_VERSION = 6.4.8;
PRODUCT_BUNDLE_IDENTIFIER = com.starming.SwiftPamphletAppByMing;
PRODUCT_NAME = "戴铭的开发小册子";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
19 changes: 9 additions & 10 deletions SwiftPamphletApp/Guide/View/GuideListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,13 @@ final class GuideListModel {
func buildMDContent() {
var md = ""
for one in lModel {
if one.t == "SwiftUI" {
if one.t == "动画" {
if let oneSub = one.sub {
for two in oneSub {
let str = SMFile.loadBundleString("\(two.t)(ap).md")
let strformat = "## \(two.t)\n" + str.replacingOccurrences(of: "## ", with: "### ")
md += strformat

if two.t == "数据集合组件" {
if let twoSub = two.sub {
for three in twoSub {
Expand All @@ -142,16 +146,11 @@ final class GuideListModel {
}
}
}


// let str = SMFile.loadBundleString("\(two.t)(ap).md")
// let strformat = "## \(two.t)\n" + str.replacingOccurrences(of: "## ", with: "### ")
// md += strformat
}
}
} // end for two
} // end if let oneSub

}
}
} // end if one.t
} // end for one
SMFile.writeToDownload(fileName: "read.md", content: md)
}

Expand Down

0 comments on commit 7816275

Please sign in to comment.