Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I found this application on the app store: iLuaBox
and I wondered if there was anything else like this for the iPhone without jailbreaking but instead for Python or Ruby?
Lua is probably similar for me to play around with the basic programming I do anyway but I thought I would just ask)
A python interpreter App called Python for iOS is available on the App store:
http://itunes.apple.com/us/app/python-for-ios/id485729872?mt=8&uo=4
Full disclosure: I am the sole creator/developer of the Python for iOS App.
The Agreement about Apple not accepting any coding language layer has been removed not too long ago.
I guess we will have to wait a little to see complex language like Python and Ruby interpreter.
Since Lua is a scripting language, it is easier to port it.
Pythonista by omz:software (I have no affiliation) just came out for the iPad and it looks pretty good. Has an extended keyboard, code completion and other nice things.
http://omz-software.com/pythonista/
App Store link: http://itunes.apple.com/app/id528579881
If you just want to be able to run ruby and python scripts, codetogo lets you do that.
http://itunes.apple.com/us/app/codetogo/id382677229?mt=8
It gets around it by sending your code to a server, running it and then sending back the result.
There is now a statically compiled Ruby variant for iOS:
http://www.rubymotion.com/
This has been built on top of the well established MacRuby framework.
There is a simple native Python interpreter for IOS available now. No jailbreak needed:
http://itunes.apple.com/us/app/pypad/id428928902?mt=8
there is also python math which is free but it has its modules restricted to the math stuff but it allows you to sync .py scripts from itunes so you could import any modules that you need
http://pythonforios.com/
Try the above mentioned app. Not for free, but I guess it will do the trick
A Python module that allows running Lua code from Python in a sandbox. Intended to execute arbitrary, possibly unsafe code submitted by users.
Source code
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've an open source project (gdal) that I want to compile and run as part of an iOS app. I had been expecting to use NSTask but I see now that it was removed in iOS 3.0. I've also seen elsewhere that running external applications, though this would be a resource in my app's bundle, is not allowed.
Has anyone else found a way to run commandline tools within their iOS applications?
It wasn't removed in 3.0, it was never there. There is no way to run separate processes on the iPhone. GDAL appears to be under an MIT style license and has a library interface, so directly linking it into an iPhone app shouldn't have any legal or technical issues.
NSTask is available in ios 4, ios 3 and possibly all of them. To use NStask I had to copy the NStask header file from my mac to my project folder. Also Apple will most likely not allow an app that uses NStask in the appstore. Cydia would probably be the best place to distribute your app
Just reminder:
NSTask will not work under sandbox environment (you will get "deny process-fork"). So put your application into /Applications
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
When developing web apps for the iphone on a mac you can test your app in either Iphoney or the apple supplied simulator; bot of them are excellent for the task but are only available for macs. So I have to ask, are windows alternative for these iphone simulators?
So far I could only find this one.
For a roundup of mobile sims see here. https://stackoverflow.com/questions/464089/simulators-emulators-for-mobile-browser-testing
Specifically http://www.testiphone.com/ (but I'm not sure of the quality of the results from this).
I've also got a Firefox plugin, but its only really good for size.
Your other option, all-be-it naughty and long winded is to run OSX - either on a hackintosh or there are blogs showing how to run it in VMWare player.
You can also try iBBDemo. I relatively new at it, but so far it's the robustest free windows iPhone emulator I had tried yet.
There is also MobiOne which looks like the most promising of all.This is a windows only emulator with lots of features (setup file is 130mb). However even if its not clear right now, I believe at some point you would require to buy a license for it (considering its made by the same company that makes myEclipse, but I might be wrong).Any way its worth the download time
Hope this helps
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
What free upnp library would you recommend for iPhone development? It has to support control point features and allow to serve files off from iPhone.
There is an open source project on Sourcefourge that will do this called CyberLink for C
It is written in C which integrates with Objective-C easily, but they provide Objective-C wrappers also. With it you can create UPnP applications easily with Objective-C on Mac OS X.
This is not to be confused with the Cyberlink DVD player software. They are two completely different things.
Consider this one: http://code.google.com/p/upnpx/
There is also MiniUPNP, http://miniupnp.free.fr/ which is open source. It is in C and written for POSIX, no idea if that works on the iphone.
This is another vote against CyberLink. Lots of bugs, basic functionality is missing, and way too slow on mobile devices (I think the main performance problem is that it is designed around DOM based XML parsing rather than SAX based).
I have heard a lot of people mention using the Platinum UPnP library, but so far I haven't found any Obj-C wrappers for it. I may just bite the bullet and do that soon.
Does anyone else know of a Platinum Objective-C wrapper?
I'm currently playing with the CyberLink, and it's loaded with bugs :(
I think that the Portable UPnP should be better, as it's actively maintained (although the last release was several years ago, the subversion repository is constantly updated).
As you asked this question almost year ago, I wonder how things turned out.
You can use ohNet. It contains both control point and device stacks, is available under a BSD license and has C++ and C APIs which are usable on iPhone.
(Disclaimer: I have contributed to this project)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm writing an iPhone app where I'd like to display some simple musical notation (just a chord or two).
This question is a call for suggestions on the quickest way to go about it. For instance:
Is there any iphone OR objective-C libraries for doing this that I'm missing?
Are there any examples of open-source objective-C software in the wild I could look at? It wouldn't have to be iPhone specific.
If there isn't any objective-C code to do this, anyone know of any musicial-notation rendering software in other languages?
Indeed, MusicKit is an audio tool, not a symbolic tool like you need.
I don't know of any open-source Objective-C music notation programs. However, the recently-released Zong! Viewer is an open-source (GPL) Java program. You can't run Java on the iPhone, of course, but it might give you some ideas for structuring your software. MuseScore is an open source music notation editor that might provide more ideas.
So far the only iPhone music notation application I know is pocketscore. It has the great idea of exporting MusicXML files via e-mail so you can work on your music later with a more full-featured program than you can write on an iPhone.
There might be other open source programs you can check out on the MusicXML software list. Good luck!
This is an objective-c music analysis framework which may have what you need:
musickit
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm confused about the regex libraries that are available in the iPhone SDK. For example RegexLite looks like it needs a dynamic link, and from what I understand, this is not possible for the SDK on the iPhone.
I want a RegEx library for data validation... which one is the best available?
Just want to add here that iOS 4 now has NSRegularExpression.
John Englehart (regexkitlite developer) has posted to cocoa-dev saying that apps are being rejected for using it. http://lists.apple.com/archives/Cocoa-dev/2010/Jun/msg00564.html
(Apologies for this purporting to be an "answer", it would be a reply to Kendall Helmstetter Gelner if only I had 49 more reputation points).
RegexKitLite is available and works properly on iPhone either included from source as part of your Xcode project or by linking in a static library (which the ToS of the SDK do permit).
Using RegexKitLite requires dragging only a source and header file into your project, and works really well - it offers most of the features you'd want from a regex library. It's basically just a very thin wrapper around an underlying framework that's already there.
Make sure the source type for header and .m file is "sourcecode.c.objc" after you add them to the project (Use "Get Info" on a given source file and look at the "General" tab).
RegexKitLite uses the regular expression engine provided by the libicucore.A.dylib library. However Apple does not officially support linking directly against this library. See this post to the Xcode-users mailing list for details. However despite this there are many iPhone applications available on the App Store than make use of RegexKitLite, so it's unlikely (but not impossible) that Apple will reject your application for making use of it.
This is a nice lightweight alternative to RegexKitLite: https://github.com/bendytree/Objective-C-RegEx-Categories