The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
OUIEditableFrame dependencies Thread Tools Search this Thread Display Modes
i apologize in advance- i'm certain i'm missing something critical on my end, but i'm trying to resolve a crash:

*** -[UIDeviceRGBColor isNull]: unrecognized selector sent to instance ...
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIDeviceRGBColor isNull]: unrecognized selector sent to instance ...

i've included (what i believe are) the necessary frameworks (omnifoundation, base, appkit, quartz, and ui) plus the relevant system framework deps. i'm at a bit of a loss- this happens in OUIEditableFrame.m:678:

"if (OFISEQUAL(_insertionPointSelectionColor, color))"

the stack is as follows:

-[OUIEditableFrame setSelectionColor:]
-[OUIEditableFrame didMoveToWindow]
-[UIView(Internal) _didMoveFromWindow...
(etc.)

what i've attempted is to simply add the editor frame to an existing application- added in InterfaceBuilder, plumbed through to a controller... the normal drill.

i know i've missed something, but naivete bites again... anyone mind lending a helping hand? any thoughts?

thanks,
tom
 
You'll need to mirror or use directly the build settings in OmniGroup/Configurations/Touch-Application-*.xcconfig. We put our common configuration settings in these files and then reference them from our application build styles (for an example, see the build settings for the TextEditor project and target in OmniGroup/Frameworks/OmniUI/iPad/Examples.

For this particular issue, the build settings you need specifically are from here:

Code:
./Touch-Application-Common.xcconfig:OTHER_LDFLAGS = $(value) -all_load -ObjC
This tells the linker to bring in the Objective-C category symbols from the static libraries you've included already. By default, these aren't included since they aren't referenced directly. The -isNull method is a category method on NSObject, defined in OmniFoundation's OFNull.[hm].
__________________
CTO, The Omni Group
 
got it- many thanks!
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link Detection on OUIEditableFrame Creegan Omni Frameworks 6 2013-02-01 06:33 PM
OUIEditableFrame performance issues jgarnham Omni Frameworks 7 2011-05-28 03:36 AM
Using OUIEditableFrame in Project. jgarnham Omni Frameworks 5 2011-02-11 10:57 PM
OUIEditableFrame truncating? tommetge Omni Frameworks 1 2010-12-26 06:41 AM
Scrolling an OUIEditableFrame tommetge Omni Frameworks 1 2010-08-07 11:01 AM


All times are GMT -8. The time now is 09:28 AM.


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