How to Make App Mockups With AppCooker
In this AppCooker tutorial, you’ll learn how to make beautiful interactive app mockups on your iPad! By Robert Chen.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Contents
How to Make App Mockups With AppCooker
30 mins
- Getting Started
- Can’t Buy the App?
- Sample Project Overview
- A Quick Tour
- Creating a New Project
- Adding Native Widgets
- Saving Colors to the Palette
- Changing the Status Bar Color
- Configuring the Table
- Delete Unused Sections and Rows
- Configure the Cell
- Change the Cell Text Color
- Add Body Copy to the Cell
- Fill Up the Table With Duplicate Cells
- Importing Images
- Transfer Images to iCloud Drive
- Set the Tab Bar Icons
- Add the RWDevCon Logo to the Table View Header
- Tab Bar Transitions
- Duplicate the First Screen
- Update the Tab Bar Icon Images
- Create the Tab Bar Transition
- Test the Transition in Preview Mode
- Smart Back Transitions
- Create a Detail Page
- Create a Simple Link
- Test the Smart Back Link with Preview Mode
- Adding an App Icon
- Importing and Exporting Files
- Challenge
- Where to Go From Here?
Add the RWDevCon Logo to the Table View Header
The last piece of UI on this screen is the RWDevCon branding logo in the table view header. It’s time to grab another icon from iCloud Drive.
- Tap the image icon in the navigation bar.
- Select iCloud Drive from the drop-down list.
- Within the AppCookerImages folder, select rwdevconlogo.png. This adds an image to your screen.
- Drag and resize the image to center it inside the table view header.
You can use the orange guides to help you maintain aspect ratio and snap to element boundaries.
Tab Bar Transitions
One compelling use case for AppCooker is its ability to create interactive transitions between screens. You can customize these transitions with animations to mimic push, pop and tab bar transitions.
Duplicate the First Screen
Before you can create a transition, you need a second screen. Since the Friday and Saturday tabs are so similar, you’re just going to duplicate the first screen.
- If you’re on the Editor workspace, tap Done in the top-left corner to return to the Screen View workspace.
- Tap the Home screen. This will reveal a popover menu.
- Tap Duplicate to create an identical screen named Home 2.
- Tap the word Home and rename it Friday.
- Rename Home 2 to Saturday.
Update the Tab Bar Icon Images
Right now, both tabs look identical. You’re going to update the Saturday tab so you can tell it apart from Friday.
- Double-tap the Saturday screen to return to the Editor.
- Using the steps outlined earlier, change the Friday tab icon to march11outline.png.
- Also change the Saturday tab icon to march12fill.png.
- While editing the Saturday tab icon, check off the Selected cell.
- Change the table view section header text to Saturday 9:00 AM instead of “Friday”.
When you mark the Saturday tab bar icon as Selected, it automatically de-selects Friday.
Create the Tab Bar Transition
The tab bar widget has some built-in linking capabilities. You can leverage this to link the new Saturday tab to the Friday tab.
- Within the Saturday Editor, select the tab bar element.
- Select the Tabs button from the property bar. This opens up a Tabs modal.
- Select the Friday cell.
- In the Link options section, toggle the Link switch.
- Tap the Select a Target screen cell. This takes you to the Item Link page.
- Under the Screen targeted section, tap Select a Target.
- On the Screen Targeted page, select the Friday cell. This returns you to the previous page.
- Under the Type of transition section, select the Fade +0.3 sec cell. This takes you to the Type of Transition page.
- Change the transition type to None.
You just created a tab transition that goes from the second tab to the first, with no animation. You’ll see a blue square over the Friday icon, which indicates it’s tappable.
Now you can circle back and create a transition from the Friday screen to the Saturday screen.
- Tap Done in the top-left corner to return to the Screen View.
- Double-tap the Friday screen.
- Repeat the steps above for creating a tab bar link. But this time, link the Saturday tab bar icon to the Saturday screen.
Test the Transition in Preview Mode
You need to test the tab bar transitions to make sure they work. To do so, you have to use AppCooker’s Preview mode.
- In the Screen View workspace, tap the Play button, which is a triangle icon in the navigation bar. This takes you into Preview.
- Optionally, tap the Link icon to toggle off the blue tappable area.
- Tap the Play triangle to start the preview.
- Verify that the selected tab changes as you tap the Friday and Saturday icons.
- Double-tap with two fingers to exit the preview.
When using Preview, you won’t be able to interact with the mockup until you tap the Play button. And once you’re in Play mode, remember to double-tab with two fingers to exit.
One benefit of AppCooker is that you can design and test on the same device. Since you’re using an iPad, you have access to gestures like tap, swipe, multi-touch and device rotation.
Smart Back Transitions
Screen transition animations usually come in pairs. When you push a detail page, you pop to go back. Likewise, when you present a modal, you dismiss to go back. AppCooker has a convenient feature called Smart Back that uses the reverse animation to return to the previous screen.
Create a Detail Page
Before you can play with this feature, you first need to create a detail page.
- Navigate back to the Screen View workspace.
- Double-tap on an empty area of the workspace to create a new screen.
- Rename the new screen Detail Page.
- Double-tap on the screen to enter Editor mode.
- From the Widgets menu, add a status bar, a navigation bar and a table view.
- Tap Done to return to the Screen View.
You just created a detail page with a few UI elements. But look closely at the navigation bar widget and you’ll notice a blue tappable area over the Back button. It turns out this button is pre-configured with a Smart Back link. Just by adding a navigation bar, you’re halfway to finishing your Smart Back transition.
Create a Simple Link
The next step is to create a link from the Friday screen to the Detail Page.
- Open the Editor for the Friday screen.
- Tap the Link button in the navigation bar.
- Select Add a Simple Link area.
- A red box will appear onscreen. Drag and resize it so it covers up the first Beginning Swift cell.
- In the property bar, tap Choose a target screen. This will open a popover.
- Tap the Select a Target cell.
- Select the Detail Page cell.
- Change the Type of transition to Cover R.
The Simple Link creates a transition from the Friday tab to the Detail Page, using the Cover Right animation. The Smart Back button is already in place on the Detail Page, and it will play the animation in reverse on the return trip.