toshi0383 / TVMLKitchen

Swifty TVML template manager with or without client-server
MIT License
81 stars 12 forks source link

How does Kitchen's default presentationType behave ? #75

Closed toshi0383 closed 8 years ago

toshi0383 commented 8 years ago

There are two push methods to present a TVML view, replaceDocument and pushDocument. https://developer.apple.com/library/tvos/documentation/TVMLJS/Reference/TVJSNavigationDocument_Ref/index.html

The defaultPresenter in kitchen.js pushes document. If loadingIndicator exists, it replaces document.

toshi0383 commented 8 years ago

@anthonycastelli Would this answer your question in #69 ?

anthonycastelli commented 8 years ago

It does, however, if I present a TabBar and to to menu back to the previous screen, it'll just exit the app. So I think Its replacing it for me.

toshi0383 commented 8 years ago

Could you modify the SampleRecipe demo code so it reproduces that problem ? I can checkout the branch and see the problem quickly. 😉

anthonycastelli commented 8 years ago

Sure. I'll be home in about 30-40 minutes so I'll give it a whirl.

Sent from my iPhone

On Mar 27, 2016, at 7:29 PM, Toshihiro Suzuki notifications@github.com wrote:

Could you modify the SampleRecipe demo code so it reproduces that problem ? I can checkout the branch and see the problem quickly. 😉

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

anthonycastelli commented 8 years ago

I was actually doing something wrong when I presenting the initial view. I kept presenting it Modaly and when I set it to Default, everything started working. :+1:

toshi0383 commented 8 years ago

That sounds great 🙌 Case closed.🕵