Giter Site home page Giter Site logo

tipaperfold's People

Contributors

atsusy avatar sophrinix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tipaperfold's Issues

Dimensions and positioning

Hi,

Is it common behaviour how the views are displayed when no width is specified to them? they seem to be rendered outside of the paperFold view if you don't specify dimensions and positions for everything... The reason I bring this up is that for stuff that "doesn't have width and height" like pins on a map or overlays, they don't show up (there are there SOMEWHERE, just way outside of the screen I assume) moving this view outside of the centerview and into something like a modal, displays everything correctly

Thanks

Center view doesn't get updated

Built module with 3.0.0GA works perfectly except for the fact that I cannot change the centerview, even with just using the example app.js as is the centerview never changes I get the debug message: [DEBUG] : �� �CenterContentView set. but nothing happens. Any ideas?

Build error. Cannot get jp.msmc.tipaperfold-0.1.zip

Thanks Atsusy for this module, though I have to mention I am facing probably a common error for newbies:

1- Downloaded the zip from Git & unzipped
2- Opened Terminal: python [source-to]/build.py
3- I get the build log below:
-- build log--
[WARN] please update the manifest key: 'description' to a non-default value
[WARN] please update the manifest key: 'copyright' to a non-default value
[WARN] please update the manifest key: 'license' to a non-default value
[WARN] please update the manifest key: 'copyright' to a non-default value

4- I tried filling in these information in the .py file but still got errors::
Traceback (most recent call last):
File "/Users/Joseph/Documents/Titanium/PaperFold/build.py", line 216, in
build_module(manifest,config)
File "/Users/Joseph/Documents/Titanium/PaperFold/build.py", line 161, in build_module
from tools import ensure_dev_path
ImportError: No module named tools

I also tried: downloading Paperfold folder from https://marketplace.appcelerator.com/apps/3060?1855667302 (in my apps)
and received a modules folder (with /iphone/jp.msmc.tipaperfold/0.1/ ...), so I dragged that into my new Titanium project (where I registered the module jp.msmc.tipaperfold in my tiapp.xml), and used the example app.js provided, and still got the (expected) error:
[WARN] Could not find Titanium Module id: jp.msmc.tipaperfold, version: 0.1, platform:
[ERROR] Could not find the following required iOS modules:
[ERROR] id: jp.msmc.tipaperfold version: 0.1

My version of XCode is:
Xcode 4.0.2
Build version 4A2002a

Any help would go a long way. Thanks :)


I updated my OSX to 10.8 in order to get a higher XCode version, currently on XCode version 4.5.1. Still getting the error of not being able to run the TiPaperFold, please advise on what to do. Would be very appreciative on any help.
My issue is that I cannot get to run build.py which creates jp.msmc.tipaperfold-0.1.zip.

Cannot get it to work...

Hi,
I am not new to Ti but with TiPaperFold I tried the first time to compile a module.
I tried everything now for 2 days and I'm close to give up.
I imported the module to TiStudio, added the necessary files to PaperFold-for-iOS. Packaged the module without errors. Added it to a test project with your demo code (app.js).
Problem: I get an error when running it in the simulator:
[PaperFoldView setLeftFoldContentView:foldCount:pullFactor:]: unrecognized selector sent to instance 0xc15a380 at app.js (line 31).
That ist the line "window.open();" .
Can you help me?
Or better: can you provide a compiled version of the module here in this repository?
Maybe like Ben Bahrenburg does here: https://github.com/benbahrenburg/benCoding.BasicGeo/tree/master/IOS/basicGeo/dist

Thank you very much in advance!
Chris

enableLeftFoldDragging and enableRightFoldDragging ignored?

Hi,

I'd like to be able to control whether or not a left or right view can be pulled out and unfolded.

Setting either of enableLeftFoldDragging or enableRightFoldDragging seems to be ignored, as I can still unfold the views when these are set to false.

bug?

Thanks. Module version 0.3. TiSDK 3+

build error

when I do python build.py I got this error:
Screen Shot 2013-02-05 at 1 13 27 PM

