Skip to content

Commit

Permalink
update wwdc data
Browse files Browse the repository at this point in the history
  • Loading branch information
ming1016 committed Aug 5, 2024
1 parent a20cf2f commit ae5af41
Show file tree
Hide file tree
Showing 3 changed files with 15,568 additions and 10,125 deletions.
8 changes: 4 additions & 4 deletions SwiftPamphletApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2181,7 +2181,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 16;
CURRENT_PROJECT_VERSION = 17;
DEVELOPMENT_ASSET_PATHS = "\"SwiftPamphletApp/Preview Content\"";
DEVELOPMENT_TEAM = 962Z8PV35L;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -2195,7 +2195,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 6.4.11;
MARKETING_VERSION = 6.4.12;
OTHER_LDFLAGS = (
"-Xlinker",
"-interposable",
Expand Down Expand Up @@ -2224,7 +2224,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 16;
CURRENT_PROJECT_VERSION = 17;
DEVELOPMENT_ASSET_PATHS = "\"SwiftPamphletApp/Preview Content\"";
DEVELOPMENT_TEAM = 962Z8PV35L;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -2238,7 +2238,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 6.4.11;
MARKETING_VERSION = 6.4.12;
PRODUCT_BUNDLE_IDENTIFIER = com.starming.SwiftPamphletAppByMing;
PRODUCT_NAME = "戴铭的开发小册子";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
30 changes: 18 additions & 12 deletions SwiftPamphletApp/Guide/WWDC/WWDCDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ struct WWDCDetailView: View {
}
}
VStack(alignment:.leading, spacing: 10) {
if let vurl = ss.media.streamHLS {
if let okVurl = URL(string: vurl) {
// if let vurl = ss.media.streamHLS {
// if let okVurl = URL(string: vurl) {
// if ss.year > 2020 {
// VideoPlayer(player: AVPlayer(url: okVurl))
// } else {
// Link("视频地址:\(vurl)", destination: okVurl)
// }
// VideoPlayer(player: AVPlayer(url: okVurl))
HStack {
Link("视频播放", destination: okVurl)
Spacer()
}
}
}
// HStack {
// Link("视频播放", destination: okVurl)
// Spacer()
// }
// }
// }
// HStack {
// if let hd = ss.media.downloadHD {
// Link("HD 下载链接", destination: URL(string: hd)!)
Expand All @@ -69,11 +69,17 @@ struct WWDCDetailView: View {
// Link("SD 下载链接", destination: URL(string: sd)!)
// }
// }
if let platforms = ss.platforms {
Text(platformDes(platforms))
.foregroundStyle(.secondary)
HStack {
if let platforms = ss.platforms {
Text(platformDes(platforms))
.foregroundStyle(.secondary)
}
Spacer()
}
HStack {
Text(ss.description ?? "")
Spacer()
}
Text(ss.description ?? "")


}
Expand Down
Loading

0 comments on commit ae5af41

Please sign in to comment.