GithubHelp home page GithubHelp logo

myrwtutorial's Introduction

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.

myrwtutorial's People

Contributors

bmorefield avatar catiecatterwaul avatar chashmeetsingh avatar freak4pc avatar jawwad avatar liamnichols avatar obuseme avatar orionthewake avatar rcritz avatar rwenderlich avatar sagunraj avatar sanketfirodiya avatar sberrevoets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

myrwtutorial's Issues

Update copyright if needed

It should now read 2023 Kodeco Inc.

And while I'm at it, if we specify the bundle identifier anywhere then that should still be com.yourcompany rather than com.kodeco to make sure that we are able to use it for own current and future apps.

(sorry, I don't understand how xcode files work or where they live.)

Bump Copyright to 2021?

Copyright in source files is 2020. I imagine this should get incremented now? (Not sure if this is something a macro should automatically do, but I just tried downloading and opening and it still says 2020.)

2018 Copyright

Copyright in AppDelegate.swift and FILEHEADER macro are 2017

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.