Giter Club home page Giter Club logo

vrgallery's Introduction

VR_Gallery

本人Github上第一个比较大的项目。望多多支持!考虑到大家pod比较麻烦,为了方便运行,所以就将pod一并提交上去了。

☆注意☆

考虑到部分同学没有VR图片,我上传了几张低质量的,放在 PicSource 文件夹里,可以传到自己的手机里,或者拖到模拟器里(PS:每张图片可以多复制几张,更清楚地查看效果。另外,需要高清图的点这里 高清VR图

小目标

代码要写得优雅、做好封装与抽取,每个.m文件都不能超过300行代码!(小目标基本达成,只有一个.m文件是310行,其余的都在300行内。)

项目介绍

目录结构:

这是项目的分级结构,看起来应该比较通俗易懂。
为了方便大家查看代码,所以就把能抽取的代码抽取出来了。

Moment(时刻)

仿照系统‘照片’的时刻功能,但是只有日期,没有定位信息。

Moment_select

图片的选择,可以进行删除等操作。(点击collectionView的组头可以选择当天的全部照片)

Album(相薄)

VR图片所在相薄(真机和模拟器显示会略有不同)

Album_details

相薄点击进入详情,展示所点击相薄的所有照片

Browser

图片的平面浏览,点击任意一张图片即可跳转到此页面。
图片浏览器是对 MWPhotoBrowser 做的修改

VR_browser (VR浏览的几种模式)

竖屏非VR眼镜模式:

横屏非VR眼镜模式:

VR眼镜模式:(佩戴VR眼镜效果更好哦!)


可下载Demo查看完整代码,如有纰漏,欢迎指正

联系方式

© 2017/7/11 HJ.M

vrgallery's People

Contributors

depponmain avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.