mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-15 15:15:51 +01:00
This commit integrates iOS platform support for Wails v3, adapting the iOS-specific code to work with the new transport layer architecture. Key changes: - Add iOS-specific application, webview, and runtime files - Add iOS event types and processing - Add iOS examples and templates - Update messageprocessor to handle iOS requests - Move badge_ios.go to dock package Note: The iOS branch was based on an older v3-alpha and required significant conflict resolution due to the transport layer refactor (PR #4702). Some iOS-specific code may need further adaptation: - processIOSMethod needs to be implemented with new RuntimeRequest signature - iOS event generation in tasks/events/generate.go needs updating 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
59 lines
2.2 KiB
Markdown
59 lines
2.2 KiB
Markdown
# Welcome to Your New Wails3 Project!
|
|
|
|
Congratulations on generating your Wails3 application! This README will guide you through the next steps to get your project up and running.
|
|
|
|
## Getting Started
|
|
|
|
1. Navigate to your project directory in the terminal.
|
|
|
|
2. To run your application in development mode, use the following command:
|
|
|
|
```
|
|
wails3 dev
|
|
```
|
|
|
|
This will start your application and enable hot-reloading for both frontend and backend changes.
|
|
|
|
3. To build your application for production, use:
|
|
|
|
```
|
|
wails3 build
|
|
```
|
|
|
|
This will create a production-ready executable in the `build` directory.
|
|
|
|
## Exploring Wails3 Features
|
|
|
|
Now that you have your project set up, it's time to explore the features that Wails3 offers:
|
|
|
|
1. **Check out the examples**: The best way to learn is by example. Visit the `examples` directory in the `v3/examples` directory to see various sample applications.
|
|
|
|
2. **Run an example**: To run any of the examples, navigate to the example's directory and use:
|
|
|
|
```
|
|
go run .
|
|
```
|
|
|
|
Note: Some examples may be under development during the alpha phase.
|
|
|
|
3. **Explore the documentation**: Visit the [Wails3 documentation](https://v3.wails.io/) for in-depth guides and API references.
|
|
|
|
4. **Join the community**: Have questions or want to share your progress? Join the [Wails Discord](https://discord.gg/JDdSxwjhGf) or visit the [Wails discussions on GitHub](https://github.com/wailsapp/wails/discussions).
|
|
|
|
## Project Structure
|
|
|
|
Take a moment to familiarize yourself with your project structure:
|
|
|
|
- `frontend/`: Contains your frontend code (HTML, CSS, JavaScript/TypeScript)
|
|
- `main.go`: The entry point of your Go backend
|
|
- `app.go`: Define your application structure and methods here
|
|
- `wails.json`: Configuration file for your Wails project
|
|
|
|
## Next Steps
|
|
|
|
1. Modify the frontend in the `frontend/` directory to create your desired UI.
|
|
2. Add backend functionality in `main.go`.
|
|
3. Use `wails3 dev` to see your changes in real-time.
|
|
4. When ready, build your application with `wails3 build`.
|
|
|
|
Happy coding with Wails3! If you encounter any issues or have questions, don't hesitate to consult the documentation or reach out to the Wails community.
|