GithubHelp home page GithubHelp logo

3dphotos's Introduction

3DPhotos

Screenshot

3D立体可旋转相册,3DPhotos,3D云相册,3D云标签

已上架商城:大杨子相册 商城下载

简介说明

 // 调用展示
self.sphereView = [[YoungSphere alloc] initWithFrame:CGRectMake(20, 200, 340, 320)];

 NSMutableArray *array = [[NSMutableArray alloc] initWithCapacity:0];

for (NSInteger i = 0; i < 30; i ++) {

self.btn = [UIButton buttonWithType:UIButtonTypeSystem];

[_btn setBackgroundImage:[UIImage imageNamed:@"dog"] forState:(UIControlStateNormal)];

_btn.frame = CGRectMake(0, 0, 60, 60);

[_btn addTarget:self action:@selector(buttonPressed:) forControlEvents:UIControlEventTouchUpInside];

[array addObject:_btn];

 [_sphereView addSubview:_btn];

}

[_sphereView setCloudTags:array];

_sphereView.backgroundColor = [UIColor whiteColor];

[self.view addSubview:_sphereView];

当然里面的很多元素都是可以改动的,根据自己需要自己改动即可 这里用的是Button,你也可改为其他的,数量也可改动

3dphotos's People

Contributors

silencesmile 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.