I have a problem, if i do this:
This error occurs:
if i try to set the textengine from my main form, this error occurs:
What i'm doing wrong?
B4X:
Dim bbl_text As BBLabel = xpnl_item_6.GetView(1).GetView(0).Tag
bbl_text.TextEngine.Initialize(xpnl_item_6)
B4X:
Application_Active
Error occurred on line: 243 (c_configurator)
-[__NSCFConstantString _gettextengine:]: unrecognized selector sent to instance 0x10fbdf028
Stack Trace: (
CoreFoundation __exceptionPreprocess + 242
libobjc.A.dylib objc_exception_throw + 48
CoreFoundation +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
CoreFoundation ___forwarding___ + 1455
CoreFoundation _CF_forwarding_prep_0 + 120
MyAppName -[b4i_c_configurator _additem6:::] + 1680
MyAppName -[b4i_cm_bottomcard_running_time_overview _xlbl_choose_duration_click] + 854
CoreFoundation __invoking___ + 140
CoreFoundation -[NSInvocation invoke] + 305
MyAppName +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1650
MyAppName -[B4IShell runMethod:] + 401
MyAppName -[B4IShell raiseEventImpl:method:args::] + 2361
MyAppName -[B4IShellBI raiseEvent:event:params:] + 1357
MyAppName __33-[B4I raiseUIEvent:event:params:]_block_invoke + 51
libdispatch.dylib _dispatch_call_block_and_release + 12
libdispatch.dylib _dispatch_client_callout + 8
libdispatch.dylib _dispatch_main_queue_callback_4CF + 1045
CoreFoundation __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
CoreFoundation __CFRunLoopRun + 2781
CoreFoundation CFRunLoopRunSpecific + 567
GraphicsServices GSEventRunModal + 139
UIKitCore -[UIApplication _run] + 912
UIKitCore UIApplicationMain + 101
MyAppName main + 112
libdyld.dylib start + 1
??? 0x0 + 1
)
B4X:
Dim bbl_text As BBLabel = xpnl_item_6.GetView(1).GetView(0).Tag
bbl_text.TextEngine = g_te
B4X:
Application_Active
Error occurred on line: 244 (c_configurator)
-[__NSCFConstantString _settextengine::]: unrecognized selector sent to instance 0x10b2b3028
Stack Trace: (
CoreFoundation __exceptionPreprocess + 242
libobjc.A.dylib objc_exception_throw + 48
CoreFoundation +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
CoreFoundation ___forwarding___ + 1455
CoreFoundation _CF_forwarding_prep_0 + 120
MyAppName -[b4i_c_configurator _additem6:::] + 1695
MyAppName -[b4i_cm_bottomcard_running_time_overview _xlbl_choose_duration_click] + 854
CoreFoundation __invoking___ + 140
CoreFoundation -[NSInvocation invoke] + 305
MyAppName +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1650
MyAppName -[B4IShell runMethod:] + 401
MyAppName -[B4IShell raiseEventImpl:method:args::] + 2361
MyAppName -[B4IShellBI raiseEvent:event:params:] + 1357
MyAppName __33-[B4I raiseUIEvent:event:params:]_block_invoke + 51
libdispatch.dylib _dispatch_call_block_and_release + 12
libdispatch.dylib _dispatch_client_callout + 8
libdispatch.dylib _dispatch_main_queue_callback_4CF + 1045
CoreFoundation __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
CoreFoundation __CFRunLoopRun + 2781
CoreFoundation CFRunLoopRunSpecific + 567
GraphicsServices GSEventRunModal + 139
UIKitCore -[UIApplication _run] + 912
UIKitCore UIApplicationMain + 101
MyAppName main + 112
libdyld.dylib start + 1
??? 0x0 + 1
)
What i'm doing wrong?