OC的代码怎么调用lua的某一个函数?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- lua, objective-c
- Domain
- mobile-dev
Research direction
Start with the demo code and the reported missing methods: JHSLuaViewController.setLuaBox:, externalApiDemo:number:, and externalApiDemo. Trace the existing Lua-to-Objective-C examples to determine whether a reverse call entry point is exposed. Done means the supported behavior and the incomplete demo paths are clearly resolved or documented, with a reproducible demo result.
Written by the indexing model from the issue text.
Description
看到demo里面有lua脚本调用oc函数的案例,但是反过来可以在oc代码里面直接调用lua 执行其中某一个函数吗? 没看到相关的代码。
另外demo中代码不完整:
2016-06-26 14:34:54.856 Demo[23080:758361] [LuaView][error] Not found Method: JHSLuaViewController.setLuaBox:
2016-06-26 14:38:07.796 Demo[23080:758361] [LuaView][error] Not found Method: JHSLuaViewController.externalApiDemo:number:
2016-06-26 14:38:07.796 Demo[23080:758361] [LuaView][error] Not found Method: JHSLuaViewController.externalApiDemo
- Dominant language
- Objective-C
- Stars
- 3.7k
- Forks
- 760
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from alibaba/LuaViewSDK
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
alibaba/LuaViewSDK#86 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
alibaba/LuaViewSDK#97 · 1 comment ·
-
demo工程无法正常运行Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
alibaba/LuaViewSDK#94 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
alibaba/LuaViewSDK#92 ·
-
debugger的问题Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
alibaba/LuaViewSDK#91 · 2 comments ·
All issues in alibaba/LuaViewSDK
Similar issues
-
Fabric TextInput: prepareForRecycle leaves stale inputAccessoryViewButtonLabel (empty Done bar)OpenNeeds: Author Feedback Needs: Repro
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
react/react-native#58952 · 1 comment ·
Maintainers usually reply within 1 day
-
iOS: number-pad TextInput shows a toolbar with a "Default" buttonPossibly taken @Gauvino claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
SwiftOldDriver/iOS-Weekly#5454 ·
-
SwiftPM: GoogleAPIClientForRESTCore fails to link when GTMSessionFetcherCore is built as its own frameworkPossibly taken @ylorn claimed this 1 day ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
google/google-api-objectivec-client-for-rest#745 · 9 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
objective-see/LuLu#930 ·