heikomaass / hmlauncherview Goto Github PK
View Code? Open in Web Editor NEW[ABANDONED] UI component for buttons like Apple's SpringBoard
License: Other
[ABANDONED] UI component for buttons like Apple's SpringBoard
License: Other
Hi,
Can you please guide me how can i make this to work like iPhone Home Screen ,when i drag a icon on another icon i want to create folder with this two icons.
Thanks
You access to the transform property and this may cause the following troubles:
1)For example, what to do if the icon have had its own transform before you assign to it a new value? It is more than meets the eye. The problem is you add usual and draggable icons to the current view as is then the current view calls layoutSubviews to often (which also causes calling of layoutSubviews for all the children) because it is added with no intermediate views between it and parent. And so you can't simply apply additional transforms on dragging because the animation will bounce.
2)there are a lot of constants which more likely belong to HMLauncherIcon
but you have placed them into HMLauncherView
Hi,
How can make dragging of icon to another page,i am unable to get this behavior.
Thanks
This is not an issue, rather a question. When we add a HMLauncherIcon to a page (which is filled with icons), the page adjusts itself and the last icon on the page is moved to the next page. This operation creates a new page, if required.
Can something similar be implemented for delete operation? i.e. When we remove/delete a HMLauncherIcon from a page (which is filled with icons), the page adjusts itself and the first icon from the next page is moved to the current page, and the rest of the pages are automatically adjusted as well.
Thanking in anticipation.
Hi there. I get 7 errors when I open and try to run HMLauncherViewExample. 5 of these errors state that HMLauncher* files cannot be found. The other 2:
error: unable to open executable '/Users/JC/Library/Developer/Xcode/DerivedData/HMLauncherViewExample-avwfkwtnfczafkgndwfteeqtpovv/Build/Products/Debug-iphonesimulator/HMLauncherViewExample.app/HMLauncherViewExample'
Linker command failed with exit code 1 (use -v to see invocation)
How can I fix this?
1)The current code supports scrolling page by page only but is built on a scrollview. What about smooth scrolling?
2)Horizontal scrolling is enabled only. What about vertical scroll support? In the current sources there is even no possibility to send to methods additional param which will determine the type/types of the scrolling.
Example app is crashing when we long press. Assertion failure on longPressEnded: launcherView.dragIcon != self.dragIcon
Sometimes, when a HMLauncherIcon is moved from one view to another, the shaking doesn't stop. I think it has something to do with the speed of the operation (move operation).
It would be nice to have a feature that allows the users to change the state of the view to "Editing" and "Done Editing". During this state, user can perform multiple edit operations i.e. Deletions.
Hi! Thanks for the great work on such useful launcher view.
Have a question - how to set initial page for launcher view manually? I just want to set second (not the first) page to be active when launcher become visible initially. Is it possible?
When running on iOS version 4.1 and 4.0 (did not try earlier versions), when deleting an icon (i.e. tapping on the delete image) the tap seems to be recognized twice. The problem is that the deletion confirmation (via the UIAlertSheet) is presented twice as meaning that if confirmed twice, an exception is fired because the second time, the icon does not exist anymore.
I want to decrease the empty place and increase the size of views but I can't adjust it correctly for dragging: it operates with other areas.
Could you explain how to fix it?
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.