jxbsir / jxbadpageview Goto Github PK
View Code? Open in Web Editor NEWAn ad page view.
License: MIT License
An ad page view.
License: MIT License
[adView startAdsWithBlock:imageArrays block:^(NSInteger clickIndex){
DDLogInfo(@"%d",clickIndex);
[_closeButton sendActionsForControlEvents:UIControlEventTouchUpInside];
}];
@property(nonatomic,assign)id<JXBAdPageViewDelegate> delegate;
应该用weak修饰而不是assign
@property(nonatomic,weak)id<JXBAdPageViewDelegate> delegate;
将有关JXBAdPageView中的子view尺寸的信息放在其-(void)layoutSubviews: 中实现。这样尺寸改变时,也可以正常显示。比如利用autolayout占位view,也可以实现旋转的正常显示。
能增加一个使用SDImage的例子吗
这句意思是,代码会自动判断图片的加载方式,还是说,开发者自己去调用SDImage方法?在哪里使用SDImage方法?
设置了轮播时停留的时间,当自动轮播启动时,连续点击,轮播的图片就会出现问题
Serious Bug!
NO mem release。
使用timer 执行轮播,需要结束时,缺没有将timer 至为 非法。导致timer一直再runloop中执行,并且导致当前 adpageview释放不掉。
建议自己添加 stopAds 方法。将timer只为 invalid.!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.