Closed mattiaslevin closed 7 years ago
+1
Would really like to see this.
+1
that would be awesome!
Ok, I will start on a Swift implementation. If anyone care to help out please let me know.
If you need help with features or testing let me know! I'm migrating a lot of apps to Swift and it would be awesome if everything in my projects is written in Swift.
+10
ok ok, I have started and have something, lets see if I can get it to a shareable state.
What is the status here? How can I use Piwik in my Swift Project?
You can use this Objective-C project in a Swift project with a bridging header. More info;
I'd love to see this too. How far along are you? Need any help? I may be able to help with it, if needed.
Hi @perlguy99 @Erulezz @Urkman @funky-monkey - your help would be very welcome! @mattiaslevin is very busy at the moment and we would welcome new maintainers and help for the official Piwik iOS SDK :+1: if you are interested please consider opening pull requests. We could also give you commit access once you have contributed some things :-) Thank you for your consideration!
FYI: we the Piwik team are looking for a maintainer for the iOS SDK. if you can help please comment here #91 - we need you!
I'll need to refactor the SDK to Swift, as I don't want to use AFNetworking. Already using Alamofire. Will comment here after prototyping the approach.
Hi @mattab what's up about the Swift portage for piwik ?
@SteamGorilla we are still looking for a volunteer to step up and take over the Piwik iOS SDK project. Would anyone be interested?
It's a unique opportunity to help and participate in a successful open source project and make a difference. We posted on twitter recently asking for help:
@mattab Okay, thanks for your answer. I'm not already skilled enough to realize a portage by myself :/
Hi everyone, great news: @brototyp is working on a Swift 3 port of the iOS SDK. Please check it here: #96 and report your feedback to help him on his mission. The future of the Piwik iOS SDK is here!
After the first feedback by @mattiaslevin I realized that the pull request is by far to huge. So I will try to chunk if off into reviewable parts.
First will be a pull request with most objc files removed, new target setup and other project settings. Following pull requests will be separated parts. For example event queuing, dispatching, persisting settings and such.
I am looking forward to any feedback on my plan or, of cause, the pull requests.
I got the first pull request prepared with just project setup over here: #97
Since we now have a base branch for the swift3 rewrite I will start a list of all things to write in swift so single parts can be picked and implemented separately. One might be inspired by the ideas over in #96
I guess separate tickets for each of those is the best idea. What do you think? @thorstenstark is there any of those you want to tackle?
Yes, I would agree on this. Perhaps it would make sense to split the last two into seperate tickets. I haven't looked into the current implementation of them, but it sound like these two could be a bit more complex... I would start with some low hanging fruits like the extensions of Device and Application to become acquainted with this project.
The PiwikTrackedViewController is actually very short. It just tracks on viewDidAppear:
. For all those points I am very open to splitting them up into smaller chunks. That goes especially for the PiwikTracker but the Dispatcher and the EventQueue can get big.
Hi, thank you for your Pull Request. We dropped ongoing development for version 3 of this SDK. Please consider looking into version 4, which is completely rewritten in Swift.
Rewrite the SDK in Swift.