Using ShareKit with Xcode 5 - ios

My iPhone application is developed using Xcode 5. I want to use ShareKit library in order to share images and urls from my application. The problem is, that ShareKit seems to be incompatible with Xcode 5 (thought is says it is).
Attached screenshot to illustrate my problem:
Any help (or alternative solution for sharing images and URLs) will be greatly welcome.

It seems you both are referring to an obsolete, long time abandoned version of ShareKit. Check ShareKit 2. For easiest installation I recommend Cocoapods.

Have you followed the instructions here?
(It seems like you've added objc-class.h that has no use)
Also, consider using the native sharing class UIActivityViewController for sharing purposes.

Related

How to check if library is used or not in an iOS app

I have an old iOS project that evolved over time in which were added many librairies.
Some of them are not longer used today.
My question is, how can I check in the iOS project which library is used or not ?
I don't think there is a way to do that. But what you can do is try removing the path of the suspected frameworks(If they all are at same path, I'd suggest you to place them separately)from the Library Search Pathsand look for errors(if any).
Hope this helps.

How to set URLSchemes for facebook ios sdk

I've spent a whole day on this issue and didn't find any good answer after hours of googling and debugging. I've finally solved the problem and I will share it here.
The documentation for setting up facebook-ios-sdk shows how to set up a url scheme that is used to return the user to your app after authorization. Something like fb12087732691...
Unfortunately, they are using an older version of Xcode and the graphic looks like this:
What it really should be, using Xcode 4+, is this:
Hope this saves someone a few hours of their life!!!
There's a AppName-Info.plist file in your project. Open it and you will find the similar stuff. It's universal for Xcode4+ (as far as I know).

NSCollectionView on iOS

I'm developing an iPad app and I'd like to use something like the NSCollectionView on it. There are SEVERAL 3rd party libs that do that. The problem is that none of them seem to support iOS 4.x. I really need to support this version of iOS. Does anyone knows a NSCollectionView-ish control for iOS that supports iOS 4.0?
Thanks!
I used AQGridView (https://github.com/AlanQuatermain/AQGridView) last year in an app whose deployment target was 3.1.3 (not 3.2 as mentioned by Scott in another answer -- that's the SDK version it requires, not the deployment target) so you should be able to use it for your project.
Here's a couple of other options I am evaluating for upcoming projects:
https://github.com/gmoledina/GMGridView
https://github.com/zorn/BCCollectionView
I'm not sure what their requirements are, I've just bookmarked them for checking out. GMGridView looks nice, I like its support for full-screen paging.
This one requires ARC and so you can't use it in 4.0:
https://github.com/kolinkrewinkel/KKGridView
But it does look nice. Overall, right now, I think AQGridView is the best fit for you.
AQGridView Supports 3.2 or greater.

Short Link SDK iOs

I'm looking for an sdk/easy way to create a short link programmatically, preferably via a known service such as bitly.com / tinurl.com
The only way I've found doing this is with McAfee's beta short-link service, but it is unknown, and I want the link to be from a known service.
Does anybody know such way?
Tnx in advance!
It may be overkill for your project, but do take a look at ShareKit. The main download page is at http://getsharekit.com/install/#download .
If you do end up using ShareKit then I suggest you use forked version below since it has quite a few bug fixes.
https://github.com/polydice/ShareKit

Stable ShareKit fork recommendation?

ShareKit looks abandoned. And there are so many forks. But major maintainer is undeterminable. Now I'm just going to pick one to use. What fork do you recommend? Or replacement?
try ShareKit, they are trying to make the ultimate "best of" fork. ShareKit release 2.0 is in final testing.
Socialize is a new social sharing sdk by the folks behind AppMakr. It's open source and appears to be free. I haven't tried it yet - so I can't vouch for it - but maybe it's worth a look?
As of lately, ShareKit hasn't been working on iOS5 so I had to remove it from my app. Facebook has actually released their own class and it's looking pretty sharp so far. Check it out:
https://github.com/facebook/facebook-ios-sdk
I'm using the last official release in my application. Works fine though. You can just add new social networks to the kit yourself if needed.

Resources