ZXing iphone integration

来源:互联网 发布:ubuntu ie浏览器 编辑:程序博客网 时间:2024/05/21 00:45

working on an On-Demand mobile solution, try to integrate scanning function into it.

steps of integration:

1, all framework import into main project

2, main.mm

3, indicate header files in build settings

 

prb of the current stupid On Demand mobile solution I am working on

1, too many layers of UI components

2, callback schema flaw, cycling import, non-sense complexity.

3, non-independent libraries call

......

 

Why? money oriented! (The same phenon as it was in 2007 when I was working with SE)

 

funny

 

Finally, made it.

1, flaten the structure

2, use delegate for model call, not directly use class object

3, make sure there is a consistent message schema.

4, UIView removeFromParentView will call will disappear and did disappear

5, guess it will be better to have a navigation controller as main controller, so you can always put new controllers in it.