Sorry, meant slightly new to OSX development. I have been using the operating system for several years, but have never published a full app on it like I have for iOS.
Basically my problem is this: Windows treats everything like a window, where some of those windows belong to the same application. OSX treats everything as an application, where some of those applications have multiple windows.
When using APIs like the SendKeys[^] in Windows, you post messages to a specific window, and thus can post messages to multiple windows of different applications at the same time.
In OSX, that's not possible. Everything is done on the application level. You post messages through Quartz Event Services[^] to applications only. This is not idea for posting messages to two windows of the same application at the same time (two Word documents for instance if you wanted to copy a document). You can switch the active window, post a message, and switch back, but that is extremely noticeable to the user.
Quartz compositor must have a way of posting messages to individual fields on windows (whether or not the API is exposed) so if I could a) overwrite the existing system to expose this functionality or b) reverse engineer the quartz framework to check for hidden APIs. Either way is hard, and looking for suggestions.
Can I overwrite the existing desktop manager and replace their code with mine?
But you can extend it if that is what you are looking for. I am sure with a simple google search you can find some examples that do this already.
Member 10608761 wrote:
Does anyone know where to begin?
Start by learning more about OSX and the way that you develop with it. I think that Richard gave you some starting points on this already. More importantly I think you need to understand more about Apple and what it's customers/users expect of the software they put on their machine(s).
It is possible to extend? I did a bit of googling, but to no avail. There are quartz APIs for intercepting graphics callbacks and simulating keystrokes (all things Quartz Compositor is good for), but none if it is as powerful as what I'm looking for.
but none if it is as powerful as what I'm looking for.
I think that I said this already but if your goal is to replace Window Manager then the answer to your very first question will be no. Without knowing what it is that you are looking to do I can't help you more than to speak in generic terms.
I had this teacher once that used to say to everyone in the class that "Generic questions get generic answers". It used to frustrate the hell out of me sometimes but I understood later what he was trying to achieve with everyone. He wanted us to do some research and sometimes by us researching it more we came up with our own answer.
i want to make multi-tasking app in restaurant food menu,
there are two buttons
Is there ay option after taking new order all saved items will be stored In processing (single button).
You probably need to use a class so you save all the details in in instance of that class. You could then keep all instances in a list and process them from there. However, given the lack of detail in your question it is difficult to be more specific.
I'm fairly new to objective C and I'm just learning how to use functions. In the below function I understand what the first line does but then the statements below have me a bit confused can anyone explain it to me? Its the "theBudget->budget" bit I dont understand.
This is standard C notation, and a fundamental construct of the language. If you don't understand it, then you really need to go back to basics and get yourself an introductory book. The first parameter (theBudget) in the function declaration is a pointer to a budget object (Class or Structure). In the first line of the function the program is subtracting the value of the dollars item from the budget member of the object. A rather poor use of names calling a member of the object by the same name as the object type. In fact I'm not sure that that would not produce a compiler error or warning.
Thanks for the explanation. I am a beginner and this is an example they are using in an introductory book to explain functions. Going off what you have said this is a pretty poor example which is probably why I'm getting a bit confused.Thanks for the help
I am starting out in Apple dev environments. I have downloaded some pdf's and located some tutorials on the Internet however do not know where to start. There are some on iOS programming, some Objective-C, some Soryboard etc...
Any pointers on how to proceed and sequence will be appreciated. My main interest initially is iPhone.