有哪些好的开源 iOS 项目值得学习?

发布于 2024-12-14 11:10:26 字数 117 浏览 0 评论 0原文

我正在寻找一个设计精良的 iOS 代码/框架,它是开源的,我可以学习。我的意思是,好的设计是,它们遵循良好的面向对象的概念,代码干净,有组织,可能还有一些单元测试。我想学习这些概念并将其应用到我的项目中。任何建议表示赞赏

I am looking for a good well designed iOS code/framework that is open sourced out there that I can study on. What I mean good design is, they follow good object oriented concepts, code is clean, and organized, possibly has some unit testing in it as well. I wanted to learn these concepts and apply it to my projects as well. Any suggestions are appreciated

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

心房的律动 2024-12-21 11:10:26

Apple 提供了一些很棒的示例代码

此外,我建议查看代码共享网站上提供的大量 iOS 代码,例如 GitHub。一些 StackOverflow 成员完成了一些出色的工作。 Marcus Zarra戴夫德隆就是这样的两个人。 我也在那里发布了一些代码。如您所知,GitHub 上发布的许多代码都不是完整的项目,而是库或有用的类。

还有 Facebook 发布的 Three20 框架

冒着无耻的自我插入的风险,这是我写的一个项目,它的评论过多,而且相当简单。该应用程序是 iPhone 的“快速拨号”。设置号码、拨动开关,您不再需要跳转到手机应用程序来点击收藏夹中的号码。直接从主屏幕一键拨号。我在 App Store 上有两个基于此代码的应用程序,但这个应用程序本身却没有。

编辑:
自从写完这个答案以来,我有了更多的项目,比上面链接的项目复杂得多。 MBCalendarKit 是我最引以为傲的一个。随意撕掉它。

Apple provides some great sample code.

Additionally, I suggest looking at the abundance of iOS code available on code sharing sites such as GitHub. There's some great work done by some StackOverflow members. Marcus Zarra and Dave DeLong are two such people. I've also posted some code up there as well. Just so you know, a lot of code posted on GitHub are not complete projects, but libraries or useful classes.

There's also the Three20 framework, published by Facebook.

At risk of shameless self plugging, here's a project I wrote that's overly commented and fairly simple. The app is a "speed dial" for iPhone. Set a number, flip a switch and you don't need to jump into the phone app to tap on a number in favorites anymore. One tap dialing right from your home screen. I've got two apps based on this code that are out on the App Store, but this app itself is not.

Edit:
Since writing this answer I've got some more project, much more complex than the one linked above. MBCalendarKit is the one I'm most proud of. Feel free to tear it up.

拥抱没勇气 2024-12-21 11:10:26

我认为 Apple 编写了很好的代码示例代码。

I think Apple makes good code sample codes.

神魇的王 2024-12-21 11:10:26

Three20

http://third20.info/

由 facebook 拼凑而成。

three20

http://three20.info/

Put together by facebook.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文