Skip to content

A reusable starter project for raywenderlich.com tutorials

Notifications You must be signed in to change notification settings

kodecocodes/MyRWTutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iOS Sample App

This project is a barebones Xcode 14 application that sets up some of the basics according to standards for raywenderlich.com tutorial sample projects. Such things include:

  • Sets the tab width to 2 spaces throughout the project
  • Removes some cruft from default files (primarily AppDelegate)
  • Removes the default ViewController from the project and Main.storyboard
  • Has the LaunchScreen.xib and app icons already set up
  • Has the correct company name, bundle identifier, and code signing definitions (none)
  • Defaults new files to use the correct copyright information

How To Use This

First, download a zip archive of the repo from Github.com:

Clone or download > Download ZIP

Tutorial sample projects should not include a git repo, so please do not clone this repo and then start making modifications as the sample project.

After downloading and unzipping the skeleton project, several pieces should be changed to unique values such that they are relevant to the tutorial under development, including:

  • Select project in project navigator and rename the project
    • Xcode will prompt to rename targets and other metafiles as well - select all of them
  • Change the bundle identifier
  • Change the scheme name
  • Rename the top-level directory (the one that contains the .xcodeproj file)
  • Select your target, open the Build Settings tab and set the path of the Development Assets to YourProjectName/Preview\ Content.
  • Also, under the Build Settings of your target, go to Packaging and set the path of the Info.plist file to YourProjectName/Info.plist.

Credits

Huge props to Scott Berrevoets for coming up with this idea and creating the project, and to Richard Critz for developing the FILEHEADER macro to automatically set the copyright.

About

A reusable starter project for raywenderlich.com tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages