 |
 |
|
 |
02-08-2010, 09:08 PM
|
#1 (permalink)
|
|
Registered Member
Join Date: Sep 2009
Posts: 46
|
CorePlot CPLayerHostingView
In the CPTestApp, ive started coding it from scratch for my own use. All is fine, but it crashes saying Unknown Class CPLayerHostingView in IB, [UIView setHostedLayer:] unrecognized selector.
In IB, i can see that the MainWIndow.xib is fine, everything identical, set up properly. But in the individual xib files, for each individual UIView, the view outlet is connected to files owner but in yellow and the alert reads:
The view outlet of Files Owner is connected to Layer Hosting View but CPLayerHostingView is not a kind of UIView as specified by the outlet type...
any ideas? Ive tried starting the file from scratch again but i get the same error.
|
|
|
02-09-2010, 03:25 AM
|
#2 (permalink)
|
|
Registered Member
Join Date: Jan 2010
Posts: 2
|
Quote:
Originally Posted by marciokoko
In the CPTestApp, ive started coding it from scratch for my own use. All is fine, but it crashes saying Unknown Class CPLayerHostingView in IB, [UIView setHostedLayer:] unrecognized selector.
In IB, i can see that the MainWIndow.xib is fine, everything identical, set up properly. But in the individual xib files, for each individual UIView, the view outlet is connected to files owner but in yellow and the alert reads:
The view outlet of Files Owner is connected to Layer Hosting View but CPLayerHostingView is not a kind of UIView as specified by the outlet type...
any ideas? Ive tried starting the file from scratch again but i get the same error.
|
hi
I'm using CorePlot in my App and i'm having the same warning.. curious but my app doesn't crash.
Can anyone provide some light as to why this warming comes up?
|
|
|
02-09-2010, 08:33 AM
|
#3 (permalink)
|
|
Registered Member
Join Date: Sep 2009
Posts: 46
|
coreplot
send me your email, ill send you my app...or can i upload it here somehow?
i uploaded it to www.santiapps.com/betas/Dash.zip
Quote:
Originally Posted by jayLachman
hi
I'm using CorePlot in my App and i'm having the same warning.. curious but my app doesn't crash.
Can anyone provide some light as to why this warming comes up?
|
Last edited by marciokoko; 02-09-2010 at 08:41 AM.
|
|
|
02-09-2010, 09:02 AM
|
#4 (permalink)
|
|
Registered Member
Join Date: Sep 2009
Posts: 46
|
coreplot
I found this link:
Mela Archive Coreplot on iPhone
And saw that the following line made sense:
self.view = [[CPLayerHostingView alloc]initWithFrame:[UIScreen mainScreen].bounds];
so i added it, now i get this error:
[NSCFString sizeWithTextStyle:]
but i cant find where its being called from...
Quote:
Originally Posted by marciokoko
|
|
|
|
02-09-2010, 11:04 AM
|
#5 (permalink)
|
|
Registered Member
Join Date: Sep 2009
Posts: 46
|
Coreplot SOLVED!
i got it to work....ok, i added the -all_load -ObjC flag in the Target>Settings....I think this is where everyone gets confused...
There are 2 places where to put the other link and header search paths, in Project Settings and in Target Settings...I found these following things confusing:
1) where to add the Header Search Paths &IF Recursive or not &IF framework/ &OR framework/iPhoneonly &OR framework/Source &IF to check Always Search User Paths or not.
2) where to add the Other Links &IF to check Link with Std Libraries or Not
thx
mars
Santiapps Tailor Made Customizable Personalized iPhone apps New Latest Tech Gift Personal
Quote:
Originally Posted by marciokoko
I found this link:
Mela Archive Coreplot on iPhone
And saw that the following line made sense:
self.view = [[CPLayerHostingView alloc]initWithFrame:[UIScreen mainScreen].bounds];
so i added it, now i get this error:
[NSCFString sizeWithTextStyle:]
but i cant find where its being called from...
|
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» Advertisements |
» Online Users: 327 |
| 35 members and 292 guests |
| Archangelmorph, bensj, blyther, Coppes, dannymichael, dany88, dcinqc, DrTyrell, Eskema, FlukeDude, gbh, giampo, harrytheshark, headkaze, Hololon, iphonedave, iSdkDev, iWalter, jazzbearz, JoyiPhone, kalygraphix, Lukapple80, MartinIngvar, mcgrath3, melmoup, Mopedhead, norskben, orange gold, pereorra, Pilly170, rolypolyfishhead, shuz, skunkapemark, TheZimm, ToM |
| Most users ever online was 779, 05-11-2009 at 09:55 AM. |
» Stats |
Members: 24,243
Threads: 39,018
Posts: 171,143
Top Poster: smasher (2,570)
|
| Welcome to our newest member, iWalter |
|