On May 31, 2009, at 8:04 AM, Pierre Berloquin wrote:
Also I follow your advice about retaining loopholes and use
-(void)setViewController:(UIViewController *) vc{
theViewController = vc;
}
So the warning remains puzzling. Note that it's displayed on the sub
view .m
page only, after the ca
I think I solved the warning problem. I suspected my folder logic was wrong
so I cleaned it up, taking all class files from the project and adding them
back one by one. And it works fine, no warning anywhere !I had a duplicate
controller I had created by mistake and I thought I had gotten rid of.
T
I get warning "UIViewController may not respond to '-vagTouchesBegan:'
(Messages without a matching method signature will be assumed to return 'id'
and accept '...' as arguments)" when I call the view controller from the sub
view
- (void) touchesBegan: (NSSet *)touches withEvent:(UIEvent *)event {
On May 30, 2009, at 5:43 PM, Pierre Berloquin wrote:
Declaring in .h
-(void)vagTouchesBegan:(id)sender;
was my first impulse. But that's not enough.
It's not clear from your two posts which method you're getting a
warning for. I thought it was for the -vagTouchesBegan method, but you
clai
Declaring in .h
-(void)vagTouchesBegan:(id)sender;
was my first impulse. But that's not enough.
About the memory problem, I suppose I should receive touchesBegan in the
controller and sort out what I get ?
2009/5/30 WT
> On May 30, 2009, at 4:40 PM, Pierre Berloquin wrote:
>
> [theViewControl
On May 30, 2009, at 4:40 PM, Pierre Berloquin wrote:
[theViewController vagTouchesBegan:self];
QED
There's still a warning that the view controller may not respond.
But it
works seamlessly.
Can I get rid of the warning?
Yes, by declaring the method -vagTouchesBegan: in the header file of
I kept working on it and reached THE solution with the help of a fellow
programmer, Nicolas :I treat the controller as an object and define
UIViewController *theViewController;
with a regular setViewController function
The viewController sends its identity to the view through that function when
it
> No I'm not that innocent. I do import the .h . My program is already complex,
> with several classes working together ok. Only this message problem blocks me.
Well then, my second guess would be one of those frustrating typos that you
don't see even though you've looked at the identifiers severa
No I'm not that innocent. I do import the .h . My program is already
complex, with several classes working together ok. Only this message problem
blocks me.
2009/5/29 Scott Ribe
> > Yes, I did import too many times, but that was in a desperate attempt to
> > import enough!I corrected that and no
On Fri, May 29, 2009 at 11:18 AM, Pierre Berloquin wrote:
> Yes, I did import too many times, but that was in a desperate attempt to
> import enough!I corrected that and now I have my original error :
> MyAppViewController may not respond to +manageMyViews
> which blocks the program
>
You've defi
> Yes, I did import too many times, but that was in a desperate attempt to
> import enough!I corrected that and now I have my original error :
> MyAppViewController may not respond to +manageMyViews
> which blocks the program
So you're not importing MyAppViewController.h? You need to learn the
dif
Yes, I did import too many times, but that was in a desperate attempt to
import enough!I corrected that and now I have my original error :
MyAppViewController may not respond to +manageMyViews
which blocks the program
Thanks
2009/5/29 Nick Zitzmann
>
> On May 29, 2009, at 9:39 AM, Pierre Berloq
On May 29, 2009, at 9:39 AM, Pierre Berloquin wrote:
But I get an error :
duplicate symbol .objc_class_name_MyAppViewController
What am I doing wrong ?
You're building the class "MyAppViewController" twice for some reason.
Did you accidentally #import a .m file anywhere, or leave an
imp
Hi
I have a MyAppViewController that creates a set of views and that works
fine. They are displayed and animated.
I want to know in the view controller when one of the views is touched and
work on it.
For that I have in the uiview class :
- (void) touchesBegan: (NSSet *)touches withEvent:(UIEvent
14 matches
Mail list logo