For example, when I type
[UIView commitAni
then I would expect that it finishes it like:
[UIView commitAnimations
so that I have:
[UIView commitAnimations];
but here, it doesn't. Although I have included CoreGraphics.framework Strange: When I try with other animation related stuff, it works:
[UIView setAnimationDura
will be completed to:
[UIView setAnimationDuration:<#(NSTimeInterval)#>
But this one will not be recognized by codeSense:
[UIView setAnimationTr
...here, I would expect an completion to
[UIView setAnimationTransition
but it doesn't happen. What could be the problem here? I don't think that I miss an included framework, because everything compiles well and works in the iPhone simulator.
This appears to be a conflict between the static code analysis tools (Clang) and CodeSense. See http://www.openradar.appspot.com/7338181
I turned off the "Run Static Analyzer" build setting and clicked on the "Rebuild Code Sense Index" under general and it solved the problem for me. However, I want static code analysis too.
Is that the (I'm assuming you haven't changed the keybindings, for simplicity) Cmd-. "give me the next completion" or Cmd-, "give me the completion menu", or the "wait until something turns up and hit return"? I've often seen the last of those fail to give me the completion I want, where Cmd-, will show the correct option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With