tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/2253-what-is-the-best-approach-for-this-situationRobotlegs: Discussion 2013-05-16T09:33:42Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/264174392013-04-16T11:21:19Z2013-04-16T11:21:21ZWhat Is the best approach for this situation<div><p>Hello I have a Facebook application :<br>
I need to check if the user autorized the app or not and based on
that i set a state on my view.(isloggedin or !isloggedin)<br>
so if the user is loggedin and the user clicks start the app i'll
have to switch to another view from homescreen to game screen for
instance</p>
<p>My idea is to create a main view and that contains all the
screens and switch them based on states of applicatons (switch
visibilities or removeChild ...)</p>
<p>Is my approach valid or shall I go for another one</p>
<p>thanks,</p></div>khaledgarbayatag:robotlegs.tenderapp.com,2009-10-18:Comment/264174392013-04-16T17:59:27Z2013-04-16T17:59:27ZWhat Is the best approach for this situation<div><p>It definitely sounds like a valid approach, but everything
always depends on what exactly you want to do of course.</p></div>creynderstag:robotlegs.tenderapp.com,2009-10-18:Comment/264174392013-05-16T09:33:41Z2013-05-16T09:33:41ZWhat Is the best approach for this situation<div><p>I'm closing this for now, if you have any more questions let us
know!</p></div>creynders