8000 GitHub - Dwashi2/swift-FindtheIndex
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dwashi2/swift-FindtheIndex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

swift-FindtheIndex


Swift Study

Project to study Swift

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contact

About The Project

  Create a function that takes an array and a string as arguments and return the index of the string.
  
  Examples:
  find_index(["hi", "edabit", "fgh", "abc"], "fgh") ➞ 2
  find_index(["Red", "blue", "Blue", "Green"], "blue") ➞ 1
  find_index(["a", "g", "y", "d"], "d") ➞ 3
  find_index(["Pineapple", "Orange", "Grape", "Apple"], "Pineapple") ➞ 0
  
  Notes:
  Don't forget to return the result.
  If you are stuck, find help in the Resources tab.

  Excercise from: https://edabit.com/challenges/swift

Getting Started

Open the file FindtheIndex.xcodeproj

Prerequisites

  • Xcode 12.4
  • Use iPhone 12 mini as simulator

Contact

Daniel Washington Ignacio - danielvertigo@hotmail.com

Click to access my LinkedIn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0