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
WebKit. WebKit — the open source rendering engine introduced by Apple — powers Safari on macOS and iOS. WebKit features blazing performance and extensive standards support. And because it's open source, developers can examine WebKit code and contribute to the community.
Android (Google) is an Open Source Operating System and iOS (Apple) is a Closed Source Operating System.
The Swift.org site has long served as the hub where developers come together to work on the open source Swift compiler, libraries, and tools. Today, we are happy to announce that the Swift.org website itself is also an open source project, ready for community contributions.
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.
I think Apple makes good code sample codes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With