Comments (7)
Do you mean PaperFoldState?
you'll get it in the UIViewController with self.state
typedef enum
{
PaperFoldStateDefault = 0,
PaperFoldStateLeftUnfolded = 1,
PaperFoldStateRightUnfolded = 2,
PaperFoldStateTransition = 3
} PaperFoldState;
Is this what you mean?
On 28 Jul, 2012, at 8:09 PM, paoloandrea [email protected] wrote:
How can detect if fold i open, close, ..etc.
Is possible detect it onTouch?For example: onTouch (FoldStateTransition)
Thank you.
Great work.
p
Reply to this email directly or view it on GitHub:
#3
from paperfold-for-ios.
But... how can i know if PaperFolderState are in trasition?
Can i use notification?
There are a delegate?
When i touch the screen and PapertFolder are in transition i need to make more action (close keyboard, ..etc.)
How can i do it?
Thank you for help me.
from paperfold-for-ios.
Ah, I get what u mean now.
It's not there yet, but I can set up delegates for this.
Sent from my iPad
On 28 Jul, 2012, at 8:42 PM, paoloandrea [email protected] wrote:
But... how can know if PaperFolderState are in trasition?
Can i use notification?
There are a delegate?When i touch the screen and PapertFolder are in transition i need to make more action (close keyboard, ..etc.)
How can i do it?
Thank you for help me.
Reply to this email directly or view it on GitHub:
#3 (comment)
from paperfold-for-ios.
Now i can use the touch event, but don't recognize PaperFoldStateTransition
??
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
NSLog(@"Touch Move");
NSLog(@"State %i",[self state]);
}
Result only 0 or 2 (slide from right to left)
;)
from paperfold-for-ios.
Can you elaborate what you are trying to achieve?
Will a delegate like this work for your use?
- (void)foldView:(id)foldView didTransitionFromState:(FoldTransitionState)fromState toState:(FoldTransitionState)toState
On 28 Jul, 2012, at 9:14 PM, paoloandrea [email protected] wrote:
Now i can use the touch event, but don't recognize PaperFoldStateTransition
??-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
NSLog(@"Touch Move");
NSLog(@"State %i",[self state]);
}
Result only 0 or 2 (slide from right to left)
;)
Reply to this email directly or view it on GitHub:
#3 (comment)
from paperfold-for-ios.
Yes, it's ok
;)
from paperfold-for-ios.
done
from paperfold-for-ios.
Related Issues (20)
- does bottom and/or top folding work? HOT 2
- setRightView and setLeftView? HOT 3
- FoldViews content disappearing
- a rotation with leffoldView or rightfoldview expaned not work HOT 1
- if (self.state!=self.lastState) self.lastState = self.state;
- UnfoldRightView timer gets stuck and doesn't open die right view HOT 5
- A swipe overhead when reveal right view controller in PaperFold-NavDemo
- Landscape vertical folding
- i'm trying to figure out how to use my existing project defined using IB/Storyboard for each view
- cannot disable left or right fold dragging HOT 1
- Blank fold HOT 3
- Update podspec
- PaperFold an UITableViewCell HOT 2
- Cannot swipe UITableViewCell to expose delete button when using PaperFold HOT 2
- Can't interact with UI objects in bottom and top views
- Fold animation not working for the first tim after setPaperFoldState:animated: if animated is NO HOT 1
- Trying to unfold from top view when CenterContentView is UIScrollView HOT 1
- Paper-Fold 1.1 Pod installation is missing timerStepDuration property
- AutoresingMask
- Files are Missing..
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paperfold-for-ios.