librelist archives

« back to archive

-[CTCoreFolder connect]?

-[CTCoreFolder connect]?

From:
Greg Maletic
Date:
2013-03-06 @ 19:15
It's not 100% clear to me why CTCoreFolder has a connect method? How is 
this different than connecting via CTCoreAccount?

Re: [mailcore] -[CTCoreFolder connect]?

From:
Matt Ronge
Date:
2013-03-12 @ 02:58
The -connect method on CTCoreAccount setups the connection to the server. 
The -connect method on CTCoreFolder tells the server to set that folder as
the active one (to SELECT it in imap terms). Methods on CTCoreFolder will 
call -connect if it hasn't been, so it is redundant now.


--
Matt Ronge

iOS App Consultant
Central Atomics Inc.
http://www.centralatomics.com







On Mar 6, 2013, at 1:15 PM, Greg Maletic <greg@panic.com> wrote:

> It's not 100% clear to me why CTCoreFolder has a connect method? How is 
this different than connecting via CTCoreAccount?