Magazine style app

I want to create a simple magazine style app, is there any sample code for this?

Thanks.

Hi @jencbrown,

I’m not aware of any sample specifically exhibiting a magazine-style app, but you could refer to the basic Composer and ScrollView (within WidgetDemo) samples and build your project around that:

https://github.com/coronalabs/samples-coronasdk/tree/master/Interface/Composer

https://github.com/coronalabs/samples-coronasdk/tree/master/Interface/WidgetDemo

Best regards,

Brent

<jencbrown>: I’ve created a magazine-style app using Corona SDK; I don’t know if you’d call it simple or complex, but it does use 40K+ lines of lua code, including comments and whitespace.

Your challenge will be text formatting. Corona is very good at some things (simple audio takes three lines of code, for instance). But there’s no out-of-the-box solution to wrap text around images, italicize words in the middle of a line, specify “only X lines of text,” etc. The box you used to type your comment on this web page has 10x the text formatting functionality of Corona.

So before you spend a lot of time going down this path, be warned of what lies ahead. Also you might want to consider webviews inside Corona.

Hi @jencbrown,

I’m not aware of any sample specifically exhibiting a magazine-style app, but you could refer to the basic Composer and ScrollView (within WidgetDemo) samples and build your project around that:

https://github.com/coronalabs/samples-coronasdk/tree/master/Interface/Composer

https://github.com/coronalabs/samples-coronasdk/tree/master/Interface/WidgetDemo

Best regards,

Brent

<jencbrown>: I’ve created a magazine-style app using Corona SDK; I don’t know if you’d call it simple or complex, but it does use 40K+ lines of lua code, including comments and whitespace.

Your challenge will be text formatting. Corona is very good at some things (simple audio takes three lines of code, for instance). But there’s no out-of-the-box solution to wrap text around images, italicize words in the middle of a line, specify “only X lines of text,” etc. The box you used to type your comment on this web page has 10x the text formatting functionality of Corona.

So before you spend a lot of time going down this path, be warned of what lies ahead. Also you might want to consider webviews inside Corona.