Skip to content

Platform code separation #7

@mattapperson

Description

@mattapperson

As we all know, there are times when you need to separate iOS and android code. And in Ti.Current we have the platform specific resource directories. And while the "legacy" mode for Ti.Next will for sure support this. Is this the prefered method all the time? Or is something like NativeScripts usage better?
NativeScript for the record lets you name files with .ios.js, .iphone.js, .ipad.js and .android.js
This means you dont end up with multiple file structures and thus easer to spet where code splits off. This is also how iOS does things for iPhone vs iPad files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions