Where can I find RSS feeds for Xcode Documentation? - cocoa

Occasionally I like to work completely disconnected from a network. In those cases it's really nice to have complete sets of documentation on my Mac. Xcode supports subscribing to feeds of documentation. I've subscribed to the sets that I'm interested in but there's a problem: It doesn't appear that the lists are up to date.
I'd like to subscribe to the feed for 10.6 but I can't find out what the url is. I've googled and searched through the documentation on developer.apple.com but no luck so far. Does anyone know what the feed url is for 10.6, or if there's a link that contains a listing of all of the feeds?

It's in Xcode. Xcode menu > Preferences > Documentation > Click the "i" button next to "Mac OS X 10.6 Core Library", and you'll see the feed url in the info window.
For future reference, it's: http://developer.apple.com/rss/com.apple.adc.documentation.AppleSnowLeopard.atom
Further information is available in my answer here: https://stackoverflow.com/questions/1658707#1658927

Related

How do I download the os x command line tools without downloading xcode?

I can't seem to find a way to do this. I know, at some point, they were available for download from the apple developer website, but this no longer seems to be available. Is there no longer a way to do this?
Go to Apple's developer downloads page.
Sign in (or register if necessary).
Find “Command Line Tools” in the list. Click it to show the download link. Click the download link.
As of this writing, the second item in the list is “Command Line Tools (OS X Mountain Lion) for Xcode - September 2013”. (The first item, “Bug Reporter Logging Profiles (iOS)”, is open by default is rather tall, so you'll probably need to close it or scroll down.)

Accessibility broken with Preview.app in OS X 10.8.4?

We have an application that integrates with different programs (among which is the Preview.app) using accessibility. We use the AXUIElementSetAttributeValue function to programmatically select some text in a PDF document using the kAXSelectedTextRangeAttribute. This used to work fine but suddenly stopped on my Mac (nothing seems to happend). My co-worker doesn't have the issue so after trying to figure out the difference I remembered that I had just updated to OS X 10.8.4 while he hasn't. I then read about this update and among the features and fixes was the following:
Improves VoiceOver compatibility with text in PDF documents
This indicates to me that they have fiddled with the area where I am having the issue. My question is now weather this is simply a bug or if it is by design. In the case of the latter, what am I supposed to use in stead?
PS. We tried also setting the selection range using the Accessibility Inspector found under Developer tools in Xcode and it works fine in 10.8.2 but not in 10.8.4, which further indicates that this might be a bug.
This is indeed a bug. I just installed the developer preview of OS X 10.8.5 and the issue has been resolved here. In the change-log it also says that some of the changes in this version regard "PDF viewing and Accessibility".

how to add item in right click context menu of file and folder in objective c

I am developing an cocoa application for Mac and what i need is to add an item in the context menu that appears when user right-clicks on specific file and folder (i.e. when user click on file or folder by pressing ctrl key of keyboard).
I am new to Cocoa application development. I have searched in google for it and found that it can be implemented by using CFPlugIn. Does anyone know how to use CFPlugIn to implement this or any other method to add item in context menu of specific file or folder??
Thanks in advance
You can use system services for contextual menu. you should refer Services Implementation Guide. take a look at Services step out in Snow Leopard article.
If you wish to sell your product on apple app store than you should not follow dropbox.
This is no longer supported in Mac OS X 10.6 and Mac OS X 10.7. Earlier versions of Mac OS X had support for contextual menu plugins, but this feature has since been removed.
What is it you're trying to accomplish in the broader sense? If you give us an idea of what your goal is, we may be able to suggest an alternate way to accomplish it.
Using System Extensions and a FinderSync extension you can accomplish this.
https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/Finder.html

Referencing Bindings in Connections Inspector

I'm new to Xcode 4.2, and I have a sample code from Apple, and I'm playing with it to make myself familiar with Xcode.
I made a similar project with that of Apple's, and one button of my project (in Connections Inspector), has less options in comparison with Apple's, which has two more options, "Bindings" and "Referencing Bindings".
See screenshot:
My question is how can I add the two more options?
I believe those only appear if you have already connected the item through the bindings tab.
i had the same question and posted in the apple developer forums...the additional two inspectors are only available in OS X projects, not in iOS projects...if you open an OS X project in XCODE you will see them

Download of Cocoa API documentation

Is it possible to download all Cocoa API documentation? I have to work offline a lot of times and sometimes a doubt blocks all my work...
Xcode does this for you automatically, unless you've disabled it ?
Your Documentation prefs pane should look something like this:
Note that in the above case there are 4 documentation sets installed and the remaining uninstalled sets can be installed by hitting the associated Get buttons. Once you have the required documentation installed then it's available via the Help => Developer Documentation menu, even when you are off-line.
As #PaulR mentions, Xcode does this automatically. Look in the Documentation preferences. If there's no button called "Get" next in the "Mac OS X 10.6 Core Library" row, then it's already downloaded and installed.
If you still don't think it's working, then check out Ingredients.app. It's an offline documentation browser. It's pretty nice. :)

Resources