Only one instance per app?

I've tried to extend the folding paradigm embedding a PaperFoldView in the rightView which itself had only a center and right views, but it seems to clobber the parent PaperFoldView. Am I doing it wrong or is it just not possible?

Changing views?

Hi,

I am trying to change the centerView (in order to act like the Facebook app, and the PaperFold official video for that matter) but I can't seem to be able to show it, on the console I can see the "centerView" value changes but "visually" the old view remains...

Any thoughts?

Is it possible to add window with navigationGroup at RightView?

I'm trying to add a navigation group at right view to achieve a hierarchy in windows, but adding a windows to right view makes view corrupted. Half of the window is seen and rest is like fold shadows.

how can it be possible to add navigation group to right/left view?

Thanks.

A.

PaperFold with Alloy

Is this not designed to work with Alloy? I'm doing an app with titanium and alloy, but I can't figure out how to use PaperFold with alloy. There doesn't seem to be any doco on that.

No folds.

Hi,

I just tried this, fresh from github. It complies and builds fine.

But when I try the example.js, everything works except for the fold effect. All I see is a dark grey view, which vanishes to reveal the map after the pull is complete.

Any idea why this might be happening and how to fix it?

Thanks.

I'd really love to get this working and also see integration with the Paperfold test branch for horizontal folds. ;)

Tested on iPhone5 iOS6.0.1 - Ti SDK 2.1.3

How to implement drawScreenshotOnFolds?

Hi,

I need to be able to trigger a repaint of a folded up view. If I change the content of the container left/right views, the folded screenshot images don't update until the view is folded all the way out. So, I need to be able to call the PaperFold drawScreenshotOnFolds method on the left/right views.

Can this be done?

No click events on rightView with Titanium SDK 2.1.2 GA

After updating to SDK 2.1.1 and 2.1.2 I don't get any click events on the rightView anymore (while click events on the leftView are still working).

When I go back to SDK 1.8.2, everything works again. Do you have any idea how to fix this?

build fail (OS X 10.7.4,Xcode 4.4.1,Ti SDK 2.1.0GA or Ti SDK 2.1.1GA)

When I try to build TiPaperFold on my Mac( OS X 10.7.4,Xcode 4.4.1) w/ Titanium SDK 2.1.0 GA or Titanium SDK 2.1.1 GA , build has not been succeed.

please check following log and if you have any advice/help, please let me know.

-- build log--
[WARN] please update the manifest key: 'description' to a non-default value
[WARN] please update the manifest key: 'copyright' to a non-default value
[WARN] please update the manifest key: 'license' to a non-default value
[WARN] please update the manifest key: 'copyright' to a non-default value
Build settings from command line:
SDKROOT = iphoneos5.0

=== BUILD NATIVE TARGET tipapaerfold OF PROJECT tipapaerfold WITH CONFIGURATION Release ===
Check dependencies

CompileC build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv7/TouchThroughUIView.o PaperFold/TouchThroughUIView.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/hoyamada/learning/TiPaperFold
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/hoyamada/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/bin:/opt/local/bin:/usr/local/bin:/tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wno-return-type -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-shorten-64-to-32 -DTI_VERSION= -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -gdwarf-2 -Wno-sign-conversion -mthumb "-DIBOutlet=attribute((iboutlet))" "-DIBOutletCollection(ClassName)=attribute((iboutletcollection(ClassName)))" "-DIBAction=void)attribute((ibaction)" -miphoneos-version-min=4.0 -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-generated-files.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-own-target-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-all-target-headers.hmap -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-project-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos/include "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include" "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include/TiCore" -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources/armv7 -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources -F/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos -DTI_POST_1_2 -fobjc-arc -include /var/folders/57/7shyhpz151gcz33w0jqdf4_w0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/JpMsmcTipaperfold_Prefix-eiobajpqgyxjetdffwsbimwayxdp/JpMsmcTipaperfold_Prefix.pch -MMD -MT dependencies -MF /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv7/TouchThroughUIView.d -c /Users/hoyamada/learning/TiPaperFold/PaperFold/TouchThroughUIView.m -o /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv7/TouchThroughUIView.o

