Your First App
⏱️ 10 minutes Let’s build something! This tutorial walks you through creating your first iOS app with Nativeline. You’ll go from idea to working app in the iOS Simulator in just minutes.What You’ll Build
A simple counter app that:- Shows a number
- Has buttons to increment and decrement
- Remembers the count
Step 1: Create a New App
Open Nativeline. On the Home Page, you’ll see:“Tell me about the app you’re imagining…”Type your app description. For this tutorial, enter:
Step 2: Complete the Wizard
Nativeline’s wizard helps customize your app with a few quick questions:What feel do you want?
Choose Simple & clean — minimalist works well for a counter.Similar apps?
You can skip this or type “like Apple’s calculator” for inspiration.Pick colors
Choose any palette you like, or let the AI generate one.Name your app
Enter: Counter Click Create App to continue.Step 3: Watch It Build
Nativeline now creates your app:- Setting up the project — Creating the Xcode structure
- Writing the code — Generating Swift/SwiftUI
- Building — Compiling everything
First build takes longer because Xcode needs to compile the entire project. Future builds are much faster.
Step 4: Explore Your Workspace
Once complete, you’ll see the main workspace:Left Side: Chat Interface
- Your messages — What you ask for
- AI responses — What the AI is doing
- Tool cards — Files being created/edited
- Todo list — Current tasks
Right Side: iOS Simulator
Your app running on a virtual iPhone. You can interact with it just like a real phone. Try tapping the buttons in your counter app!Step 5: Make Your First Change
Let’s customize the app. In the chat, type:- Plan the change
- Edit the code
- Rebuild the app
- Show the result
Step 6: Add a Feature
Let’s add something new. Type:- Create the button
- Add the reset logic
- Position it appropriately
Step 7: Polish the Design
Let’s make it look better. Type:Experiment Further
Try these prompts to explore more:Change the colors
Change the colors
“Change the plus button to green and minus to red”
Add animation
Add animation
“Add a subtle scale animation when the number changes”
Add persistence
Add persistence
“Save the count so it persists when I close and reopen the app”
Add a max limit
Add a max limit
“Don’t let the count go above 100 or below 0”
Add sound effects
Add sound effects
“Play a click sound when buttons are tapped”
What You Learned
Congratulations! You just:- ✅ Created an app from a description
- ✅ Used the wizard to customize settings
- ✅ Made changes through natural language
- ✅ Added new features without coding
- ✅ Styled your app visually
Common Issues
The Simulator isn't showing
The Simulator isn't showing
- Check if it’s behind other windows
- Look in other Spaces/Desktops (swipe on trackpad)
- It may take 30-60 seconds to boot the first time
Build failed
Build failed
Don’t worry! Nativeline automatically:
- Detects the error
- Proposes a fix
- Rebuilds
App doesn't match what I asked for
App doesn't match what I asked for
Be more specific in your next prompt:
- Instead of “make it bigger” → “make the font size 48pt”
- Instead of “change the color” → “change to blue (#007AFF)“