{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".swiftpm","path":".swiftpm","contentType":"directory"},{"name":"SSStoryStatusDemo","path":"SSStoryStatusDemo","contentType":"directory"},{"name":"Sources","path":"Sources","contentType":"directory"},{"name":"Tests","path":"Tests","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".spi.yml","path":".spi.yml","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":"SSStoryStatus.podspec","path":"SSStoryStatus.podspec","contentType":"file"}],"totalCount":12}},"fileTreeProcessingTime":3.131957,"foldersToFetch":[],"reducedMotionEnabled":null,"repo":{"id":602890355,"defaultBranch":"master","name":"SSStoryStatus","ownerLogin":"SimformSolutionsPvtLtd","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-02-17T06:45:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/8737327?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1702366798.0","canEdit":false,"refType":"branch","currentOid":"323c37398108ece1cca4626e7123cdc83c2f8004"},"path":"README.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/SimformSolutionsPvtLtd/SSStoryStatus/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null,"repoAlertsPath":"/SimformSolutionsPvtLtd/SSStoryStatus/security/dependabot","repoSecurityAndAnalysisPath":"/SimformSolutionsPvtLtd/SSStoryStatus/settings/security_analysis","repoOwnerIsOrg":true,"currentUserCanAdminRepo":false},"displayName":"README.md","displayUrl":"https://github.com/SimformSolutionsPvtLtd/SSStoryStatus/blob/master/README.md?raw=true","headerInfo":{"blobSize":"6.72 KB","deleteInfo":{"deleteTooltip":"您必须登录才能创建或提议更改"},"editInfo":{"editTooltip":"您必须登录才能创建或提议更改"},"ghDesktopPath":"https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"99f5251","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FSimformSolutionsPvtLtd%2FSSStoryStatus%2Fblob%2Fmaster%2FREADME.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"SSStoryStatus","anchor":"ssstorystatus","htmlText":"SSStoryStatus"},{"level":2,"text":"Features","anchor":"features","htmlText":"Features"},{"levelname":3,"text":"Swift Package Manager","anchor":"swift-package-manager","htmlText":"Swift Package Manager"},{"level":3,"text":"CocoaPods","anchor":"cocoapods","htmlText":"CocoaPods"},{"level":2,"text":"Usage","anchor":"usage","htmlText":"Usage"},{"level":2,"text":"Customization","anchor":"customization","htmlText":"Customization"},{"level":2,"text":"Find this samples useful? ❤️","anchor":"find-this-samples-useful-heart","htmlText":"Find this samples useful? ❤️"},{"level":2,"text":"How to Contribute 🤝","anchor":"how-to-contribute-handshake","htmlText":"How to Contribute 🤝"},{"level":2,"text":"Bugs and Feedback","anchor":"bugs-and-feedback","htmlText":"Bugs and Feedback"},{"level":2,"text":"Other Mobile Libraries","anchor":"other-mobile-libraries","htmlText":"Other Mobile Libraries"},{"level":2,"text":"License","anchor":"license","htmlText":"License"}],"lineInfo":{"truncatedLoc":"207","truncatedSloc":"137"},"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":"/SimformSolutionsPvtLtd/SSStoryStatus/discussions/new","newIssuePath":"/SimformSolutionsPvtLtd/SSStoryStatus/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/SimformSolutionsPvtLtd/SSStoryStatus/blob/master/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":"/SimformSolutionsPvtLtd/SSStoryStatus/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"rawBlobUrl":"https://github.com/SimformSolutionsPvtLtd/SSStoryStatus/raw/master/README.md","renderImageOrRaw":false,"richText":"
SSStoryStatus 是一个灵活且直观的 SwiftUI 库,旨在轻松展示用户列表和无缝展示他们的迷人故事。此库使开发者能够轻松集成用户列表和故事查看功能。此库提供了对 UI 组件的完全控制,以实现自定义。
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n个人资料列表 | 故事视图 | 消息 & 反应 |
---|---|---|
![]() | ![]() | ![]() |
您可以使用 Swift 包管理器 安装 SSStoryStaus
:
Xcode
-> 文件
-> 添加包依赖...
CocoaPods 是 Cocoa 项目的依赖管理器。您可以使用以下命令安装它:
\n$ gem install cocoapods
导航到项目根目录以集成 Pod。
\n$ pod init
它将为您的项目生成 Podfile
。要在项目中集成 SSStoryStatus,请在 Podfile
中指定它
然后,运行以下命令
\n它将生成 ¨C6C 文件。从现在开始,您应使用此文件打开项目。
\n首先导入所需的包
\n¨C7C 接受用户列表作为 ¨C8C。
\n¨C9C 接受每个用户的 故事列表作为 ¨C10C。
\n现在,您可以将此用户列表传递给 ¨C11C。
\n您可以监听任何用户查看任意故事的回调
\n当用户按下任何表情或回复故事时,您可以观察它
\n要自定义 SSStoryStatus,请参阅自定义指南。
\n支持它,请加入star 认领。
\n无论你是帮助我们一起修复错误、改善文档,还是提出功能请求,我们都非常欢迎! 💪
查看我们的“-25C”获取贡献想法。
对于错误、功能请求和讨论,请使用 GitHub 问题。
\n查看我们的其他库 Awesome-Mobile-Libraries。
\n在MIT许可证下发行。有关详细信息,请参阅LICENSE。
\n\n\n