The Omni Group Forums

The Omni Group Forums (
-   Omni Frameworks (
-   -   Not working after importing the framework in the project (

GustavPicora 2010-01-13 12:00 AM

Not working after importing the framework in the project
Hello, I have downloaded the framework, and I see it has pretty nice things, one of the things Im interested in is parse an NSAttributedString to an html-like string with the tags, the functionality that implements its the one I need.
BUT, I installed the frameworks, then I add them into my project, and in the target I add a new copy files build phase with resource Frameworks, then I drag and drop the framework (already add it into the project) to the copy link inside the target... so OK I compile.. all fine.. I do the following to make a test:.
NSMutableParagraphStyle * aMutableParagraphStyle = [[(NSTextView *)[self view] typingAttributes]

NSMutableAttributedString * a = [[NSMutableAttributedString alloc] initWithString:text];
[a addAttribute:NSParagraphStyleAttributeName

[aMutableParagraphStyle release];
[a autorelease];
NSString * a2 = [a htmlString];
but then I in console when running,
-[NSConcreteMutableAttributedString htmlString]: unrecognized selector sent to instance 0x26a8f0
Any ideas what I missed... ? Im new to this FW, and to using 3rd parties code in my projects, so please be kind with me.. Thanks

Best regards

All times are GMT -8. The time now is 11:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.