• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Message from view to viewController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Message from view to viewController


  • Subject: Re: Message from view to viewController
  • From: WT <email@hidden>
  • Date: Sun, 31 May 2009 12:21:09 +0200

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 call line, not after the mention "Succeeded".

I think you're under the impression that the recommendation to avoid retain cycles is somehow related to the warning you received. It is not. I made that recommendation as a general statement since you're doing something that could very easily cause retain cycles (namely, having a view store a pointer to its view controller).


On May 31, 2009, at 11:30 AM, Pierre Berloquin wrote:

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.

Ok, that might be it. If it works now, great.

Thanks

Welcome.

Wagner
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Message from view to viewController (From: Pierre Berloquin <email@hidden>)
 >Re: Message from view to viewController (From: Scott Ribe <email@hidden>)
 >Re: Message from view to viewController (From: Pierre Berloquin <email@hidden>)
 >Re: Message from view to viewController (From: WT <email@hidden>)
 >Re: Message from view to viewController (From: Pierre Berloquin <email@hidden>)
 >Re: Message from view to viewController (From: WT <email@hidden>)
 >Re: Message from view to viewController (From: Pierre Berloquin <email@hidden>)

  • Prev by Date: Re: Several Questions
  • Next by Date: Re: NSURLConnection sendSynchronousRequest: crashes since, upgrading to 10.5.7
  • Previous by thread: Re: Message from view to viewController
  • Next by thread: Re: Message from view to viewController
  • Index(es):
    • Date
    • Thread