commit 45281ab5a1ed0601cc2eeff94921ec8c3685f545 Author: Adam BONAFOS Date: Tue Jan 21 08:53:36 2025 +0100 Ajouter 'TP1' diff --git a/TP1.md b/TP1.md new file mode 100644 index 0000000..088870c --- /dev/null +++ b/TP1.md @@ -0,0 +1,51 @@ +Legend + +| symbol | meaning | +| - | - | +| ☢️ | if not respected => 0/20 | +| 🏅 | bring a significant number of points | + +| | criterium | | +| - | - | - | +| ☢️ | the repository must be accessible by your teacher | | +| ☢️ | a .gitignore should be provided at least at the first push | ✅ | +| ☢️ | *Packages* and *Project* should build | | +| ☢️ | *Unit tests* should pass | | +| ☢️ | *Project* should run | | +| ☢️ | my documentation (ReadMe, wiki, other) is provided and useful | | +| 🏅 | use a **workspace** | ✅ | +| 🏅 | use a **Package** | ✅ | +| 🏅 | reference a **Package** into another | ✅ | +| 🏅 | use a **Command Line Tool Project** | | +| 🏅 | reference a **Package** into a **Command Line Tool Project** | | +| 🏅 | create an enum | ✅ | +| 🏅 | create an enum with associated values | | +| 🏅 | create a structure | ✅ | +| 🏅 | create a stored property | | +| 🏅 | create a computed property | | +| 🏅 | use optionals | | +| 🏅 | change the accessibility of a property (read-only, constant, ...) | | +| 🏅 | create an initializer | ✅ | +| 🏅 | create a failable initializer | | +| | return a ```String``` from a type through the recommanded method | | +| 🏅 | create an array and a multi-dimensional array | ✅ | +| | create a subscript | ✅ | +| 🏅 | understand the differences between value types and reference types, immutability, *etc.* | ✅ | +| 🏅 | create an extension to a type | | +| 🏅 | create a method | ✅ | +| 🏅 | create a method with parameters | ✅ | +| 🏅 | use argument labels | ✅ | +| 🏅 | create a method with return type | ✅ | +| 🏅 | create a method with multiple return types | ✅ | +| 🏅 | use tuples and named-tuples | ✅ | +| 🏅 | use control-flow operators (switch, if-else, for-in, while...) | | +| 🏅 | use guard | | +| 🏅 | use closures | | +| 🏅 | test types, properties and methods in a CLI project | | +| 🏅 | write unit tests | | +| 🏅 | write parameterized unit tests | | +| | write performance unit tests | | +| | check my code coverage with XCode | | +| 🏅 | write clean and optimized code | | +| | comment my code | | +| | generate documentation | |