In our former article “Augmented reality with PhoneGap and Sencha Touch“, we posted some screenshots of our demo app built by PhoneGap plugin and Sencha Touch. Here is a video to show you how fast & smooth the Moodstocks on-device image recognition can be. With an animated web view overlay, it still scans like a [...]
It has been a while since last time we talked about PhoneGap. We’ve been working on various subjects related to PhoneGap. 1. We’ve developed the Moodstocks PhoneGap plugin for Android, 2. We’ve evolved our PhoneGap plugin (for iOS and Android) with a web overlay on top of the Moodstocks Scanner, 3. We’ve upgraded our demo [...]
RubyMotion is a commercial toolchain for iOS development using the Ruby programming language. It implements Ruby on top of the Objective-C runtime and iOS Foundation classes. Created by former MacRuby developers, it is THE tool that Ruby community has been waiting for to create fast and native iOS applications. On the other hand, it has also [...]
什么是Cocoapods? 作为有一定应用开发经验的程序员,大家一定或多或少地听说过类似RubyGem、Maven之类的依赖管理工具。Cocoapods 则是针对Objective-C项目的依赖管理工具,让你更为轻松地使用第三方库进行自己的项目开发。 为何使用Cocoapods? 开发者在进行应用开发的过程种,常常需要使用第三方的库来完成或者改善功能。很多时候我们使用的不仅仅是一个第三方库,当使用多个第三方库或者频繁进行类似的新项目开发时,手动管理第三方库则变成一件相当麻烦的事。Cocoapods则是一个大大减轻我们负担的利器。对于任何已经存在于Cocoapods索引中的第三方类库,你需要做的只是在你的Podfile中添加一行代码来表明你需要使用这个库。如果你对使用我们Moodstocks的实时图像识别SDK进行应用开发有兴趣,可以接着继续看下去。 如何使用Cocoapods及Moodstocks的SDK来构建移动应用? 首先,你需要安装Cocoapods,它本身是以Ruby gem的形式发布的,你只需要运行如下命令行即可。 $ [sudo] gem install cocoapods $ pod setup 如果你使用Xcode进行开发 - 打开你的Xcode项目或者从我们的开发者中心获取Moodstocks的demo应用 - 在你的项目文件夹里加入一个名为”Podfile”的文本文件 上面例子中的第二行代码可以从Cocoapods的官方网站获取,你需要做的只是打开网站并且搜索我们的pod,然后点击结果中的那个粘贴图标。 - 在你的项目文件夹内运行 $ pod install 来安装我们的软件开发包 - 接下来,你只需要运行 $ open yourproject.xcworkspace 就可以看到类似下图的工作空间。这一步骤非常重要:这条命令让Xcode同时加载了由pod install声称的第三方库文件夹以及你的项目,由此确保你可以对第三方库文件进行查看。 由于我们发布于Cocoapods上的SDK与我们官方网站上的SDK有些许的区别,所以在启动我们的Demo之前,你需要打开MsAppDelegate.m将位于61行的open方法修改为如下的样子: 如果你使用RubyMotion进行开发 - 安装Cocoapods的RubyMotion Wrapper,也就是motion-cocoapods,并把它include在你的项目内 – 将一下这段代码加入你的Rakefile 测试本地pod Cocoapods的wiki很好地解释了如何创建一个pod。我们希望分享一些如何在本地进行测试的方法. 当你完成了你的podspec,只需要在你的podfile里进行如下的声明,你就可以在本地测试pod了: 接下来… 不如自己试一试使用Cocoapods以及我们Moodstocks的实时图像识别SDK吧 ? Moodstocks的SDK能给你的应用安上一双眼睛,帮它和现实世界之间架起桥梁! 我们很快即将会发布使用RubyMotion开发的Sample App,请继续关注!
What is Cocoapods? You must have heard about RubyGems, Maven or other dependency management tools. Cocoapods is the best way to manage library dependencies in Objective-C projects. Why you should use Cocoapods? We know sometimes it can be annoying to manage different third party libraries in your project. With Cocoapods, you can use Moodstocks [...]
We have been working hard over the past few months to prepare the next release of our SDK. Today we’re very pleased to announce the immediate availability of the 3.5 version. It lets you store up to 1,500 images on the client cache! More compact image signatures This v3.5 release mainly features a brand new [...]
Did you know that there are more than 400 hundreds QR code readers in the App Store? Yet we couldn’t find one meeting our requirements. They all have the same name. Most of them look ugly. They’re not robust or fast enough. And they don’t let you know what’s inside the code when you don’t [...]
A few days ago Ikea launched their augmented reality catalog. Well, today it’s Kiabi’s turn! The french fashion retailer has decided to leverage scanning to promote its new collection: We love this integration as it lets end users order the products they love right here, right now. We hope you’ll enjoy it too, as it [...]
As you probably know the Moodstocks SDK core library is written in C and thus is cross-compiled for the target platforms – iOS and Android so far. Until the latest release (v3.4) we used the GCC 4.2 front-end compiler for the iOS build. We then decided to switch to Clang for several reasons and benefits [...]

Posted on 12, Apr






Recent Comments