Windows version of Mac App [closed] - objective-c

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 9 years ago.
Improve this question
I have a Mac App that uses the NSKeyedArchiver to save persistent data and it all works fine, but thinking ahead ideally I would like to be able to create a windows version. The current App is all in objective-c using cocoa as I did not think of portability when I first started writing it. I would be happy to make a windows version from scratch but obviously the two need to share data. I am a complete beginner when it come to cross-platform apps. What should I do?
Thanks in advance.

You either need to find (or write) code/a library to read NSKeyedArchiver plists on Windows, or you need to release an update to your Mac app that converts the keyed archives to something more generic, like a JSON- or XML-based format.

Related

Communicate between 2 applications [closed]

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 5 years ago.
Improve this question
I have written a basic VB winform application (in visual studio) that control the lights. I published and create an install package so I can install this on other PCs.
My questions is how to sync these applications to communicate with one another so if I turn a light on, on one PC, other PC will sense that and display it on thier application.
I can use timer to see if there are any action every 15 second, but I don’t think this is efficient way.
Take a look at this question that involves sending information between computers over a network. You could have the program send what it did to the lights so that the other programs can update themselves.
I'd suggest you look at writing the status to a file accessible to all on the network, use the filewatcher class to detect changes to the file, and when the file changes read it from all PCs to see the current status of everything.
ref: https://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher(v=vs.110).aspx
another option would be to use UDP broadcasting

Does Anyone Use FileMaker Pro to Build iPhone Apps? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
My company has an app built using FileMaker Pro, and it is not a great app. It's not user friendly and it is hard to use. It also doesn't do everything that we need it to do. I don't know anything about Filemaker Pro, but it seems like it's an older system. Most people building iPhone apps are coding in objective C and swift right?
Does anyone have any input on Filemaker Pro? Anything you share would help. Is it old? Does it have a lot of limitations? Is it popular to use when building apps? Does anyone still use it or are most apps built in Objective C and Swift with a text editor?
Thanks for the input!
Your question is really off-topic for StackOverflow, but I will provide a couple of pointers:
FileMaker is not old - it's very current.
FileMaker is not a tool for building iOS apps. FileMaker is a tool (or set of tools) for developing and deploying cross-platform database solutions. One of these tools is FileMaker Go - an iOS app that will run a solution developed in FileMaker. This appears to the user as a native iOS app.
If the solution does not fit your needs, the fault is more likely to lie with the developer than with the platform.
If you're not running FileMaker as part of your business, then FileMaker Go is probably not the best choice for you.

Getting Mac system temperatures with Objective-C [closed]

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 6 years ago.
Improve this question
How do I access the system temperatures and fan speeds of a Mac using Objective-C? I have seen it done in applications like iStat, but I can not figure out how to do this. Does anyone know how?
You may also take a look at https://github.com/fmorrow/SMCWrapper - it's an object-oriented version of smc.c/smc.h. (The code of SMCWrapper is well commented)
Currently, it opens a connection using IOKit to AppleSMC IOService, and uses it to makes calls to the SMC chip. You can read keys to NSString, but setting key value is experimental at this time.
Take a look at https://github.com/lavoiesl/osx-cpu-temp/blob/master/smc.c for sample code that reads the temps from the SMC.

migrate my project to use Core data [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i have developed an ios application (not finished), and know i would like to migrate my project to use core Data, it's this possible ? if yes How ?
without giving any specifics it is difficult to be specific in an answer.
What you need to do is to link to the binary of the CoreData Framework in your solution.
You need to decide which storage you wish to use (sqlite etc). Is the information to be persisted user preferences? Is is a mini database? Is is one flat file store?
At the end of the day you'll need to do some reading based on which of the types of backing store you choose.
Hope this helps as a starting point.

Making with Objective-C a database in which the user could add information to it [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'd want to create a growing database in which the user could add new info in this case different integers and I don't really know how. I've started a "Master Detail" application but when I add different elements to the table they to be mutable and different. So I want the code to do that.
Sounds like you really need to start with the basics; the introduction to Objective-C followed by intros to iOS or Mac OS X development. Work through the basics first.
Then grab yourself a guide to Core Data.
Would you mid giving me a tutorial or something to learn it
A bit broad of a question for StackOverflow. I'd suggest you start at either of the Getting Started guides specific to iOS development or Mac OS X development, as you fancy.
In terms of cars, your question would translate to "How do I add a turbocharger to my engine?". If you don't have a solid foundation in how to maintain and build cars, any answer someone might give will be impossible to understand.