Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Marco Garduño
    Marco Garduño
    1,549 Points

    help

    Posted March 30, 2016 5:21am by Marco Garduño
    Marco Garduño
    1,549 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    0 Answers

  • Marco Garduño
    Marco Garduño
    1,549 Points

    help

    Posted March 30, 2016 5:21am by Marco Garduño
    Marco Garduño
    1,549 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    0 Answers

  • becky hayes
    becky hayes
    2,226 Points

    Not sure why the edits i've made to the init arent compiling...seem to be a lot of errors..

    Posted February 11, 2016 11:10pm by becky hayes
    becky hayes
    2,226 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Paul Jamieson
    Paul Jamieson
    2,698 Points

    Having trouble with this question. Any help would be great!

    Posted February 2, 2016 3:53pm by Paul Jamieson
    Paul Jamieson
    2,698 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • edwin lobo
    edwin lobo
    5,888 Points

    Need help with this ......

    Posted January 20, 2016 5:15pm by edwin lobo
    edwin lobo
    5,888 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • J Tezuka
    J Tezuka
    3,941 Points

    I'm getting another error on the inheritance and initializer's Challenge Task section. This is a recurring problem..

    Posted December 31, 2015 10:33pm by J Tezuka
    J Tezuka
    3,941 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Adam Bridges
    Adam Bridges
    1,904 Points

    RoundButton designated initializer

    Posted November 25, 2015 10:42am by Adam Bridges
    Adam Bridges
    1,904 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    3 Answers

  • Karthikeya Nadendla
    Karthikeya Nadendla
    9,747 Points

    Need help to fix the code

    Posted October 23, 2015 7:58pm by Karthikeya Nadendla
    Karthikeya Nadendla
    9,747 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • basmah Almashari
    basmah Almashari
    1,521 Points

    Error said "use '.self' to reference the type object"

    Posted October 1, 2015 10:10am by basmah Almashari
    basmah Almashari
    1,521 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    0 Answers

  • Kevin Myers
    Kevin Myers
    7,604 Points

    Should I not have updated Xcode 7.0 ? Some of the tutorials seem to behave different since updating.

    Posted September 28, 2015 6:37am by Kevin Myers
    Kevin Myers
    7,604 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    2 Answers

  • Victoria M
    Victoria M
    8,730 Points

    designated initializer task

    Posted September 25, 2015 10:13pm by Victoria M
    Victoria M
    8,730 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Gregory Marquet
    Gregory Marquet
    8,391 Points

    Stuck on adding designated initializer

    Posted August 2, 2015 9:06pm by Gregory Marquet
    Gregory Marquet
    8,391 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • jon kelson
    jon kelson
    5,149 Points

    whats wrong with this code please

    Posted August 2, 2015 5:32am by jon kelson
    jon kelson
    5,149 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    0 Answers

  • raj123
    raj123
    5,990 Points

    i cannot get this corrected in the code, i tried this steps super.init(width:Double, height:Double)

    Posted July 31, 2015 10:42pm by raj123
    raj123
    5,990 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Colin Suzuki
    Colin Suzuki
    1,763 Points

    Am I initializing this incorrectly?

    Posted July 22, 2015 2:40am by Colin Suzuki
    Colin Suzuki
    1,763 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Ceonn Bobst
    Ceonn Bobst
    1,788 Points

    What is wrong

    Posted June 20, 2015 4:10pm by Ceonn Bobst
    Ceonn Bobst
    1,788 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Josh Schlabach
    Josh Schlabach
    1,771 Points

    I don't understand why this won't work

    Posted June 15, 2015 5:49pm by Josh Schlabach
    Josh Schlabach
    1,771 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    0 Answers

  • Niyaz Ahamed
    Niyaz Ahamed
    4,243 Points

    Why is this solution is giving an error super.init(width: Double, height: Double)

    Posted April 23, 2015 11:47am by Niyaz Ahamed
    Niyaz Ahamed
    4,243 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    2 Answers

  • Sinan Samet
    Sinan Samet
    3,677 Points

    I can't solve this problem I don't see where the error is.

    Posted April 20, 2015 11:20am by Sinan Samet
    Sinan Samet
    3,677 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Sahit penmatcha
    Sahit penmatcha
    4,555 Points

    Whats wrong with this code?

    Posted April 16, 2015 8:54pm by Sahit penmatcha
    Sahit penmatcha
    4,555 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Brendan Drake
    Brendan Drake
    4,162 Points

    Code Challenge Object Oriented Swift; Inheritance

    Posted March 26, 2015 10:55pm by Brendan Drake
    Brendan Drake
    4,162 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    4 Answers

  • Jayven Nhan
    PLUS
    Jayven Nhan
    Courses Plus Student 1,956 Points

    Why width:width and height:height? What is the idea behind this?

    Posted March 1, 2015 3:02pm by Jayven Nhan
    Jayven Nhan
    Courses Plus Student 1,956 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Michael McKinley
    Michael McKinley
    1,476 Points

    Really don't know what's wrong with this designated initializer/how to make it work? Can someone guide me?

    Posted January 30, 2015 4:26pm by Michael McKinley
    Michael McKinley
    1,476 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • yi yuan
    yi yuan
    2,436 Points

    where am I wrong at the course of "init in subclass"

    Posted January 25, 2015 8:33pm by yi yuan
    yi yuan
    2,436 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    1 Answer

  • Mohamed Behary
    Mohamed Behary
    5,190 Points

    I need your help

    Posted January 14, 2015 8:52am by Mohamed Behary
    Mohamed Behary
    5,190 Points
    • iOS
    • Object-Oriented Swift
    • Inheritance
    • Inheritance and Initializers

    4 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord