I'm an iOS developer and I want to make an MacOS / OSX application to save files onto the Macbook hard drive that are sent via the internet / wifi from my iPhone, but I haven't got the faintest idea what to research / google when it comes to this.
The three phases as I see them are
Create files on iPhone (Done)
Some transport / network / server layer on OSX app for iPhone to connect to
Storing of files by OSX app...
1 and 3 are pretty straightforward but 2 I don't have a clue... where do I start? socket / server / Apple api.. what should I be searching for?
Apologies in advance... I know the usual community rules about posting broad questions, but I'm completely stuck.
I'll delete the question if it's deemed unworthy, but I'd really love to know if I'm completely barking up the wrong tree / whether there's a really simple solution.
There are a few ways that I'd recommend to do this.
Amazon S3 to store the files and access them on each device.
Firebase Storage instead of S3.
CloudKit can also be used to store information like you can in CoreData.
You don't need any sort of API or backend experience to use any of these, so this may be the best bet for you.
Hope that helps.
Related
I want to create an iOS 10+ Swift app. Some of the features include persistent local data storage on the device, backup of user's data (text and images) as well as data sync between user's devices.
I'm currently thinking about CloudKit + Core Data combination, but I don't think it is the easiest option and I can't find any up-to-date tutorials on this techs working together. Can someone suggest better options?
Realm is a very good option I use it myself and its very easy and very quick! Also they update their code very offen and they have their own documentation.
It can also be used by other programming languages such android so if you will develop an android version of yours you will follow the same path.
Here is the documantation
You can install it manually or via pods
If you're going to do it manually follow the instructions on this video
And check the next ones for a quick start of how you use this.
Hope it helps.
Happy new year.
Don't forget to accept the answer if you been helped.
EDIT
Check here for icloud and whatever question you have you can ask here or open an issue on github so they can helped you.
I am a first time iOS developer trying to build an iOS app from the ground up. It is for a photo-sharing startup that will have similar functionality to Instagram.
I am not sure how to approach the sharing/viewing aspect. Would I use something like Parse or Google cloud storage? It is an iOS only app, if that helps. Given that we are just a startup, a long trial or a cost per GB is fine, but I don't want to be stuck with something expensive if we start getting a lot of photo uploads.
Given that I'm the only developer, I'm hoping for something that doesn't require me to learn too many new technologies. Any help would be greatly appreciated!
Parse.com, the API is fairly easy to use. The free plan has a lot of functionality and it scales up well.
That's really a tough question. You first want to research each company and weigh the pros and cons with selecting each service. The Google Cloud and Google App Engine (while they do work extremely well together) are going to be a little less "centralized" since they are essentially marketed as separate services. Parse does have that "centralized" feeling since all of their services are designed to work together.
Another nice thing about Parse is that it has build in support for iOS local datastore which means even if your users don't have an internet connection the request will be queued until a connection is made. If you go with a service like the Google Cloud then you would have to implement that on your own or just not have offline functionality.
While Parse looks like a good solution for you, it would be hard for someone to answer your question with a definitive solution as that is up to you exactly how you want your product to work. Just continue to research other solutions as there may be something better and more suited for your exact needs. You may want to build a small prototype on one platform before dedicating all of your development to that platform.
I am developing one mobile app, the requirement is as follows.
1.The app should work offline and online.
2.It should have database in both local device and in the server.
3.When internet is on data has to be synced between local and server.
4.At any point of time local data and server data should be the same.
I have done lot of research on this but not able to find whether hybrid app development supports or not. Some one says we can do but other link says it's difficult and might not be possible.
Please help to me sort out this issue.Thanks in advance
for sure it is possible to have those features in an hybrid app. All depend what you choose to use to deal with that or how you choose to program it.
Remember than an hybrid app have almost all features that a web application could have as it could use almost all technologies, tricks, frameworks and libraries out there.
I have already developed an hybrid mobile app using cordova, jquery and jquery mobile that meet points 1 to 3. Though I am not saying you need to use jquery, or any of the other tools. I described the solutions I use for that app, however they are maybe not the best but it was the most practical and easiest solutions given the time frame and budget.
Was achieved by mirroring the server "data base" the first time the app is installed with WiFi access. When no internet is available the the app use the local data, when it is available then it take the data from the server and update the local data.
The local database was not a formal one, just JSON data files, very similar to the ones provided by the web service.
You can be checking for an active internet connection with the cordova network functions, once detected try to reach the server to check if the actual connection is working, on success then proceed to request mirroring the data. Just be sure to check if the local data is newer to the server one and instead of overriding you should first update the changes in the server.
I think this point is a bit difficult given the fact that you want to work offline. When you are offline you couldnĀ“t do too much to reflect the server data into the app, as you are offline. Then having an exact mirror at any time is not feasible. However having a mirror when you have connection then that is another story.
Having a perfect data sync should be done carefully and instead of programming you own solution try to use a service or tools for that, like http://www.couchbase.com/mobile.
Hope it helps.
Hybrid applications are, at core, websites packaged into a native wrapper. They look and feel like a native app. Hybrid app have main features are portability (one code base, multiple platforms), Access to various hardware/software capabilties, cheaper orginigation costs, faster speed to market.
I have two iPad apps, one which downloads data from a server and stores it on the iPad and another one (the main app) which uses the data later.
(It would make sense to combine the two but it's a client requirement)
But I see no way to share the data between the two apps.
I have heard there are ways to do it using:
Custom URL Schemes
Document Support on iPad Devices
UIPasteboard
But I cannot find any thing explaining how to use any of these effectively.
Can anyone point me in the right direction.
Just to clarify:
It is an iPad only app
Both apps will not run at the same time
Basically I need to access the documents or caches folder of one app from another
Using iCloud or any other third part service is not possible
It would be great if I could make the downloader app into a sort of configuration page for the main app (if it is even possible)
So keeping these in mind which one would be the most suitable?
This link at github may be useful... Looks like someone has already made a file manager, using these elements you may be able to do what you are looking for. But as far as I know, your app is extremely sandboxed and does not really interact with other apps/the file system very much at all (Apple is very limiting that way)
EDIT
this post seems to have the explanations of local data sharing methods you were looking for. None of the methods in this post requires any connectivity, just a device and 2 apps :) Good luck!
I am total ios/ruby noob trying to build a custom mdm server for ipad devices and from what Ive seen on Stackoverflow here and here , there is a mdm server available with OSX lion server . But since I want to try to run it on a mac, I have bought the app from the app store from here and I am trying to understand how it has been built by looking at the ruby scripts. But I am having difficulty understanding the code and was wondering if there is a way to debug through it to understand what does what. Is there a way to do this ? I think the frontend is built using sproutcore and the backend is all built in Ruby. I am trying to understand it so I can build a custom server on my own.
Thanks
I believe in this case, your best bet is MDM documentation. It's much easier to read the documentation to understand whole protocol, instead of trying to figure out from the source why they are doing one thing or another.
Here is reverse engineered documentation:
http://media.blackhat.com/bh-us-11/Schuetz/BH_US_11_Schuetz_InsideAppleMDM_WP.pdf
And Apple has full documentation. It was accessible on Apple developer downloads. However, I can't find a link right now.