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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • Oscar Armenta
    Oscar Armenta
    641 Points

    Type [T] to type [U]

    Posted November 3, 2019 6:48am by Oscar Armenta
    Oscar Armenta
    641 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    0 Answers

  • Juan Jimenez
    Juan Jimenez
    4,389 Points

    I think there is an error in this course

    Posted June 3, 2019 5:01pm by Juan Jimenez
    Juan Jimenez
    4,389 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • Gavin Hobbs
    Gavin Hobbs
    5,205 Points

    Is Something Wrong With the Exercise?

    Posted October 1, 2018 8:09pm by Gavin Hobbs
    Gavin Hobbs
    5,205 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • aaron du
    aaron du
    5,946 Points

    generic functions with multiple type parameters

    Posted June 20, 2018 7:20am by aaron du
    aaron du
    5,946 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • john lau
    john lau
    3,471 Points

    error: type '(T) -> U' has no subscript members return transformation[array]

    Posted April 23, 2018 3:11am by john lau
    john lau
    3,471 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    6 Answers

  • Sam Belcher
    Sam Belcher
    3,719 Points

    Generic Functions With Multiple Type Paremeters

    Posted March 18, 2018 12:37am by Sam Belcher
    Sam Belcher
    3,719 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • Sam Belcher
    Sam Belcher
    3,719 Points

    Generic Functions With Multiple Type Parameters

    Posted March 15, 2018 2:51am by Sam Belcher
    Sam Belcher
    3,719 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • Sam Belcher
    Sam Belcher
    3,719 Points

    Generic Functions With Multiple Type Parameters

    Posted March 13, 2018 12:57am by Sam Belcher
    Sam Belcher
    3,719 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • Everton Carneiro
    Everton Carneiro
    15,994 Points

    error: '([T]) -> U' is not convertible to '(T)

    Posted October 25, 2017 2:31am by Everton Carneiro
    Everton Carneiro
    15,994 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    2 Answers

  • Sergio Alen
    Sergio Alen
    26,726 Points

    Code works in xcode playground but not in the challenge

    Posted August 13, 2017 4:02am by Sergio Alen
    Sergio Alen
    26,726 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    2 Answers

  • Venkata Harish Mullapudi
    PLUS
    Venkata Harish Mullapudi
    Courses Plus Student 46 Points

    I wrote a piece of code and it works in the Xcode playground. But the Challenge question keeps complaining

    Posted April 21, 2017 10:44pm by Venkata Harish Mullapudi
    Venkata Harish Mullapudi
    Courses Plus Student 46 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • Shane Hartman
    Shane Hartman
    1,534 Points

    My code runs correctly in xcode but it doesn't pass the review process

    Posted April 10, 2017 7:10pm by Shane Hartman
    Shane Hartman
    1,534 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • Roland Schützenhofer
    Roland Schützenhofer
    4,311 Points

    Your code could not be compiled. But there aren't any Errors in the Preview Section.

    Posted April 6, 2017 12:21pm by Roland Schützenhofer
    Roland Schützenhofer
    4,311 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    1 Answer

  • james gamber
    james gamber
    7,727 Points

    generics in swift 3 challenge task 1 of 1

    Posted March 10, 2017 10:05pm by james gamber
    james gamber
    7,727 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    2 Answers

  • Wesley Lang
    Wesley Lang
    14,612 Points

    In the editor define a function named map with two generic type parameters, T and U. The function takes two arguments -

    Posted February 19, 2017 8:52pm by Wesley Lang
    Wesley Lang
    14,612 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    3 Answers

  • Dhanish Gajjar
    Dhanish Gajjar
    20,185 Points

    Generics in Swift 3, Challenge 2

    Posted February 16, 2017 1:31pm by Dhanish Gajjar
    Dhanish Gajjar
    20,185 Points
    • iOS
    • Generics in Swift
    • Generic Functions, Parameters and Constraints
    • CSS Background Blend Modes Challenge

    2 Answers

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

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.