gikicoder / gmenucontroller Goto Github PK
View Code? Open in Web Editor NEW具有和UIMenuController一致的UI 与交互行为. menuItem可指定target. 可定制化UI.对外API与原生UIMenuController 一致.
License: MIT License
具有和UIMenuController一致的UI 与交互行为. menuItem可指定target. 可定制化UI.对外API与原生UIMenuController 一致.
License: MIT License
在 "GMenuViewContainer" 中添加参数
@Property(nonatomic, assign) CGFloat titleMargin;
在 "GMenuDefaultView" 中根据传入的titleMarign修改 kTitleMargin 这个固定值。
主要是:
1、选择文字的触发方式
2、触发位置
请问,能否在你的这个demo基础上增加一下左边图片右边文字的效果?
使用你的GMenuItem, 在聊天界面的tableviewcell 上面复制,粘贴, 发现位置不对, 使用系统的UIMenuItem没有问题, 不知道是什么原因。。
[[GMenuController sharedMenuController] setTargetRect:sender.frame inView:self.view]; 这个方法,我传的frame值是没有问题的, 但是在显示的时候位置不对。
点击任何区域,则隐藏按钮,这个需求怎么做。系统的是,点击任何区域,就消失了
commit 50f9c7c 的&&应该是||
在tableView上,位置错乱 如果centerPoint.y <0 ,centerPoint.y= 负值时候,就会出现在屏幕中间centerPoint.y = GMenuScreenHeight/2; (这里导致位置错乱)
你这有很大的性能问题,我是在点击cell的时候初始换显示,滑动tableView的时候隐藏menu,界面就非常卡顿,CPU消耗在90%以上
主要是:
1、选择文字的触发方式
2、触发位置
直接将GMenuController文件夹拖进来报错以后,编辑报了20个错误.都是源文件错误
有个横屏的textfield需要用,原生的好像不支持横屏,你知道这个支持不?
直到下一次有新的 GMenuItem ,旧GMenuItem被释放后 target才会被释放
大佬请问下,这个可以用到WKWebView吗?WK局限性好多
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.