CompileC build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv7/ShadowView.o PaperFold/ShadowView.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/hoyamada/learning/TiPaperFold
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/hoyamada/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/bin:/opt/local/bin:/usr/local/bin:/tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wno-return-type -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-shorten-64-to-32 -DTI_VERSION= -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -gdwarf-2 -Wno-sign-conversion -mthumb "-DIBOutlet=attribute((iboutlet))" "-DIBOutletCollection(ClassName)=attribute((iboutletcollection(ClassName)))" "-DIBAction=void)attribute((ibaction)" -miphoneos-version-min=4.0 -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-generated-files.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-own-target-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-all-target-headers.hmap -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-project-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos/include "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include" "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include/TiCore" -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources/armv7 -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources -F/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos -DTI_POST_1_2 -fobjc-arc -include /var/folders/57/7shyhpz151gcz33w0jqdf4_w0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/JpMsmcTipaperfold_Prefix-eiobajpqgyxjetdffwsbimwayxdp/JpMsmcTipaperfold_Prefix.pch -MMD -MT dependencies -MF /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv7/ShadowView.d -c /Users/hoyamada/learning/TiPaperFold/PaperFold/ShadowView.m -o /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv7/ShadowView.o

CompileC build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldView.o PaperFold/PaperFoldView.m normal armv6 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/hoyamada/learning/TiPaperFold
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/hoyamada/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/bin:/opt/local/bin:/usr/local/bin:/tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -x objective-c -arch armv6 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wno-return-type -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-shorten-64-to-32 -DTI_VERSION= -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -gdwarf-2 -Wno-sign-conversion -mthumb "-DIBOutlet=attribute((iboutlet))" "-DIBOutletCollection(ClassName)=attribute((iboutletcollection(ClassName)))" "-DIBAction=void)attribute((ibaction)" -miphoneos-version-min=4.0 -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-generated-files.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-own-target-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-all-target-headers.hmap -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-project-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos/include "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include" "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include/TiCore" -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources/armv6 -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources -F/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos -DTI_POST_1_2 -include /var/folders/57/7shyhpz151gcz33w0jqdf4_w0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/JpMsmcTipaperfold_Prefix-daupgbtauzfxnjdrjyugvpnjrcsg/JpMsmcTipaperfold_Prefix.pch -MMD -MT dependencies -MF /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldView.d -c /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m -o /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldView.o
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:52:9: error: use of undeclared identifier '_contentView' [3]
_contentView = [[TouchThroughUIView alloc] initWithFrame:CGRectMake(0,0,self.frame.size.width,self.frame.size.height)];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:53:10: error: use of undeclared identifier '_contentView' [3]
[_contentView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:54:26: error: use of undeclared identifier '_contentView' [3]
[self addSubview:_contentView];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:55:10: error: use of undeclared identifier '_contentView' [3]
[_contentView setBackgroundColor:[UIColor whiteColor]];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:56:10: error: use of undeclared identifier '_contentView' [3]
[_contentView setAutoresizesSubviews:YES];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:59:10: error: use of undeclared identifier '_contentView' [3]
[_contentView addGestureRecognizer:panGestureRecognizer];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:61:9: error: use of undeclared identifier '_state' [3]
_state = PaperFoldStateDefault;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:62:9: error: use of undeclared identifier '_lastState' [3]
_lastState = _state;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:62:22: error: use of undeclared identifier '_state' [3]
_lastState = _state;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:63:9: error: use of undeclared identifier '_enableRightFoldDragging' [3]
_enableRightFoldDragging = YES;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:64:9: error: use of undeclared identifier '_enableLeftFoldDragging' [3]
_enableLeftFoldDragging = YES;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:126:13: error: use of undeclared identifier '_state' [3]
if (_state==PaperFoldStateDefault)
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:131:18: error: use of undeclared identifier '_state' [3]
else if (_state==PaperFoldStateLeftUnfolded)
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:136:18: error: use of undeclared identifier '_state' [3]
else if (_state==PaperFoldStateRightUnfolded)
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:148:85: error: use of undeclared identifier '_state' [3]
if ( (x>=kLeftViewUnfoldThreshold_self.leftFoldView.frame.size.width && _state==PaperFoldStateDefault) || [self.contentView frame].origin.x==self.leftFoldView.frame.size.width)
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:160:87: error: use of undeclared identifier '_state' [3]
if ((x<=-kRightViewUnfoldThreshold_self.rightFoldView.frame.size.width && _state==PaperFoldStateDefault) || [self.contentView frame].origin.x==-self.rightFoldView.frame.size.width)
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:68:41: warning: property 'leftFoldView' requires method 'leftFoldView' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) FoldView *leftFoldView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:68:41: warning: property 'leftFoldView' requires method 'setLeftFoldView:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) FoldView *leftFoldView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:76:36: warning: property 'isAutomatedFolding' requires method 'isAutomatedFolding' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) BOOL isAutomatedFolding;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:76:36: warning: property 'isAutomatedFolding' requires method 'setIsAutomatedFolding:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) BOOL isAutomatedFolding;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:70:46: warning: property 'rightFoldView' requires method 'rightFoldView' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) MultiFoldView *rightFoldView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:70:46: warning: property 'rightFoldView' requires method 'setRightFoldView:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) MultiFoldView *rightFoldView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:74:60: warning: property 'enableRightFoldDragging' requires method 'enableRightFoldDragging' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) BOOL enableLeftFoldDragging, enableRightFoldDragging;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:74:60: warning: property 'enableRightFoldDragging' requires method 'setEnableRightFoldDragging:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) BOOL enableLeftFoldDragging, enableRightFoldDragging;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:74:36: warning: property 'enableLeftFoldDragging' requires method 'enableLeftFoldDragging' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) BOOL enableLeftFoldDragging, enableRightFoldDragging;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:74:36: warning: property 'enableLeftFoldDragging' requires method 'setEnableLeftFoldDragging:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) BOOL enableLeftFoldDragging, enableRightFoldDragging;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:64:40: warning: property 'animationTimer' requires method 'animationTimer' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) NSTimer *animationTimer;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:64:40: warning: property 'animationTimer' requires method 'setAnimationTimer:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) NSTimer *animationTimer;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:72:53: warning: property 'lastState' requires method 'lastState' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) PaperFoldState state, lastState;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:72:53: warning: property 'lastState' requires method 'setLastState:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) PaperFoldState state, lastState;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:61:51: warning: property 'contentView' requires method 'contentView' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) TouchThroughUIView *contentView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:61:51: warning: property 'contentView' requires method 'setContentView:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) TouchThroughUIView *contentView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:66:39: warning: property 'centerView' requires method 'centerView' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) UIView *centerView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:66:39: warning: property 'centerView' requires method 'setCenterView:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, strong) UIView *centerView;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:77:57: warning: property 'delegate' requires method 'delegate' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) id delegate;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:77:57: warning: property 'delegate' requires method 'setDelegate:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) id delegate;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:72:46: warning: property 'state' requires method 'state' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) PaperFoldState state, lastState;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:35:
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:72:46: warning: property 'state' requires method 'setState:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
@Property (nonatomic, assign) PaperFoldState state, lastState;
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.m:38:1: note: implementation is here [3]
@implementation PaperFoldView
^
22 warnings and 16 errors generated.

