{"id":19482807,"url":"https://github.com/mouredev/weekly-challenge-2022-swift","last_synced_at":"2025-04-05T04:14:09.390Z","repository":{"id":37006675,"uuid":"440606316","full_name":"mouredev/Weekly-Challenge-2022-Swift","owner":"mouredev","description":"Retos semanales de la comunidad MoureDev para practicar Swift \u0026 iOS.","archived":false,"fork":false,"pushed_at":"2022-12-26T22:15:53.000Z","size":273,"stargazers_count":501,"open_issues_count":144,"forks_count":182,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-03-29T03:09:50.610Z","etag":null,"topics":["ios","swift","swiftui","tutorial","tutorial-code","tutorial-exercises","xcode"],"latest_commit_sha":null,"homepage":"https://retosdeprogramacion.com/semanales2022","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mouredev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-21T17:56:31.000Z","updated_at":"2025-03-26T12:33:50.000Z","dependencies_parsed_at":"2023-01-17T12:42:43.187Z","dependency_job_id":null,"html_url":"https://github.com/mouredev/Weekly-Challenge-2022-Swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mouredev%2FWeekly-Challenge-2022-Swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mouredev%2FWeekly-Challenge-2022-Swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mouredev%2FWeekly-Challenge-2022-Swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mouredev%2FWeekly-Challenge-2022-Swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mouredev","download_url":"https://codeload.github.com/mouredev/Weekly-Challenge-2022-Swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284952,"owners_count":20913704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","swift","swiftui","tutorial","tutorial-code","tutorial-exercises","xcode"],"created_at":"2024-11-10T20:12:17.499Z","updated_at":"2025-04-05T04:14:09.367Z","avatar_url":"https://github.com/mouredev.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retos de programación semanales en Swift 2022\n## Proyecto de retos semanales de la comunidad **[MoureDev](https://moure.dev)** para practicar [Swift](https://github.com/apple/swift).\n### Todos nuestros retos en **[retosdeprogramacion.com/semanales2022](https://retosdeprogramacion.com/semanales2022)**\n\n\u003ca href=\"https://youtu.be/8HuQXzJl_1I\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/8HuQXzJl_1I/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\nSi quieres realizar los retos de programación en otro lenguaje, utiliza el repositorio de retos semanales principal.\n\n[![GitHub Kotlin](https://img.shields.io/github/stars/mouredev/Weekly-Challenge-2022-Kotlin?label=Repositorio%20retos%20Semanales\u0026style=social)](https://github.com/mouredev/Weekly-Challenge-2022-Kotlin)\n\nTambién puedes unirte a nuestra actividad mensual de creación de aplicaciones.\n\n[![GitHub App](https://img.shields.io/github/stars/mouredev/Monthly-App-Challenge-2022?label=Repositorio%20retos%20Mensuales\u0026style=social)](https://github.com/mouredev/Monthly-App-Challenge-2022)\n\n## Información importante\n\nEl proyecto principal de retos de programación semanales en Swift se ha creado utilizando Xcode.\n\n[![Swift](https://img.shields.io/badge/Swift-5-orange.svg?longCache=true\u0026style=popout-square)](https://swift.org)\n[![Xcode](https://img.shields.io/badge/Xcode-13-blue.svg?longCache=true\u0026style=popout-square)](https://developer.apple.com/xcode)\n[![iOS](https://img.shields.io/badge/iOS-15-red.svg?longCache=true\u0026style=popout-square)](https://www.apple.com/es/ios)\n\nTienes las soluciones de la comunidad en **[Pull Requests](https://github.com/mouredev/Weekly-Challenge-2022-Swift/pulls)**.\n\nTienes toda la información extendida sobre los retos de programación semanales y mensuales en **[retosdeprogramacion.com](https://retosdeprogramacion.com/)**.\n\n## Vídeo explicación retos\n\n\u003ca href=\"https://youtu.be/14v4IINunvY\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/14v4IINunvY/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n## Listado de retos\n\n### [Aquí](https://github.com/mouredev/Weekly-Challenge-2022-Swift/tree/main/WeeklyChallenge2022.playground/Pages) tienes un fichero con el enunciado y el código para cada reto\n\n* **#0** - 27/12/21 - [`EL FAMOSO \"FIZZ BUZZ\"`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge0.xcplaygroundpage/Contents.swift)\n* **#1** - 03/01/22 - [`¿ES UN ANAGRAMA?`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge1.xcplaygroundpage/Contents.swift)\n* **#2** - 10/01/22 - [`LA SUCESIÓN DE FIBONACCI`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge2.xcplaygroundpage/Contents.swift)\n* **#3** - 17/01/22 - [`¿ES UN NÚMERO PRIMO?`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge3.xcplaygroundpage/Contents.swift)\n* **#4** - 24/01/22 - [`ÁREA DE UN POLÍGONO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge4.xcplaygroundpage/Contents.swift)\n* **#5** - 01/02/22 - [`ASPECT RATIO DE UNA IMAGEN`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge5.xcplaygroundpage/Contents.swift)\n* **#6** - 07/02/22 - [`INVIRTIENDO CADENAS`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge6.xcplaygroundpage/Contents.swift)\n* **#7** - 14/02/22 - [`CONTANDO PALABRAS`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge7.xcplaygroundpage/Contents.swift)\n* **#8** - 18/02/22 - [`DECIMAL A BINARIO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge8.xcplaygroundpage/Contents.swift)\n* **#9** - 02/03/22 - [`CÓDIGO MORSE`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge9.xcplaygroundpage/Contents.swift)\n* **#10** - 07/03/22 - [`EXPRESIONES EQUILIBRADAS`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge10.xcplaygroundpage/Contents.swift)\n* **#11** - 14/03/22 - [`ELIMINANDO CARACTERES`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge11.xcplaygroundpage/Contents.swift)\n* **#12** - 21/03/22 - [`¿ES UN PALÍNDROMO?`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge12.xcplaygroundpage/Contents.swift)\n* **#13** - 28/03/22 - [`FACTORIAL RECURSIVO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge13.xcplaygroundpage/Contents.swift)\n* **#14** - 04/04/22 - [`¿ES UN NÚMERO DE ARMSTRONG?`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge14.xcplaygroundpage/Contents.swift)\n* **#15** - 11/04/22 - [`¿CUÁNTOS DÍAS?`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge15.xcplaygroundpage/Contents.swift)\n* **#16** - 18/04/22 - [`EN MAYÚSCULA`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge16.xcplaygroundpage/Contents.swift)\n* **#17** - 25/04/22 - [`LA CARRERA DE OBSTÁCULOS`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge17.xcplaygroundpage/Contents.swift)\n* **#18** - 02/05/22 - [`TRES EN RAYA`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge18.xcplaygroundpage/Contents.swift)\n* **#19** - 09/05/22 - [`CONVERSOR TIEMPO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge19.xcplaygroundpage/Contents.swift)\n* **#20** - 16/05/22 - [`PARANDO EL TIEMPO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge20.xcplaygroundpage/Contents.swift)\n* **#21** - 23/05/22 - [`CALCULADORA .TXT` ](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge21.xcplaygroundpage/Contents.swift)\n* **#22** - 01/06/22 - [`CONJUNTOS` ](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge22.xcplaygroundpage/Contents.swift)\n* **#23** - 07/06/22 - [`MÁXIMO COMÚN DIVISOR Y MÍNIMO COMÚN MÚLTIPLO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge23.xcplaygroundpage/Contents.swift) \n* **#24** - 13/06/22 - [`ITERATION MASTER` ](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge24.xcplaygroundpage/Contents.swift)\n* **#25** - 20/06/22 - [`PIEDRA, PAPEL, TIJERA` ](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge25.xcplaygroundpage/Contents.swift)\n* **#26** - 27/06/22 - [`CUADRADO Y TRIÁNGULO 2D` ](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge26.xcplaygroundpage/Contents.swift)\n* **#27** - 07/07/22 - [`VECTORES ORTOGONALES`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge27.xcplaygroundpage/Contents.swift)\n* **#28** - 11/07/22 - [`MÁQUINA EXPENDEDORA`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge28.xcplaygroundpage/Contents.swift)\n* **#29** - 18/07/22 - [`ORDENA LA LISTA`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge29.xcplaygroundpage/Contents.swift)\n* **#30** - 26/07/22 - [`MARCO DE PALABRAS`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge30.xcplaygroundpage/Contents.swift)\n* **#31** - 01/08/22 - [`AÑOS BISIESTOS`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge31.xcplaygroundpage/Contents.swift)\n* **#32** - 08/08/22 - [`EL SEGUNDO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge32.xcplaygroundpage/Contents.swift)\n* **#33** - 15/08/22 - [`CICLO SEXAGENARIO CHINO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge33.xcplaygroundpage/Contents.swift)\n* **#34** - 22/08/22 - [`LOS NÚMEROS PERDIDOS`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge34.xcplaygroundpage/Contents.swift)\n* **#35** - 29/08/22 - [`BATALLA POKÉMON`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge35.xcplaygroundpage/Contents.swift)\n* **#36** - 06/09/22 - [`LOS ANILLOS DE PODER`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge36.xcplaygroundpage/Contents.swift)\n* **#36** - 14/09/22 - [`LOS LANZAMIENTOS DE \"THE LEGEND OF ZELDA\"`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge37.xcplaygroundpage/Contents.swift)\n* **#38** - 19/09/22 - [`BINARIO A DECIMAL`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge38.xcplaygroundpage/Contents.swift)\n* **#39** - 27/09/22 - [`TOP ALGORITMOS: QUICK SORT`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge39.xcplaygroundpage/Contents.swift)\n* **#40** - 03/10/22 - [`TRIÁNGULO DE PASCAL`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge40.xcplaygroundpage/Contents.swift)\n* **#41** - 10/10/22 - [`LA LEY DE OHM`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge41.xcplaygroundpage/Contents.swift)\n* **#42** - 17/10/22 - [`CONVERSOR DE TEMPERATURA`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge42.xcplaygroundpage/Contents.swift)\n* **#43** - 24/10/22 - [`TRUCO O TRATO`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge43.xcplaygroundpage/Contents.swift)\n* **#44** - 02/11/22 - [`BUMERANES`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge44.xcplaygroundpage/Contents.swift)\n* **#45** - 07/11/22 - [`CONTENEDOR DE AGUA`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge45.xcplaygroundpage/Contents.swift)\n* **#46** - 14/11/22 - [`¿DÓNDE ESTÁ EL ROBOT?`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge46.xcplaygroundpage/Contents.swift)\n* **#47** - 21/11/22 - [`VOCAL MÁS COMÚN`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge47.xcplaygroundpage/Contents.swift)\n* **#48** - 28/11/22 - [`EL CALENDARIO DE ADEVIENTO 2022`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge48.xcplaygroundpage/Contents.swift)\n* **#49** - 05/12/22 - [`EL DETECTOR DE HANDLES`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge49.xcplaygroundpage/Contents.swift)\n* **#50** - 12/12/22 - [`LA ENCRIPTACIÓN DE KARACA`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge50.xcplaygroundpage/Contents.swift)\n* **#51** - 19/12/22 - [`EL RETO RANDOM`](https://github.com/mouredev/Weekly-Challenge-2022-Swift/blob/main/WeeklyChallenge2022.playground/Pages/Challenge51.xcplaygroundpage/Contents.swift)\n\n\u003e **[🆕ACCEDE A LOS NUEVOS RETOS SEMANALES PARA 2023](https://github.com/mouredev/retos-programacion-2023)**\n\n\u003ca href=\"https://youtu.be/ydH_B5KuqGs\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/ydH_B5KuqGs/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n*Corrección retos del 0 al 4 en vídeo*\n\n\u003ca href=\"https://youtu.be/Y_Gej0lbfD0\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/Y_Gej0lbfD0/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n*Corrección retos del 5 al 10 en vídeo*\n\n\u003ca href=\"https://youtu.be/YPdhP60Tt08\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/YPdhP60Tt08/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n*Corección retos del 11 al 20 en vídeo*\n\n\u003ca href=\"https://youtu.be/nOB_4le7718\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/nOB_4le7718/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n*Corección retos del 21 al 30 en vídeo*\n\n\u003ca href=\"https://youtu.be/8-IOU3Qlgws\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/8-IOU3Qlgws/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n*Corección retos del 31 al 40 en vídeo*\n\n\u003ca href=\"https://youtu.be/LpnVqgonptI\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/LpnVqgonptI/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n*Corección retos del 41 al 46 en vídeo*\n\n\u003ca href=\"https://youtu.be/nOrqQcHUhxc\"\u003e\u003cimg src=\"http://i3.ytimg.com/vi/nOrqQcHUhxc/maxresdefault.jpg\" style=\"height: 50%; width:50%;\"/\u003e\u003c/a\u003e\n\n*Corección retos del 47 al 51 en vídeo*\n\n### ¿Cómo puedo participar?\n\n**Puedes hacer libremente un fork del proyecto y trabajar con Git para ir sincronizando las actualizaciones del proyecto.**\n\n* Cada lunes se publicará un nuevo reto de código.\n* Cada reto será un nuevo fichero dentro de `WeeklyChallenge2022.playground` donde se indicará la fecha, el enunciado y la información necesaria para llevarlo a cabo.\n* Se comunicará en el canal `#🔁reto-semanal` de [Discord](https://mouredev.com/discord), en directo desde [Twitch](https://twitch.tv/mouredev) y se subirá el enunciado al [repositorio](https://github.com/mouredev/Weekly-Challenge-2022-Swift).\n* Dispondrás de una semana para resolverlo, preguntar tus dudas, debatir y aportar ayuda en el canal de Discord.\n* El lunes siguiente se subirá la resolución al repositorio, se comentará en directo desde Twitch (utilizando alguna solución de entre los asistentes o que se haya realizado una pull request al proyecto) y se añadirá el nuevo reto semanal.\n* Comenzará de nuevo el proceso.\n\n\t*Si no dispones de un editor de código como Xcode, puedes usar un playground online ([http://online.swiftplayground.run/](http://online.swiftplayground.run/)) para probar tu código.*\n\t\n\t*Si utilizas un editor como Xcode, puedes ejecutar el código pulsando el símbolo \"play ►\" en el lateral.*\n\n#### Puedes apoyar mi trabajo haciendo \"☆ Star\" en el repo o nominarme a \"GitHub Star\". ¡Gracias!\n\n[![GitHub Star](https://img.shields.io/badge/GitHub-Nominar_a_star-yellow?style=for-the-badge\u0026logo=github\u0026logoColor=white\u0026labelColor=101010)](https://stars.github.com/nominate/)\n\nSi quieres unirte a nuestra comunidad de desarrollo, aprender programación de Apps, mejorar tus habilidades y ayudar a la continuidad del proyecto, puedes encontrarnos en:\n\n[![Twitch](https://img.shields.io/badge/Twitch-Retos_en_directo-9146FF?style=for-the-badge\u0026logo=twitch\u0026logoColor=white\u0026labelColor=101010)](https://twitch.tv/mouredev)\n[![Discord](https://img.shields.io/badge/Discord-Canal_de_chat_para_retos-5865F2?style=for-the-badge\u0026logo=discord\u0026logoColor=white\u0026labelColor=101010)](https://mouredev.com/discord)\n[![Link](https://img.shields.io/badge/Links_de_interés-moure.dev-39E09B?style=for-the-badge\u0026logo=Linktree\u0026logoColor=white\u0026labelColor=101010)](https://mouredev.com)\n\n### Cómo trabajar con Git y GitHub de forma colaborativa\n\nDeberás realizar flujos de actualización, sincronización y `pull request` desde tu `fork` del proyecto hacia el principal (habitualmente nombrado como `upstream/main`).\nTodo esto se puede hacer desde línea de comandos, pero si prefieres puedes usar clientes gráficos como [GitHub Desktop](https://desktop.github.com/) (muy simple) o [GitKraken](https://www.gitkraken.com/invite/cZWhJq1v) (más avanzado y potente).\n\n* Desde tu repo en la propia web de GitHub podrás realizar muchas acciones.\n* Si te resulta más fácil, puedes crear una `branch`(rama) para resolver cada reto y así simplificar la `pull request`. También puedes ignorar ciertos ficheros.\n* Resuelve el ejercicio y realiza `commit` y `push` del mismo a tu proyecto.\n* Desde GitHub, una vez hecho el `fork` verás opciones como \"Contribute\" o \"Fetch upstream\":\n\t* `Contribute` permite abrir una `pull request`(deberás seleccionar el mío como repositorio base contra el que comparar tu proyecto). Así yo podré ver los ficheros modificados de tu proyecto con la solución a los retos. Intenta que el título de la `pull request` siga esta convención: **\"Solución Reto #[número del reto]\" (Solución Reto #0)**. \n\t* `Fetch upstream` permite sincronizar tu proyecto con el original en caso de que se haya actualizado.\n* Para sincronizar tu proyecto con el original y mantenerlo actualizado también puedes hacer un `merge commit`, `squash merge` o `rebase`(ten en cuenta que cada uno se comporta de una manera, conservando o no tus propios cambios).\n* Una vez se publique el nuevo reto, la solución del anterior, y comente las soluciones, cerraré las pasadas `pull request` para dejar paso a las que se hagan para el nuevo reto.\n\n## ![https://mouredev.com](https://raw.githubusercontent.com/mouredev/mouredev/master/mouredev_emote.png) Hola, mi nombre es Brais Moure.\n### Freelance full-stack iOS \u0026 Android engineer\n\n[![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UCxPD7bsocoAMq8Dj18kmGyQ?style=social)](https://youtube.com/mouredevapps?sub_confirmation=1)\n[![Twitch Status](https://img.shields.io/twitch/status/mouredev?style=social)](https://twitch.com/mouredev)\n[![Discord](https://img.shields.io/discord/729672926432985098?style=social\u0026label=Discord\u0026logo=discord)](https://mouredev.com/discord)\n[![Twitter Follow](https://img.shields.io/twitter/follow/mouredev?style=social)](https://twitter.com/mouredev)\n![GitHub Followers](https://img.shields.io/github/followers/mouredev?style=social)\n\nSoy ingeniero de software desde hace más de 12 años. Desde hace 4 años combino mi trabajo desarrollando Apps con creación de contenido formativo sobre programación y tecnología en diferentes redes sociales como **[@mouredev](https://moure.dev)**.\n\n### En mi perfil de GitHub tienes más información\n\n[![Web](https://img.shields.io/badge/GitHub-MoureDev-14a1f0?style=for-the-badge\u0026logo=github\u0026logoColor=white\u0026labelColor=101010)](https://github.com/mouredev)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmouredev%2Fweekly-challenge-2022-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmouredev%2Fweekly-challenge-2022-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmouredev%2Fweekly-challenge-2022-swift/lists"}