views:

339

answers:

2

Is it posssible to use the Publication Subscription (PubSub) Cocoa framework in iPhone apps? I understand that the subscription features would not be available, but is it possible to use the feed-parsing features? (These would be very handy, since they handle multiple versions of RSS and malformed feeds.)

A: 

It depends on whether or not the code uses API's that aren't available on the iPhone OS. For example, if the framework uses NSAttributedString (for arguments sake) then it wouldn't work without some rewriting of the code.

However, if it's written using the standard Foundation classes, then you shouldn't have a problem. You won't be able to use the Cocoa .framework bundle though, since that will have been compiled for PPC or x86 architectures.

You'd have to build the source into a static library for the iPhone or drop the source into your project before you can use it.

Jasarien
PubSub is not a framework he wants to build, it is a framework included with Leopard as part of the OS. It is not part of iPhone OS.
Louis Gerbarg
+1  A: 

No, PubSub is not currently available on iPhone.

Louis Gerbarg