CompileC build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldNavigationController.o PaperFold/PaperFoldNavigationController.m normal armv6 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/hoyamada/learning/TiPaperFold
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/hoyamada/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/hoyamada/.rvm/bin:/opt/local/bin:/usr/local/bin:/tools:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -x objective-c -arch armv6 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wno-return-type -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-shorten-64-to-32 -DTI_VERSION= -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -gdwarf-2 -Wno-sign-conversion -mthumb "-DIBOutlet=attribute((iboutlet))" "-DIBOutletCollection(ClassName)=attribute((iboutletcollection(ClassName)))" "-DIBAction=void)attribute((ibaction)" -miphoneos-version-min=4.0 -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-generated-files.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-own-target-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-all-target-headers.hmap -iquote /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/JpMsmcTipaperfold-project-headers.hmap -I/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos/include "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include" "-I/Users/hoyamada/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/include/TiCore" -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources/armv6 -I/Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/DerivedSources -F/Users/hoyamada/learning/TiPaperFold/build/Release-iphoneos -DTI_POST_1_2 -include /var/folders/57/7shyhpz151gcz33w0jqdf4_w0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/JpMsmcTipaperfold_Prefix-daupgbtauzfxnjdrjyugvpnjrcsg/JpMsmcTipaperfold_Prefix.pch -MMD -MT dependencies -MF /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldNavigationController.d -c /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m -o /Users/hoyamada/learning/TiPaperFold/build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldNavigationController.o
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:24:9: error: unknown type name '_paperFoldView'; did you mean 'PaperFoldView'? [3]
_paperFoldView = [[PaperFoldView alloc] initWithFrame:CGRectMake(0,0,[self.view bounds].size.width,[self.view bounds].size.height)];
^~~~~~~~~~~~~~
PaperFoldView
fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{24:9-24:23}:"PaperFoldView"
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:58:1: note: 'PaperFoldView' declared here [3]
@interface PaperFoldView : UIView
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:24:24: error: expected identifier or '(' [1]
_paperFoldView = [[PaperFoldView alloc] initWithFrame:CGRectMake(0,0,[self.view bounds].size.width,[self.view bounds].size.height)];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:25:31: error: use of undeclared identifier '_paperFoldView'; did you mean 'PaperFoldView'? [3]
[self.view addSubview:_paperFoldView];
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:26:10: error: unknown receiver '_paperFoldView'; did you mean 'PaperFoldView'? [3]
[_paperFoldView setDelegate:self];
^~~~~~~~~~~~~~
PaperFoldView
fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{26:10-26:24}:"PaperFoldView"
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:58:1: note: 'PaperFoldView' declared here [3]
@interface PaperFoldView : UIView
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:26:9:{26:9-26:42}: warning: class method '+setDelegate:' not found (return type defaults to 'id') [3]
[_paperFoldView setDelegate:self];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:27:10: error: unknown receiver '_paperFoldView'; did you mean 'PaperFoldView'? [3]
[_paperFoldView setAutoresizingMask:UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth];
^~~~~~~~~~~~~~
PaperFoldView
fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{27:10-27:24}:"PaperFoldView"
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:58:1: note: 'PaperFoldView' declared here [3]
@interface PaperFoldView : UIView
^
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:27:9:{27:9-27:110}: warning: class method '+setAutoresizingMask:' not found (return type defaults to 'id') [3]
[_paperFoldView setAutoresizingMask:UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:29:9: error: use of undeclared identifier '_rootViewController'; did you mean 'rootViewController'? [3]
_rootViewController = rootViewController;
^~~~~~~~~~~~~~~~~~~
rootViewController
fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{29:9-29:28}:"rootViewController"
/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:17:53: note: 'rootViewController' declared here [3]

  • (id)initWithRootViewController:(UIViewController*)rootViewController
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:30:10: error: use of undeclared identifier '_rootViewController'; did you mean 'rootViewController'? [3]
    [_rootViewController.view setFrame:CGRectMake(0,0,[self.view bounds].size.width,[self.view bounds].size.height)];
    ^~~~~~~~~~~~~~~~~~~
    rootViewController
    fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{30:10-30:29}:"rootViewController"
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:17:53: note: 'rootViewController' declared here [3]
  • (id)initWithRootViewController:(UIViewController*)rootViewController
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:31:10: error: use of undeclared identifier '_rootViewController'; did you mean 'rootViewController'? [3]
    [_rootViewController.view setAutoresizingMask:UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth];
    ^~~~~~~~~~~~~~~~~~~
    rootViewController
    fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{31:10-31:29}:"rootViewController"
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:17:53: note: 'rootViewController' declared here [3]
  • (id)initWithRootViewController:(UIViewController*)rootViewController
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:32:10: error: unknown receiver '_paperFoldView'; did you mean 'PaperFoldView'? [3]
    [_paperFoldView setCenterContentView:_rootViewController.view];
    ^~~~~~~~~~~~~~
    PaperFoldView
    fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{32:10-32:24}:"PaperFoldView"
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldView.h:58:1: note: 'PaperFoldView' declared here [3]
    @interface PaperFoldView : UIView
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:32:46: error: use of undeclared identifier '_rootViewController'; did you mean 'rootViewController'? [3]
    [_paperFoldView setCenterContentView:_rootViewController.view];
    ^~~~~~~~~~~~~~~~~~~
    rootViewController
    fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{32:46-32:65}:"rootViewController"
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:17:53: note: 'rootViewController' declared here [3]
  • (id)initWithRootViewController:(UIViewController*)rootViewController
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:32:9:{32:9-32:71}: warning: class method '+setCenterContentView:' not found (return type defaults to 'id') [3]
    [_paperFoldView setCenterContentView:_rootViewController.view];
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:39:5: error: use of undeclared identifier '_rightViewController'; did you mean 'rightViewController'? [3]
    _rightViewController = rightViewController;
    ^~~~~~~~~~~~~~~~~~~~
    rightViewController
    fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{39:5-39:25}:"rightViewController"
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:37:51: note: 'rightViewController' declared here [3]
  • (void)setRightViewController:(UIViewController*)rightViewController width:(float)width rightViewFoldCount:(int)rightViewFoldCount rightViewPullFactor:(float)rightViewPullFactor
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:47:5: error: use of undeclared identifier '_leftViewController'; did you mean 'leftViewController'? [3]
    _leftViewController = leftViewController;
    ^~~~~~~~~~~~~~~~~~~
    leftViewController
    fix-it:"/Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m":{47:5-47:24}:"leftViewController"
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:45:51: note: 'leftViewController' declared here [3]
  • (void)setLeftViewController:(UIViewController *)leftViewController width:(float)width
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:13:49: warning: property 'rootViewController' requires method 'rootViewController' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) UIViewController *rootViewController, *leftViewController, *rightViewController;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:13:49: warning: property 'rootViewController' requires method 'setRootViewController:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) UIViewController *rootViewController, *leftViewController, *rightViewController;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:14:46: warning: property 'paperFoldView' requires method 'paperFoldView' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) PaperFoldView *paperFoldView;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:14:46: warning: property 'paperFoldView' requires method 'setPaperFoldView:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) PaperFoldView *paperFoldView;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:13:70: warning: property 'leftViewController' requires method 'leftViewController' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) UIViewController *rootViewController, *leftViewController, *rightViewController;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:13:70: warning: property 'leftViewController' requires method 'setLeftViewController:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) UIViewController *rootViewController, *leftViewController, *rightViewController;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:13:91: warning: property 'rightViewController' requires method 'rightViewController' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) UIViewController *rootViewController, *leftViewController, *rightViewController;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    In file included from /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:9:
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.h:13:91: warning: property 'rightViewController' requires method 'setRightViewController:' to be defined - use @synthesize, @dynamic or provide a method implementation [3]
    @Property (nonatomic, strong) UIViewController *rootViewController, *leftViewController, *rightViewController;
    ^
    /Users/hoyamada/learning/TiPaperFold/PaperFold/PaperFoldNavigationController.m:15:1: note: implementation is here [3]
    @implementation PaperFoldNavigationController
    ^
    11 warnings and 12 errors generated.

