ios - Why can't I run commands by themselves in Swift? -


it great if run commands in terminal during simulation. in javascript can enter commands , output. why there no such functionality in programming ios?

only interpreted languages can execute code @ runtime. compiled languages cannot. since swift compiled language cannot execute code @ runtime.

examples of interpreted languages

  • java
  • javascript
  • php
  • perl
  • python
  • ruby

examples of compiled languages

  • c
  • c++
  • c#
  • objective-c
  • pascal
  • scala
  • swift

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -