[Nfd-dev] [Ndn-lib] Preview of NFD-iOS and SwiftNDN library

Junxiao Shi shijunxiao at email.arizona.edu
Thu Mar 19 06:20:43 PDT 2015


Hi Wentao

I looked at the code, and liked the simplicity of TLV decoding procedures.
It appears to be much easier to add a new TLV type in SwiftNDN than in
ndn-cxx or NDN-JS.

I probably won't use this app because I don't have iOS devices.

Yours, Junxiao
On Mar 18, 2015 5:09 PM, "Wentao Shang" <wentaoshang at gmail.com> wrote:

> Hi team,
>
> I write this message to inform you that there has been major progress on
> porting NFD to iOS platform. As for now, I'm able to compile and run NFD as
> an iOS App on the iPhone simulator. I cannot test it on real device because
> it requires signing the package with Apple-certified developer's key which
> I don't have. So there might be unexpected bugs when the App runs on real
> iPhones :P Unfortunately the code is not available on Github yet because
> I'm still trying to reorganize the dependencies in order to simplify the
> build process. After that I'll publish the code.
>
> Before I started the porting work, I was already working on a new NDN
> client library written in (almost) pure Swift, which is designed for Apple
> platforms exclusively (Mac, iPhone, iPad, etc.) It is not polished right
> now but you can take a look at the code at
> https://github.com/wentaoshang/SwiftNDN
>
> The motivation of using Swift as a development language is because it is
> one of the best languages for building OSX and iOS apps, especially when
> you need a GUI interface using Cocoa or Cocoa Touch. (The other choice is
> Objective C but I don't quite like that language. Also, Apple is promoting
> the new language very hard to hopefully replace the old one.)
>
> Attached are some screenshots of the NFD app running on iPhone simulator.
> It is built with Cocoa Touch and SwiftNDN and has the basic functionality
> of reporting forwarder status such as faces, fib and rib information. All
> my testing are done primarily using this demo app and some basic
> consumer/producer apps built with the same libraries.
>
> Best,
> Wentao
>
>
> _______________________________________________
> Ndn-lib mailing list
> Ndn-lib at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150319/f2ae1bf7/attachment.html>


More information about the Nfd-dev mailing list