** BUILD FAILED **

The following build commands failed:
CompileC build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldView.o PaperFold/PaperFoldView.m normal armv6 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/tipapaerfold.build/Release-iphoneos/tipapaerfold.build/Objects-normal/armv6/PaperFoldNavigationController.o PaperFold/PaperFoldNavigationController.m normal armv6 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
xcodebuild failed

xcodebuild failed

Hello,
This is the first time I try to build a module and I get the following error:

The following build commands failed:
  CompileC build/TiPaperFold.build/Release-iphoneos/TiPaperFold.build/Objects-normal/armv7/JpMsmcTipaperfoldModule.o Classes/JpMsmcTipaperfoldModule.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
  CompileC build/TiPaperFold.build/Release-iphoneos/TiPaperFold.build/Objects-normal/armv7/FacingView.o PaperFold-for-iOS/PaperFold/PaperFold/PaperFold/FacingView.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
xcodebuild failed

Am I doing something wrong or am I missing something?

Top and Bottom folds?

Hi,

I notice the source of the version of PaperFold you use now has the top and bottom views available for folding.

Any idea when you might be able to support those in this module?

Thanks. I'm really loving how this looks and works :)

Unable to set leftView or rightView

After creating the paperFold, I seem to be able to set the centerView programatically whenever I like, but I cannot set the rightView or leftView.

