osx - Cross Plattform build target for OS X and iOS with Swift? -


is possible generate os x , ios binaries 1 same swift source code file in xcode 6? , if yes, how?

yes. way share swift code between multiple targets in project no different how share objc code.

for example, see new lister app sample code in developer library. project builds os x app , ios app, , each platform builds app, notification center today view extension, , bundled framework supporting both.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -