I recently checked out the Swift Playgrounds App available inside the App Store where I stumbled across this interactive coordinate system view similar to the one that can be found inside of Xcode playgrounds on the Mac.
My question is if this framework is accessible for developers or if it's something Apple developed internally for the playground?
Thanks in advance.
It seems like apple is using it internally. But you can build it yourself see this blogpost for inspiration. However it's written in Swift 3 but it should be easily transferable to Swift 4.
I am not quite sure if this work - so that why I am asking this question:
I have a macOS app based on Swift that is used as a specialized CRM application.
My client wants to use the app on different machines but the data should be fetched from one Mac.
My consideration was to use one app as "server" and the other apps as clients connecting to this server.
Can I use vapor inside an app for macOS for such a scenario?
Can it be used as a library?
I have seen that vapor comes with its own stack of environment - is it compatible to be used inside a macOS app?
Cheers
Sas
Yes. Vapor runs correctly on macOS. There is nothing to stop you 'embedding' Vapor inside another Mac app.
Possible points of concern:
you will need to use the Swift package manager to install Vapor and its packages.
there are other, existing, light weight HTTP servers such as Swifter that may better fit your needs.
But yes, you can use Vapor if you want.
I'm using MobiOne to build an App (I don't have a Mac or know Obj-C), but I'm wondering how to compile the App into Obj-C. Has anyone tried this? I have my design done and tested in the emulator, but do not see how to build the code.
My understanding is that MobiOne is not designed to be uploaded to Apple's app store. You can use Phone Gap to help get your app into a native environment since MobiOne uses web technologies. Phone Gap should allow you to publish to the app store, but the app is still subject to Apple's quality control system.
EDIT: You will still need a mac to publish the app. Or you can just use the app as a website on your device(s).
You can build the app with the Mobione built-in compiler. Go to the "Project" menu and click "Build iOS app" and your app will be compiled. You cannot compile with Obj-C.
Compile it into an iOS native app using Mobione on Windows. Upload it to the App Store using Apple's Application Uploader on a Mac. Easy.
According to Apple, you are not supposed to make iPhone apps without a mac. Also learning objective c MIGHT just be a good first start before making an app.
The first comment in your question provides a link, and one of the first paragraphs in that link states this:
"The traditional approach to iOS application development requires developers to create their apps using Appleās Objective-C programming tools and Macintosh(tm) hardware. MobiOne runs on your Windows OS (Win7 to XP) hardware and offers developers an alternative cross-platform programming model based on HTML5 open web standards and virtual device services, e.g., contacts, camera, audio... "
Of course this allows you to do it, but that doesn't mean that the appstore will accept your app if you try and submit it through MobiOne. I'm not too sure on the subject, but I would do some research and figure out if apple allows you to do this.
How would one call a Lua script from a block of Objective-C in an iOS app? Also, would an app that calls Lua scripts be accepted by Apple's review process?
There's no problem with running Lua code on iOS. The only thing that is banned by Apple is executing scripts that were downloaded from the network. All your executable code should be either bundled along with your app or user-created. For example, there's a great Lua IDE for the iPad called Codea.
For the technical side of your question please see Lua on the iPhone?
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Starting iPhone app development in Linux?
Is there a way to use Ubuntu Linux for developing iPhone applications destined to be listed on Apples app store ?
Many of the other solutions will work, but they all make use of the open-toolchain for the iPhone SDK. So, yes, you can write software for the iPhone on other platforms... BUT...
Since you specify that you want your app to end up on the App Store, then, no, there's not really any way to do this. There's certainly no time effective way to do this. Even if you only value your own time at $20/hr, it will be far more efficient to buy a used intel Mac, and download the free SDK.
Not officially, no. It's just Objective-C though and the compiler's open source - you could probably get the headers and compile it and somehow get the binary on the device. Another option is compiling on the device. All these options will require jailbreaking though.
A Mac Mini is just $599...
There are two things I think you could try to develop iPhone applications.
You can try the Aptana mobile wep app plugin for eclipse which is nice, although still in early stage. It comes with a emulator for running the applications so this could be helpful
You can try cocoa
(Extra) Here is a nice guide I found of guy who managed to get the iPhone SDK running in ubuntu, hope this help -_-. iPhone on Ubuntu
I found one interesting site which seems pretty detailed on how you could setup a ubuntu for iPhone development. But it's a little old from November 2008 for the SDK 2.0.
Ubuntu 8.10 for iPhone open toolchain SDK2.0
The instructions also include something about the Android SDK/Emulator which you can leave out.
With some tweaking and lots of sweat, it's probably possible to get gcc to compile your Obj-C source on Ubuntu to a binary form that will be compatible with an iPhone ARM processor. But that can't really be considered "iPhone Application development" because you won't have access to all the proprietary APIs of the iPhone (all the Cocoa stuff).
Another real problem is you need to sign your apps so that they can be made available to the app store. I know of no other tool than XCode to achieve that.
Also, you won't be able to test your code, as they is no open source iPhone simulator... maybe you might pull something off with qemu, but again, lots of effort ahead for a small result.
So you might as well buy a used mac or a Mac mini as it has been mentioned previously, you'll save yourself a lot of effort.
Probably not. While I can't log into the Apple Development site, according to this post you need an intel mac platform.
http://tinleyharrier.blogspot.com/2008/03/iphone-sdk-requirements.html
It can be done!!!!!!
There is someone who did it.
Enjoy :)
There are several way to do it, may decide to go the native way by downloading a VM application for linux and the install Mac OS in your VM and then download the Xcode application for mac But the true is i tried this path but it was really long so i decide to get sencha touch and phonegap for mobile phone,here the sencha-touch is a javascript framework that will help you in developing the interfaces and the phonegap is also javascript library which will help to access the feature of your Iphone or any oher mobile platform
I'm using sencha-touch and phonegap ,its really work for me
Perhaps the best way would be to implement your app as a web app. I think you can also make web apps that run direct on the phone, without internet access or a remote server.
Web app, sounds lame? But a lot can be done with DHTML / HTML5 / JavaScript. It's a rare app that requires more power and couldn't be done as a web app. And you get pretty good cross platform with Web / JavaScript - the browsers vary a bit but a good web dev can write one web app that works pretty much everywhere.
Of course if you're writing a high-performance 3D game, the browser might not deliver what you need! maybe in a few years... Apparently some Google hackers ported Quake 2 to HTML5 already!
http://web.appstorm.net/roundups/browsers/10-html5-games-paving-the-way/