MetaCodable 1.3.0

MetaCodable 1.3.0

SwiftyLab 维护。



{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".devcontainer","path":".devcontainer","contentType":"directory"},{"name":".github","path":".github","contentType":"directory"},{"name":".vscode","path":".vscode","contentType":"directory"},{"name":"Plugins","path":"Plugins","contentType":"directory"},{"name":"Sources","path":"Sources","contentType":"directory"},{"name":"Tests","path":"Tests","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".spi.yml","path":".spi.yml","contentType":"file"},{"name":".swift-format","path":".swift-format","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Package.swift","path":"Package.swift","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"}],"totalCount":16}},"fileTreeProcessingTime":7.562611,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":655068226,"defaultBranch":"main","name":"MetaCodable","ownerLogin":"SwiftyLab","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-06-17T19:32:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/106015847?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"v1.2.1","listCacheKey":"v0:1706214468.0","canEdit":false,"refType":"tag","currentOid":"a6011c3337f573b04b29b8591b507de7e6e4ed8d"},"path":"README.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/SwiftyLab/MetaCodable/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/SwiftyLab/MetaCodable/security/dependabot","repoSecurityAndAnalysisPath":"/SwiftyLab/MetaCodable/settings/security_analysis","repoOwnerIsOrg":true,"currentUserCanAdminRepo":false},"displayName":"README.md","displayUrl":"https://github.com/SwiftyLab/MetaCodable/blob/v1.2.1/README.md?raw=true","headerInfo":{"blobSize":"11.2 KB","deleteInfo":{"deleteTooltip":"您必须登录以创建或提议更改"},"editInfo":{"editTooltip":"您必须登录以创建或提议更改"},"ghDesktopPath":null,"gitLfsPath":null,"onBranch":false,"shortPath":"bcae773","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FSwiftyLab%2FMetaCodable%2Fblob%2Fv1.2.1%2FREADME.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"MetaCodable","anchor":"metacodable","htmlText":"MetaCodable"},{"level":2,"text":"Overview","anchor":"overview","htmlText":"Overview"},{"level":2,"text":"Requirements","anchor":"requirements","htmlText":"Requirements"},{"level":2,"text":"Installation","anchor":"installation","htmlText":"Installation"},{"level":3,"text":"Swift Package Manager","anchor":"swift-package-manager","htmlText":"Swift Package Manager"},{"level":2,"text":"Usage","anchor":"usage","htmlText":"Usage"},{"level":2,"text":"Contributing","anchor":"contributing","htmlText":"Contributing"},{"level":2,"text":"License","anchor":"license","htmlText":"License"}],"lineInfo":{"truncatedLoc":"322","truncatedSloc":"248"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://githubdocs.cn/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"loggedIn":false,"newDiscussionPath":"/SwiftyLab/MetaCodable/discussions/new","newIssuePath":"/SwiftyLab/MetaCodable/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/SwiftyLab/MetaCodable/blob/v1.2.1/README.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/SwiftyLab/MetaCodable/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"rawBlobUrl":"https://github.com/SwiftyLab/MetaCodable/raw/v1.2.1/README.md","renderImageOrRaw":false,"richText":"

MetaCodable

\n

"API"Swift"Swift""Platforms""CI/CD""CodeFactor""codecov"

使用宏将Swift的Codable实现加速。

\n

概述

\n

MetaCodable框架公开了一些自定义宏,可用以生成动态的Codable实现。框架的核心是Codable()宏,该宏使用其他宏提供的数据生成实现。

\n

MetaCodable旨在通过提供以下功能来加速您的Codable实现:

\n
    \n
  • 允许为每个变量自定义CodingKey的值,而不是要求您使用CodedAt(_:)-传递单个参数来编写所有CodingKey的值。
\n

...

\n

需求

掉色的数码字体

安装

掉色的数码字体

用法

\n

¨C46C 允许用户从一些典型的 ¨C47C 实现中删除常用的 boiler plate 功能,例如:

掉色的数码字体
掉色的数码字体
掉色的数码字体
掉色的数码字体
掉色的数码字体

请参阅完整的文档,了解 ¨C76C¨C77C 的 API 详细信息和高级用法。此外,请参见 限制

\n

贡献

\n

如果您希望贡献代码更改,建议任何改进,请审阅我们的 贡献指南,检查开放的 问题,如果它正在被处理,或者打开一个 拉取请求

\n

许可证

\n

¨C78C 在 MIT 许可下发布。有关详细信息,请查阅 LICENSE

\n
","渲染的文件信息":null,"短路径":null,"制表符大小":8,"顶部横幅信息":{ "是否覆盖全局资金文件":false,"全局首选资金路径":null,"仓库所有者":"SwiftyLab","仓库名称":"MetaCodable","显示无效引用警告":false,"引用帮助URL":"https://githubdocs.cn/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","显示Dependabot配置横幅":false,"actionsOnboardingTip":null},"截断":false,"可查看":true,"工作流程重定向URL":null,"符号":{ "timed_out":false,"not_analyzed":false,"symbols":[{"name":"MetaCodable","kind":"section_1","ident_start":2,"ident_end":13,"extent_start":0,"extent_end":11483,"fully_qualified_name":"MetaCodable","ident_utf16":{"start":{"line_number":0,"utf16_col":2},"end":{"line_number":0,"utf16_col":13}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":322,"utf16_col":0}}},{"name":"Overview","kind":"section_2","ident_start":1288,"ident_end":1296,"extent_start":1285,"extent_end":3505,"fully_qualified_name":"Overview","ident_utf16":{"start":{"line_number":13,"utf16_col":3},"end":{"line_number":13,"utf16_col":11}},"extent_utf16":{"start":{"line_number":13,"utf16_col":0},"end":{"line_number":35,"utf16_col":0}}},{"name":"要求","kind":"section_2","ident_start":3508,"ident_end":3520,"extent_start":3505,"extent_end":3826,"fully_qualified_name":"要求","ident_utf16":{"start":{"line_number":35,"utf16_col":3},"end":{"line_number":35,"utf16_col":15}},"extent_utf16":{"start":{"line_number":35,"utf16_col":0},"end":{"line_number":43,"utf16_col":0}}},{"name":"安装","kind":"section_2","ident_start":3829,"ident_end":3841,"extent_start":3826,"extent_end":4561,"fully_qualified_name":"安装","ident_utf16":{"start":{"line_number":43,"utf16_col":3},"end":{"line_number":43,"utf16_col":15}},"extent_utf16":{"start":{"line_number":43,"utf16_col":0},"end":{"line_number":64,"utf16_col":0}}},{"name":"使用","kind":"section_2","ident_start":4564,"ident_end":4569,"extent_start":4561,"extent_end":11066,"fully_qualified_name":"使用","ident_utf16":{"start":{"line_number":64,"utf16_col":3},"end":{"line_number":64,"utf16_col":8}},"extent_utf16":{"start":{"line_number":64,"utf16_col":0},"end":{"line_number":312,"utf16_col":0}}},{"name":"贡献","kind":"section_2","ident_start":11069,"ident_end":11081,"extent_start":11066,"extent_end":11386,"fully_qualified_name":"贡献","ident_utf16":{"start":{"line_number":312,"utf16_col":3},"end":{"line_number":312,"utf16_col":15}},"extent_utf16":{"start":{"line_number":312,"utf16_col":0},"end":{"line_number":319,"utf16_col":0}}},{"name":"许可","kind":"section_2","ident_start":11389,"ident_end":11396,"extent_start":11386,"extent_end":11483,"fully_qualified_name":"许可","ident_utf16":{"start":{"line_number":319,"utf16_col":3},"end":{"line_number":319,"utf16_col":10}},"extent_utf16":{"start":{"line_number":319,"utf16_col":0},"end":{"line_number":322,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/SwiftyLab/MetaCodable/branches":{"post":"ixRjIqXzuxlzQF5cjM8QG8vgmMOb1ltn8TrRDjFOioD2ew3Mrx8BA0xLZASTImbaO47Cwgdhx8vJaOS9L4Sh4Q"},"/repos/preferences":{"post":"pAaVbkI9O5eZkYOrertMHShGQwlyd5cpxTSBdvd9rXjz2a8poirSO2yZMku72lNA-cLhhR-sSjXEDZM6xd_Wpw"}}},"标题":"MetaCodable/README.md at v1.2.1 · SwiftyLab/MetaCodable"}