3 Star 1 Fork 0

Gitee 极速下载 / yep

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/CatchChat/Yep
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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

中文指南

The MIT License (MIT) Copyright (c) 2013 Catch Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
Swift 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors/yep.git
git@gitee.com:mirrors/yep.git
mirrors
yep
yep
master

搜索帮助