Any reason for this?

I notice some deprecated functions in the paperFold source.

One thing I can do though, is set a view within the left or right container view, BUT it doesn't redraw it until folded out. You still see the old view from the image capture until folded out.

Is there any way to 'repaint' the views when not in view?

Thanks.

rightView and leftView params?

Hi,

Out of curiosity, is there any reason why it's not possible to set the foldCount and pullFactor on the leftView as you can with the rightView?

thx

Application Error: Can't find module

Hi there, I was able to build the module, I placed in the app root folder and included it in the tiapp.xml. The project builds fine, but when it gets to the part where I actually use the var module = require('jp.msmc.tipaperfold'); it throws an application error: [ERROR] : �� �Script Error = Couldn't find module: jp.msmc.tipaperfold.

Tab Groups CenterView

Could it ever be possible to have the centerview as a Ti.UI.createTabGroup();?

Much appreciated.

PaperFold as a git submodule

Hi Atsusy,

I'm the developer for PaperFold. Good job done here :p
By the way, I'm wondering why you included PaperFold source code instead of adding it as a submodule, because it may go out of sync with the main repository, when I have updates and bug fixes.

Open right or left view programatically

Hi,

Thanks for great plugin. I'm trying to add a button at top which triggers a function to open the right or left folded views, but I can't find a solution. I just want to add something like facebook menu with folding.

