SkillAgentSearch skills...

MFPictureBrowser

📝[废弃]一个集成简单交互效果不错的图片浏览器, 内存以及CPU占用低,顺滑自然

Install / Use

/learn @1ess/MFPictureBrowser
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

[废弃]MFPictureBrowser

类似于<即刻>应用的图片浏览器效果(支持PNG, JPG, GIF, WebP).

DUB Total-downloads Version Platform Language

效果图

<img src="https://raw.githubusercontent.com/GodzzZZZ/SourceRepository/master/MFPictureBrowser/1.gif" width="25%"><img src="https://raw.githubusercontent.com/GodzzZZZ/SourceRepository/master/MFPictureBrowser/2.gif" width="25%"><img src="https://raw.githubusercontent.com/GodzzZZZ/SourceRepository/master/MFPictureBrowser/3.gif" width="25%"><img src="https://raw.githubusercontent.com/GodzzZZZ/SourceRepository/master/MFPictureBrowser/4.gif" width="25%">

集成方式

  • cocoapod
pod 'MFPictureBrowser'

使用方式

  • 导入
#import <MFPictureBrowser.h>
  • 初始化并设置代理
MFPictureBrowser *brower = [[MFPictureBrowser alloc] init];
brower.delegate = self;
  • 展示
//展示图片
[brower showImageFromView:(fromView) picturesCount:(picturesCount) currentPictureIndex:(currentPictureIndex)];

实现代理方法


- (FLAnimatedImageView *)pictureView:(MFPictureBrowser *)pictureBrowser imageViewAtIndex:(NSInteger)index {
    ...
}

- (id<MFPictureModelProtocol>)pictureBrowser:(MFPictureBrowser *)pictureBrowser pictureModelAtIndex:(NSInteger)index {
    ...
}

具体使用方式参见 Demo

感谢

ESPictureBrowser

YYWebImage

View on GitHub
GitHub Stars143
CategoryDevelopment
Updated1mo ago
Forks10

Languages

Objective-C

Security Score

100/100

Audited on Feb 23, 2026

No findings