Apple to allow cross-platform Mac and iOS apps next year