Comments (9)
Hello,
Thank you for writing. I personnaly don't use CocoaPods and don't know its inner working, so I don't feel comfortable in maintaining a 'podspec'.
However, I'll be happy if someone do, so feel free to submit it on CocoaPods.
STTwitter supports iOS 5+ and Mac OS X 10.7+. The contributors are nst (myself), Frank Dowsett and xnyhps.
STTwitter stays on top of STHTTPRequest https://github.com/nst/STHTTPRequest. Contributors: nst (myself), alistairg, sburlot and MSchmidt.
Nicolas Seriot
from sttwitter.
Nicolas,
Ok, I can submit it and also make a fork to update the STTwitter README with simple instructions on how to add STTwitter to a CocoaPods project. The only issue is that it will point to a specific commit (right now be05589). You could also use version numbers, but you're not currently using them. That would be easier because then you could just bump the version number in the podspec when you've made a release.
How are you incorporating the changes you make on STHTTPRequest to STTwiiter? I see you have a separate repo for STHTTPRequest, but you also have that same class in Vendor/STHTTPRequest in your STTwitter repo, and it looks like you've made manual changes to it directly in STTwitter.
Thanks,
Evan
from sttwitter.
I can tag version 'be05589' as version '0.0.1'.
You can fork STTwitter, add the relevant details in the README and make a pull request then.
And yes, until now I've been copying STHTTPRequest into STTwitter from time to time and only after testing that everything was working well. Should I adopt a more formal process to ease integration to CocoaPods?
from sttwitter.
Nicolas,
Ok, that sounds good—'beo5589' is what I was using to point to. Sure, I'll fork the repo and then make a pull request when I update the README.
As far as STHTTPRequest is concerned, it's really up to you. I could include it as a dependency of STTwitter for CocoaPods, and you could then remove it from this repo (and for Git you could also then make it a dependent Git submodule)? Then, in the future, all you'd have to do is change the version tag of STHTTPRequest on its podspec—you wouldn't have to manually make the changes in this repo you'd already made there. But if you're comfortable doing it this way, that works, too. Just let me know.
Evan
from sttwitter.
I think it's best that STTwitter does not require CocoaPods for the STHTTPRequest dependancy.
Maybe in the future I'll use a Git submodule, but for now I prefer being overly cautious to avoid accidentally breaking something and I'll keep on duplicating tested versions of STHTTPRequest into the STTwitter repository.
from sttwitter.
Ok, sure- I understand. It all boils down to what works best for you! Ok, I'll just wait for you to tag "beo5589' as release '0.0.1,' then make the change and submit it to the CocoaPods master repo. I'll start working on the README in the meantime.
Thanks,
Evan
from sttwitter.
Ok I merged your changes in the README and tagged the latest version afterwards.
https://github.com/nst/STTwitter/tags
from sttwitter.
Forked and pulled into the CocoaPods master repo, visible at https://github.com/CocoaPods/Specs. I tested it in my project and it's working. I can teach you how to edit the podspec to make future releases available, or you can let me know and I can do it.
Evan
from sttwitter.
Thank you!
from sttwitter.
Related Issues (20)
- _getUserStreamStallWarning:... cancelling on receiving friends list?
- Attachment_url HOT 2
- postTokenRequest never callsback success or failure HOT 1
- Use of API only available in iOS 8
- Support for new events APIs HOT 1
- Modify character counter to take into account usernames at beginning of tweets HOT 1
- Carthage Support HOT 1
- STTwitter and iOS 11 HOT 2
- Twitter API request with JSON body HOT 2
- STTwitter in macOS 10.13 HOT 3
- Saving account to device settings HOT 1
- Perform video uploads from local NSData
- SLServiceTypeTwitter is deprecated in ios11 objc "SLServiceTypeTwitter' is deprecated: first deprecated in iOS 11.0"
- media_ids parameter is invalid.
- newest XCode throws warnings: This block declaration is not a prototype
- ⚠️ Legacy APIs must be migrated to new ones within 5 months! HOT 2
- Supporting “full_text” of a tweet with “tweet_mode=extended” HOT 1
- Twitter API 2.0
- How do I set up to jump to the Twitter App to sign in?
- Thread 1: "-[STTwitterAppOnly postTokenRequest:authenticateInsteadOfAuthorize:forceLogin:screenName:oauthCallback:errorBlock:]: unrecognized selector sent to instance 0x280371140" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sttwitter.