Post

Replies

Boosts

Views

Activity

About Xcode and GitHub
So I started a project in Xcode but without GitHub. Now I have prepared Xcode for GitHub and kind of made it work. I have also made a folder where I have cloned my project from GitHub. So is there any way to connect Xcode and the new folder. If I save my project it doesn't know about my new folder I presume: I could continue to use GitHub via Xcode but I'm afraid I will forget about commands in Git if I only use Xcode. If I should work on another project without Git.
1
0
282
Feb ’25
Using Swift-Protobuf to extract data
Hi! So I am not really sure how all this works. I want to use realtime data from the trains and buses in Sweden. This is their page: https://www.trafiklab.se/api/ As I understand it I should use GTFS data which come in Protobuf format. I think I must convert the Protobuf-data to Swift code. Not sure if this involves json. One file I have has the extension .pb. I tried to use this page: https://medium.com/@andy.nguyen.1993/protobuf-in-swift-809658ecdb22 When I write this: $ git checkout tags/1.1.1 $ swift build -c release -Xswiftc -static-stdlib I get this error: "error: 'swift-protobuf': the Swift tools version specification is possibly missing a version specifier; consider using '// swift-tools-version: 6.0.3' to specify the current Swift toolchain version as the lowest Swift version supported by the project" As you understand I am really not sure what I'm doing. Maybe there is a better way? Any help would be highly appreciated.
1
0
612
Jan ’25
Questions playgrounds on iPad
So i have been looking at the playground on iPad. You can change functions and so on but not all is clear. In the Sensor Arcade project where do the mushrooms come from and how can I change the images of mushrooms and the player? Also I want to make the project my own so to speak so I can continue to work on it. How do I do that?
1
0
859
Apr ’23
Sending data to and from an iPhone app
I have an app that is using profobuf as a format. I'm going to get a server that will fetch data from an API and then I need to send that data to the iPhone. What is the best solution?
Replies
1
Boosts
0
Views
291
Activity
Jul ’25
About Xcode and GitHub
So I started a project in Xcode but without GitHub. Now I have prepared Xcode for GitHub and kind of made it work. I have also made a folder where I have cloned my project from GitHub. So is there any way to connect Xcode and the new folder. If I save my project it doesn't know about my new folder I presume: I could continue to use GitHub via Xcode but I'm afraid I will forget about commands in Git if I only use Xcode. If I should work on another project without Git.
Replies
1
Boosts
0
Views
282
Activity
Feb ’25
Using Swift-Protobuf to extract data
Hi! So I am not really sure how all this works. I want to use realtime data from the trains and buses in Sweden. This is their page: https://www.trafiklab.se/api/ As I understand it I should use GTFS data which come in Protobuf format. I think I must convert the Protobuf-data to Swift code. Not sure if this involves json. One file I have has the extension .pb. I tried to use this page: https://medium.com/@andy.nguyen.1993/protobuf-in-swift-809658ecdb22 When I write this: $ git checkout tags/1.1.1 $ swift build -c release -Xswiftc -static-stdlib I get this error: "error: 'swift-protobuf': the Swift tools version specification is possibly missing a version specifier; consider using '// swift-tools-version: 6.0.3' to specify the current Swift toolchain version as the lowest Swift version supported by the project" As you understand I am really not sure what I'm doing. Maybe there is a better way? Any help would be highly appreciated.
Replies
1
Boosts
0
Views
612
Activity
Jan ’25
Questions playgrounds on iPad
So i have been looking at the playground on iPad. You can change functions and so on but not all is clear. In the Sensor Arcade project where do the mushrooms come from and how can I change the images of mushrooms and the player? Also I want to make the project my own so to speak so I can continue to work on it. How do I do that?
Replies
1
Boosts
0
Views
859
Activity
Apr ’23
Own project from iPad Playgrounds example
You can play around with the examples like Sensor arcade. But where is the function for the mushrooms popup? How can I create my similar project?
Replies
0
Boosts
0
Views
738
Activity
May ’22