Posts

Post not yet marked as solved
2 Replies
Replied In git untracked
@Paradigm777 Hi. I’ve checked everything and still get error. I’m starting to think the error resides in how I set up everything (I don’t know much about git but I’m currently learning about it) At first I didn’t set any repository or whatever. I added my account in Xcode settings (with a token). I clicked on  « add a git repository » which I searched in the help research bar. After that, in the source control panel, I went to remotes, and clicked « add a new remote« which made the repository appear on my GitHub. i still had the untracked message. Do you notice anything wrong ? Was I supposed to set a local repository too ? Should I have first created the repository on GitHub then push the changes from Xcode project to it ?
Post not yet marked as solved
4 Replies
Okay ! Thanks @Claude31.
Post marked as solved
2 Replies
Post marked as solved
3 Replies
Thanks for the answer @szymczyk. I still have the same problem, no luck for me...
Post marked as solved
3 Replies
Even if I haven't found a solution to the error, the code itself was wrong. Here's the solution. var question = "HELLO" let lowerQuestion = question.lowercased() func responseTo(question: String) -> String {     if lowerQuestion.hasPrefix("hello") {         return "Hello there"         } else {             return "That really depends"     } }
Post not yet marked as solved
2 Replies
Edit: I found the answer after thinking about it just a little bit..