As mentioned in the rules, you can use third-party code and resources, but you must meet the following three requirements:
When submitting, you must declare where and why you used other people's code and resources.
You can't infringe. You must make sure that the code and resources you use are available to everyone. ( The two points you mentioned are likely not to infringe)
Most of your content and core content should be developed by yourself, and third-party code and resources can only be used as an auxiliary.
But I can't completely make sure that it's right, but it's probably right because I've summarized it based on complete terms and experience. I also decided to do so when I submitted it. I hope it can help you.
Topic:
Community
SubTopic:
Swift Student Challenge
Tags: