A community where geniuses meet
Please build with the latest CocoaPods v0.39.0 and Xcode 7.2.
Yep is a nifty and lightweight social networking app, revolving around the theme of "Meeting Genius", enabling users to find experts or other learners of a particular domain.
The project's architecture is easy to understand, following the common software pattern MVC, separating UI, business logic and data model. Now, let's dive into the Yep project!
Realm helps us a lot with data persistence. You can checkout the
Realm/Models.swiftfile to learn how we add, modify, update or delete data in Realm database.
We use Storyboard to join different view controllers together. You can take a glance at the
Main.storyboardfile. Thanks to the Storyboard References feature, we break up storyboards into a set of smaller storyboards. Easy to maintain and handle
.storyboardfiles under source control, right?
At the same time, you should notice that some views are
@IBDesignable. You can use Interface Builder, drag the view out and observe changes.
Without integrating WeChat or Weibo SDK, Yep uses MonkeyKing with the native
You can find all Services under
Servicesdirectory. Our services are divided into following parts:
YepService.swift): Sign-in, phone verification
YepServiceSync.swift): Skills, messages
YepNetworking.swift): Network requests, JSON parsing/serialization
YepDownloader.swift): Audio, video downloading
YepAudioService.swift): Based on AVFoundation and AudioToolbox
SocialWorkService.swift): Get user's GitHub, Dribbble and Instagram info
OpenGraphService.swift): Get iBooks, App and Apple Music info
In order to improve FPS rate, we do image caching (
Wants to learn more? View this slide.
If you like to join us developing Yep, fork this repo and use git flow on
developbranch to create a new branch for your developing. When you finish, send a pull request.
Please ensure each commit is minimized for code review.
Please stop using simulator's waterfall image as your avatar.
You can track our progress at Trello.