GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bisyfish/VWInstantRun: An Xcode plugin let you build & run your selected lines of code in Xcode without running the whole project, you'll have the output instantly in your Xcode console.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
VWInstantRun.xcodeproj
VWInstantRun.xcodeproj
 
 
VWInstantRun
VWInstantRun
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
run_swift_code_1.gif
run_swift_code_1.gif
 
 
run_swift_code_2.gif
run_swift_code_2.gif
 
 
run_swift_code_3.gif
run_swift_code_3.gif
 
 

Repository files navigation

VWInstantRun

How many times you have to build and run your whole project when you just want to run a small piece of code to test a tiny doubt ?

Now with VWInstantRun, you won't run into this situation any more. An Xcode plugin let you build & run your selected lines of code in Xcode without running the whole project, you'll have the output instantly in your Xcode console.

Installation

Installation: You can clone or just download the project, then open project with Xcode, build and run project, and finally restart Xcode to active plugin.

Alcatraz

Another way more easier option: This plugin can also be installed using Alcatraz. Just search for VWInstantRun in Alcatraz.

Usage

Generally you just select your code in Xcode, then either use hotkey ⌘⌥⇧ + R or go to Product -> Instant Run to build and run the lines of code selected.

Limitations

The purpose of this plugin is to run your code snippet instantly without building the whole project, so obviously it do have some limitations. The code selected should be isolated from other contexts, otherwise you will only have some compiler errors when you run that code snippet. Usually you need to add some stub values as input and add print() phrase to actually view your output in console view. For now, it only support Foundation module.

Todo List

This plugin is still in a very early stage, here is a TODO list to show you a simple roadmap.

  • Swift code support.
  • Objective-C code support. (In progress, should be done soon)
  • More modules support.
  • Run selected code with arguments inputed by user.

More information

  • You can checkout more implementation details in this blog post.
  • If you have anything want to talk, feel free to raise an issue or say hello on twitter to @wangshengjia

Enjoy 🎉🎉

About

An Xcode plugin let you build & run your selected lines of code in Xcode without running the whole project, you'll have the output instantly in your Xcode console.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.