Yep

Meet Genius

  • 所有者: CatchChat/Yep
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Yep

A community where geniuses meet

https://soyep.com

Yep: Project Introductory Guide

Please build with the latest CocoaPods v0.39.0 and Xcode 7.2.

Intro

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!

Model

Realm helps us a lot with data persistence. You can checkout the Realm/Models.swift file to learn how we add, modify, update or delete data in Realm database.

UI(View & ViewController)

We use Storyboard to join different view controllers together. You can take a glance at the Main.storyboard file. Thanks to the Storyboard References feature, we break up storyboards into a set of smaller storyboards. Easy to maintain and handle .storyboard files 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.

Activity

Without integrating WeChat or Weibo SDK, Yep uses MonkeyKing with the native UIActivityViewController. See Activities/WeChatActivity.swift.

Service

You can find all Services under Services directory. Our services are divided into following parts:

  1. User-related operation service (YepService.swift): Sign-in, phone verification
  2. User operation service (YepServiceSync.swift): Skills, messages
  3. Network requests service (YepNetworking.swift): Network requests, JSON parsing/serialization
  4. Data download service (YepDownloader.swift): Audio, video downloading
  5. Feeds (FayeService.swift)
  6. Cloud storage service (YepStorageService.swift)
  7. Audio and video service (YepAudioService.swift): Based on AVFoundation and AudioToolbox
  8. Location service (YepLocationService.swift)
  9. Social info service (SocialWorkService.swift): Get user's GitHub, Dribbble and Instagram info
  10. Open Graph Service (OpenGraphService.swift): Get iBooks, App and Apple Music info

Performance

In order to improve FPS rate, we do image caching (Caches folder).

Wants to learn more? View this slide.

Development

If you like to join us developing Yep, fork this repo and use git flow on develop branch 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.

License

MIT

中文指南

主要指标

概览
名称与所有者CatchChat/Yep
主编程语言Swift
编程语言Swift (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2015-03-15 13:41:37
推送于2024-04-10 16:26:13
最后一次提交2016-08-16 11:54:49
发布数7
最新版本名称1.1.6 (发布于 2016-02-03 16:36:22)
第一版名称137 (发布于 )
用户参与
星数5.9k
关注者数227
派生数1.2k
提交数7.3k
已启用问题?
问题数661
打开的问题数5
拉请求数10
打开的拉请求数4
关闭的拉请求数17
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?