Lint for Objective-C? [duplicate] - objective-c

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Code linting for Objective C
Is there any lint tool for Objective-c?

Xcode includes the Clang static analyzer, labeled as Build and Analyze (simply Analyze under Xcode 4).
http://clang-analyzer.llvm.org/xcode.html
Edit:
OCLint, based on Clang, provides additional checks of code style and complexity.http://oclint.org

Related

Is it impossible to write a text file in desktop using swift or objective-c? [duplicate]

This question already has answers here:
How to Read and Write data to a text file in Swift using playground? [duplicate]
(1 answer)
Read and write a String from text file
(21 answers)
Closed 8 years ago.
I know how to write text to a file in the Project's document folder.
But swift not allowing me to do the same with different location like User's desktop folder or anywhere else.
Is it impossible to write a file in desktop using swift or objective-c?
If so please explain why.
If not please tell me how to do so using playground

Objective-C Compiler And Editor [duplicate]

This question already has answers here:
Objective-C for Windows
(14 answers)
Objective C on Windows or Linux
(4 answers)
Closed 9 years ago.
This is just an easy question!
I want to lean some objective-c but the problem I don't have a mac I've only PC with windows
is there any compiler and editor where I can type my code and run it on windows.
Thanks in advance.
Yes, you can learn Objective-C — for example, see here. But you won't be able to create OS X or iOS applications straight from a Windows machine.
You can try to install a Hackintosh or emulate OS X in VirtualBox or VMWare.
But, IMHO, all of this would be a real pain in the neck!

Is Objective C the preferred way to write OSX applications? [duplicate]

This question already has answers here:
What are alternatives to Objective-C for Mac programming?
(13 answers)
Do I have to learn Objective-C for professional Mac Development? [closed]
(17 answers)
Closed 9 years ago.
I've been assigned a new task at my company to rewrite one of applications to Mac OSX. I just started learning about OSX programming and it looks like the native language of Mac OSX is Objective C.
Therefor I've a question - is Objective C the preferred way to write OSX applications? And also does anyone know if there are alternatives to Objective C? (I'm already familiar with C and C++.)

What's the number in XCode's console in square brackets? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
iphone nslog output format
2012-07-25 16:25:08:491 MyProject[2488:403] App finished
launching.
This might be an easy question, but what are those numbers?
It's the process id followed by the thread id.
Explained here.

How does automatic Reference Counting in Objective C works? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How does the new automatic reference counting mechanism work?
Can someone explain succinctly how automatic Reference Counting in Objective C works?
It's not a quick "type it up for the internet" answer. There was a nice hour-long lecture about it at WWDC 2011 that was dense with information.
Suffice it to say that the next step in compiler technology and code analysis is at the heart of how it works.