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?
Changing the Status Bar Color
Now that the background color is dark gray, it’s hard to see the status bar. You’re going to fix this.
- Tap the status bar.
- In the property bar, tap the Style button.
- Select Light Content from the popover menu. The status bar will now be white.
You may have noticed that AppCooker gives you options for dark content and light content rather than “black” and “white”. This is because the native widget properties tend to map directly to an API in iOS. In this case, the two UIStatusBarStyle
options are .Default
(dark content) and .LightContent
.
Configuring the Table
Table views are an essential part of mobile development. Naturally, there are a lot of configuration options for cell styles, cell accessories, sections and headers. AppCooker makes many of these properties available in the table view widget.
Delete Unused Sections and Rows
By default, the table view widget is populated with pre-configured cells to give you a sense of what’s possible. Your first order of business: delete some of this boilerplate.
- Select the table view on your screen.
- Tap the Sections button in the property bar. This opens the Sections modal.
- Swipe the row named Section 1 to the left and tap Delete.
- Select Section 0, which takes you to the Section Details page.
- Swipe to delete the second cell, named Title.
You’ll end up with one section containing a single cell.
Configure the Cell
Each cell needs to fit quite a bit of information, including the title of the talk, course number, difficulty level and room number. The Subtitle cell style is a good choice, since you can squeeze in two lines of information, one on top of the other.
- On the Section Details page, tap the first cell named Title. This takes you to the Cell Details page.
- Under the Style section, tap the example cell, which currently has a Basic style.
- On the Cell Style page, select the second cell, the one where the title is on top of the subtitle. This will take you back to the previous page.
- Under the Accessory section, tap the example cell, which is currently set to Detail Button.
- On the Cell Accessory page, select the first item, None. Again, this will take you back to the previous page.
You’ve changed the cell style from Basic to Subtitle, as well as gotten rid of a cell accessory button. Onward!
Change the Cell Text Color
The built-in subtitle cell is functional, but it doesn’t look exciting. Why don’t you change the title color to that dashing RWGreen you saved earlier?
- On the Cell Details page, find the Title row and tap the Info button. This will take you to the Title Attributes page.
- Tap the black row at the bottom to go to the Title Color page.
- Select the green square from the color palette you saved earlier.
- Tap the Back button twice until you return to the Cell Details page.
- Repeat the same steps to change the Subtitle Color to the light gray color from the palette.
The cell title will now be green, and the subtitle a light gray.
Add Body Copy to the Cell
You’re going to enter some mock information to help you visualize the end product.
- On the Cell Details page, find the Title and Subtitle cells in the Content section.
- Change the Title to Beginning Swift.
- Change the Subtitle to 101 • Beginner • Edison A/B/C. On an iOS keyboard, hold down the hyphen – key and the bullet • character will appear in a popover.
- Tap the Back button to return to the Section Details page.
- Replace the Header text with FRIDAY 9:00 AM.
Data entry can be tedious. Fortunately, AppCooker makes it easy to duplicate cells.
Fill Up the Table With Duplicate Cells
Right now your table view has just a single cell. The mockup might look better with a fully populated table.
This is only a mockup, so why not copy and paste?
- On the Section Details page, tap Duplicate Last Cell.
- Keep duplicating the last cell until the table is fully populated.
Hey, maybe it’s a popular workshop!
Importing Images
AppCooker integrates with iCloud Drive, so it’s easy to import images. If you haven’t done so already, download this zip file containing images and icons. If you want, you can generate the icons yourself in this Sketch tutorial.
Transfer Images to iCloud Drive
- From a desktop web browser, log into www.icloud.com/#iclouddrive with your Apple ID.
- Within iCloud Drive, create a new folder called AppCookerImages.
- Unzip the AppCookerResourceFolder.zip file.
- Drag all the image files from Finder to the iCloud Drive folder.
AppCooker’s integration with iCloud makes it a cinch to transfer images and backup files.
Set the Tab Bar Icons
Currently, two tab bar icons are set to default star and ellipsis images. For this mockup, you’re going to use a calendar image with an “11” to represent Friday, March 11th. Likewise, you’ll use a “12” icon for Saturday.
- Back in the AppCooker Editor, select the tab bar at the bottom of the screen.
- Tap the Tabs button in the property bar. This will reveal a Tabs modal.
- Select the first cell, which is named Favorites.
- Rename the Title to Friday.
- Select the Icon cell. This will reveal an action sheet.
- Select iCloud Drive from the bottom of the list. This will open an iCloud Drive modal.
- Select the AppCookerImages folder you created earlier.
- Select march11fill.png. This sets the icon and dismisses the modal.
Even though the image is green, you’ll notice the tab bar icon is blue. Certain icons in iOS are rendered as template or stencil images. In a later step, you’ll set a tint color to fix this.
For the icon on the second tab, repeat the same steps as before. Except this time:
- Change the Title from “More” to Saturday.
- Use the file march12outline.png.
As a final touch, set the tab bar’s tint color to RWGreen:
- Make sure the tab bar is still selected.
- In the property bar, tap the Tint button.
- Select RWGreen from the color palette.
The Friday icon will now be green with a filled calendar icon, and the Saturday icon will be the gray outline version.
The calendar outline icon has a lot of empty space, so when you select it, the color change isn’t obvious. This is why you’re using a separate fill version for the selected state.