简体   繁体   中英

Playground using with Objective-C iOS8

I have just started working in iOS8. I have seen here Playground concept. But I didn't understand it. I have read that it could be only used with the Swift language. I have referred documents from this link .

Can we use it with Objective-C too?

Thanks for any help!!

The playground concept is built upon a technology called REPL ( More info on REPL )

Basically you can type code into the playground which is 'compiled' (evaluated) on the fly so you can see the output/result.

It's quite a nice way to play with a language, design a function or test an algorithm, but you cannot build a distributable app with a playground.

For a playground concept to work a given language needs to support REPL. Currently Objective C does not support this, therefore only Swift is available in playground form.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM