• KultureGeek
  • Comparateur de prix
       
iPhoneAddict
 iAddictv5Notre Application iPhone/iPad
  • Accueil Apps
  • Actualité Apple
  • Keynote Apple
  • Firmwares & iTunes
  • Contactez-nous
Accueil » Liste des Apps » Apps Mac » developpeurs » InjectionIII
5.1.0 macOS €Gratuit Christoffer Winterkvist 0 0 Quite simply, InjectionIII adds "Hot Reloading" capability to your iOS, tvOS and macOS projects written in Swift or Objective-C. This allows you to change the implementations of methods, functions and SwiftUI body properties without having to restart...
InjectionIII

InjectionIII

macOS / developpeurs

Gratuit
Obtenir sur l'App Store

Quite simply, InjectionIII adds "Hot Reloading" capability to your iOS, tvOS and macOS projects written in Swift or Objective-C. This allows you to change the implementations of methods, functions and SwiftUI body properties without having to restart your app for rapid iteration over minor code changes and design.

To get up and running, install the app to /Applications and run it and it will appear on the menu bar.
Then, download the example project http://johnholdsworth.com/GettingStarted.zip, build and run it in Xcode. You’ll be promoted to select the directory containing the project file and sources to give InjectionIII access to which files have changed. Once injection has connected, when you save a file, it will be recompiled and injected into the running app, the new implementations taking place of the old. In the GettingStarted iOS app, if you edit the file DetailViewController.swift to change the string appended after the detail.description in function configureView() then save the file, you can see it take effect straight away.

InjectionIII requires a version of Xcode more recent than 10.2, installed at the standard location /Applications/Xcode.app. For a project to be injectable, you must also add "-Xlinker -interposable" to the Debug target of its "Other Linker Flags" build setting. Then, add one of the following to your app’s startup to connect to InjectionIII:

Xcode 10.2 and later:

#if DEBUG
Bundle(path: "/Applications/InjectionIII.app/Contents/Resources/iOSInjection.bundle")?.load()
//for tvOS:
Bundle(path: "/Applications/InjectionIII.app/Contents/Resources/tvOSInjection.bundle")?.load()
//Or for macOS:
Bundle(path: "/Applications/InjectionIII.app/Contents/Resources/macOSInjection.bundle")?.load()
#endif

InjectionIII is able to inject SwiftUI but requires minor code changes to "body" properties to ensure views are redrawn on injection. The easiest way to do this is using the "Prepare Project" menu item after you have selected a project and it will make the necessary changes.

If your project is organised across multiple directories, after you have selected the main project, you can add directories to be watched for file changes using the "Add Directory" menu item. This list resets when you select a new project. You'll need to turn sandboxing off to be able to use injection on a macOS application. Consult the project README on the support page for more information.

En voir plus...

Quoi de neuf dans la dernière version ?

Accommodations for Xcode 16

  • Screenshot #1 pour InjectionIII
  • Screenshot #2 pour InjectionIII

Note

(0 note)

Détails sur l'application

Version
5.1.0
Taille
7.6 Mo
Version minimum de macOS
10.13
Dernière mise à jour
20/05/2025
Publié par
Christoffer Winterkvist

Newsletter App Store

Recevez chaque jour les meilleures promos

Actualité Apple

Image Apple annonce AppleCare One, une assurance pour plusieurs appareils
Apple annonce AppleCare One, une assurance pour plusieurs appareils
Image Loot : premier trailer et date de sortie pour la saison 3 de la série Apple TV+
Loot : premier trailer et date de sortie pour la saison 3 de la série Apple TV+
Image Brevet : Apple réfléchit à un système avancé de visioconférence FaceTime destiné aux MacBook
Brevet : Apple réfléchit à un système avancé de visioconférence FaceTime destiné aux MacBook
Image Happiness is Contagious : Apple TV+ va présenter la prochaine série de Vince Gilligan (Breaking Bad)
Happiness is Contagious : Apple TV+ va présenter la prochaine série de Vince Gilligan (Breaking Bad)
Partenaires : Actualité iPhone - Culture Geek
©2009-2025 i2CMedia | A propos |