Thanks.

MapView Pins can't get updated

Hey,

I am trying to use a MapView within a PaperFoldView which works great but after adding pin annotations once, I can't get them removed or add some others.

When I remove the PaperFoldView et add the MapView directly in the window or a TiView, it works.
When I create a similar project in CocoaTouch using the PaperFold-iOS, it also works.

I guess this problem comes from some "DoNotFresh" boolean somewhere that prevents actions on the MapView or some side effect on Titanium caused by the PaperFold-iOS.

I can't figure out how to identify the problem and to solve it ... Do you have an idea?

Cheers.

Doesn't bring in PaperFold-for-iOS @ 9b21a55

I don't know if it was just me doing something wrong, but when I cloned the project, it didn't bring in PaperFold-for-iOS. I also tried downloading TiPaperFold as a zip and had the same issue.

I had to clone PaperFold-for-iOS (to the right location) and then explicitly checkout commit 9b21a55 to get it to work.

Super strange issue

This may sound pretty insane, but have you ever tried using commonJS modules with this module? I have this scenario where everything is a commonJS module (which works great on a tabGroup app) changing the tab group for the paperFold seems to work well except everything in those modules that are inside a "function" never get's called, for example:

// calling the window outside of the paperFold (works)
require("/ui/Checkin");
var checkinWindow = new Checkin();
checkinWindow.open({ modal: true });

// calling that exact code from a view / window inside the paperFold will show the dialog alright but the functions inside won't work (network and GPS related functions)

I know this is IMPOSSIBLE to debug, just trying to figure out if this is something related to the module or my commonJS stuff, but as I said.. it works on a tabgroup app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.