|
I don't think so. It's quite reasonable to want to learn the differences, just a pity he/she (like so many others) can't make the effort to do a bit of research.
|
|
|
|
|
Nothing wrong with his question.
But I checked his user id, signature in his message & links in his profile so thought ....
|
|
|
|
|
after looking at his signature I am thinking the same thing about this being spam now.
|
|
|
|
|
I disagree, the question has nothing in it that could be construed as spam. And there are quite a few members who have links to their own business in their signatures.
|
|
|
|
|
|
|
hey all. i have an UIWebView(tarayici in my situation) in view controller. it works fine when its scroll view delegate is not assigned to view controller. but i need to know when it is scrolled that is why i wrote this code.
self.tarayici.scrollView.delegate = self;
but when i write this down then webview acts so weird. for example after this code when i want to scroll then it scrolls only once if i make 3 or 4 attempts. so how can make it work more efficient with that code ?
vemedya.com
|
|
|
|
|
Before you added your UIWebView did you set the user interaction??
webView.userInteraction = YES;
|
|
|
|
|
i think i found the solution. The commented UIview animation block locked the main thread i think that is why Scroll View couldnt response to the new touches. but with this new animation block it works well.
- (void) scrollViewDidScroll:(UIScrollView *)scrollView
{
if (self.lastContentOffset > scrollView.contentOffset.y)
{
if (self.altView.frame.size.height + self.altView.frame.origin.y > self.screenHeight)
{
[UIView animateWithDuration:0.5f delay:0 options:UIViewAnimationOptionAllowUserInteraction animations:^{
self.altView.frame = CGRectMake(0, self.altView.frame.origin.y-1, 320, 48);
self.tarayici.frame = CGRectMake(0, self.tarayici.frame.origin.y, 320, self.tarayici.frame.size.height-1);
} completion:^(BOOL finished) {
}];
}
}
else if (self.lastContentOffset < scrollView.contentOffset.y)
{
if (self.altView.frame.origin.y < self.screenHeight)
{
[UIView animateWithDuration:0.5f delay:0 options:UIViewAnimationOptionAllowUserInteraction animations:^{
self.altView.frame = CGRectMake(0, self.altView.frame.origin.y + 1, 320, 48);
self.tarayici.frame = CGRectMake(0, self.tarayici.frame.origin.y, 320, self.tarayici.frame.size.height+1);
} completion:^(BOOL finished) {
}];
}
}
self.lastContentOffset = scrollView.contentOffset.y;
}
vemedya.com
modified 22-May-14 4:15am.
|
|
|
|
|
I am new to objective-c, I have just decided to start learning it today. I have some basic questions, please answer them and sorry if my topic violates the forum codes, I am new to this forum as well.
1)Can I program objective-c on windows operating system OR I have to switch to Linux?
2)what is the recommended IDE for objective-c, is it eclipse?
3)How can I get objective-c to install it?
mit freundlichen Grüßen
Amr
|
|
|
|
|
|
All of your questions really depend on what you are trying to accomplish when programming in Objective-C. If you are just using it as a language the answer is yes you can program with it on windows and linux.
However if you are looking to develop with the Cocoa frameworks and/or for iOS platforms then you will need:
1 - Apple hardware (mini, macbook, iMac, Pro)
2 - XCode will be the IDE that you most likely will want to start with if you are new and learning.
3 - You can get XCode from the App Store on your OSX machine.
Hope this answers your questions.
|
|
|
|
|
OS: Mac OS X
Recommended IDE: Xcode
If you want to program objective-c on windows on your pc(not iMac), use VMware Workstation.
|
|
|
|
|
It is best to use a Mac mini with at least 8 GB RAM and the Xcode from Apple. You need a developer account from Apple.
Istrongy recommend the professional Website of the famous Ray Wenderlich. If you really want to engage with Ocjective-C than also use the subscriber service for the outstanding video-tutorials.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Is it possible Java App developed on Net Bean that can Translate/convert into Objective C for IOS ....
or how can java application deploy on IOS (iphone)
|
|
|
|
|
|
Call me ambitious, but I want to create a desktop window manager for OSX. I want to be able to display windows where I want them, when I want them, how I want them.
Does anyone know where to begin? Can I overwrite the existing desktop manager and replace their code with mine?
|
|
|
|
|
Member 10608761 wrote: Does anyone know where to begin? Do you understnad the principles of the product you want to create? Are you a skilled OSX programmer, etc.?
Member 10608761 wrote: Can I overwrite the existing desktop manager and replace their code with mine? If you need to ask this question then the chances are that your understanding of OSX is not yet at the right level. I would suggest finding some study materials that give details of the operating system internals so you can gain a good understanding of how it all fits together.
|
|
|
|
|
I have experience with Objective-C and iOS development, but slightly new to OSX. Windows OS has a really good api for its Windowing system, whereas Quartz has an API but it is significantly limited in comparison. I'm looking to replicate the functionality of the Windows API in OSX, (specifically window-level controls), but it looks like all Window/Visual commands are handled through Quartz Compositor.
If I can rewrite/extend/reverse engineer that module, I may be able to get the APIs I need.
|
|
|
|
|
Member 10608761 wrote: I'm looking to replicate the functionality of the Windows API
And which Windows API would that be??
Member 10608761 wrote: I have experience with Objective-C and iOS development, but slightly new to OSX.
How can you have experience in developing for iOS using Objective-C and yet be new to OSX?
The development of iOS apps with Objective-C is done in XCode which is only available for OSX. The only other alternative to XCode is AppCode[^] and even that only runs on OSX.
|
|
|
|
|
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.
|
|
|
|
|
Member 10608761 wrote: Can I overwrite the existing desktop manager and replace their code with mine?
No.
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.
|
|
|
|
|
Member 10608761 wrote: (all things Quartz Compositor is good for)
Remember that I did say you can only extend.
Member 10608761 wrote: 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
1.new order
2.in processing
Is there ay option after taking new order all saved items will be stored In processing (single button).
balaji
|
|
|
|