–SCAdView [iOS] custom advertising carousel figure strong

@[infinite carousel figure] @[3D carousel figure] @[carousel advertising map]

SCAdView

Statement

If my can help even a bit code, please click for Thanks your support, your star is my motivation. you star little

Introduction

SCAdView is a control which the or scrolling direction horizontal, finite / infinite loop vertical, with both 2D effect or 3D zoom plane effect. carousel carousel

Installation

Manual installation

Download the code unzip, then copy directory into your project. SCAdView and

CocoaPods

Create or modify your podfile:

Pod'SCAdView'

And then pod install

Usage

The SCAdView should created a SCAdViewBuilder by, we can SCAdView modifying a builder’s property.
be customize by eg.

SCAdView *adView = [[SCAdView alloc] initWithBuilder:^ (SCAdViewBuilder *builder) {builder.adArray = arrayFromService; builder.viewFrame = (CGRect) {0100, self.view.bounds.size.width, self.view.bounds.size.width/2.f}; builder.adItemSize = (CGSize) {self.view.bounds.size.width/2.5f, self.view.bounds.size.width/4.f}; builder.minimumLineSpacing = 0; builder.secondaryItemMinAlpha = 0.6; builder.threeDimensionalScale = 1.45; builder.itemCellNibName = @ "SCAdDemoCollectionViewCell";}];

About SCAdViewBuilder

Please read interface in SCAdView.h SCAdViewBuilder’s file.

Effects

--SCAdView [iOS] custom advertising carousel figure strong
Horizontal scrolling
--SCAdView [iOS] custom advertising carousel figure strong
Vertical scrolling

SCAdView

Preface

If my code can help you even a little bit, please click star. Thank you for your support, your star is my motivation.

introduce

SCAdView is a support 2D plane effect and 3D zoom effect, can be customized on the left and right direction of rolling, finite / infinite loop carousel carousel control

install

Manual installation

Download the source code and decompression, the directory under the SCAdView folder to add to your project

CocoaPods

Create or add in your podfile:

Pod'SCAdView'

Then to the terminal CD to the directory to perform pod install

usage

When in use, we should use a SCAdViewBuilder object to construct SCAdView, and we can modify the buidler attribute in the constructor, we want to customize a SCAdView
eg.

SCAdView *adView = [[SCAdView alloc] initWithBuilder:^ (SCAdViewBuilder *builder) {builder.adArray = arrayFromService; builder.viewFrame = (CGRect) {0100, self.view.bounds.size.width, self.view.bounds.size.width/2.f}; builder.adItemSize = (CGSize) {self.view.bounds.size.width/2.5f, self.view.bounds.size.width/4.f}; builder.minimumLineSpacing = 0; builder.secondaryItemMinAlpha = 0.6; builder.threeDimensionalScale = 1.45; builder.itemCellNibName = @ "SCAdDemoCollectionViewCell";}];

SCAdViewBuilder detailed

Please check the SCAdView.h file SCAdViewBuilder interface.

Effect

--SCAdView [iOS] custom advertising carousel figure strong
level scrolling effect
--SCAdView [iOS] custom advertising carousel figure strong
vertical scrolling effect