Recent Documents [closed] - objective-c

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Searched everywhere but didn't find a way of doing this in sandbox:
How can I get a list of all the recent files (system wide) in osx ?

They are stored in ~/Library/Preferences/com.apple.recentitems.plist file.
You need the temporary entitlement com.apple.security.temporary-exception.files.home-relative-path.read-only = Library/Preferences
you need to manually read the plist using NSDictionary because the CFPrefs API fails -> it always tries to open the pref in your sandbox folder and you cannot specific a PATH for the file

The way that doesn't involve hard-coding pathnames would be to use LSSharedFileList. The list in question is kLSSharedFileListRecentDocumentItems.
If the list is incomplete or the sandbox blocks access to it, I recommend filing a bug.

Related

Dynamic code generation and execution without writing code to database [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is it possible to generate ABAP code and execute it in memory without writing code to DB?
Yes. Use Google. Use Google. Use Google. Use Google. Use Google. (I have to write at least 30 characters although I really don't have anything else to say besides that wanting to generate code dynamically is usually a sign you're on the wrong track.)

Create an OSX app programmatically loading just one website by default [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I would like to create an OSX app programmatically that loads just one website by default, no address bar. Any pointers?
You can also use Automator to achieve this:
Have a look at the generated document.wflow inside the app bundle. It's a XML document which you can programmatically edit to create "apps" for other URLs.
WebView!?
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/WebKit/Classes/WebView_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40003822

where to I file itunes connect bugs? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
It's my first app, I provided 5 different snapshots, it for some reason keep making a dup of the 4th to be the 5th one and the real 5th one is just gone for no reason. Where can I file bugs for these issues?
If you're a registered apple developer, file a bug at http://bugreporter.apple.com
and document things well, otherwise your bug will be ignored or not looked seriously at.

Gathering NDR Email addresses [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am looking to gather all NDRs from out an outlook account and write the email addresses of the fails to either a table within a database or even just an excel document for the purposes of data cleaning.
Has anyone done anything like this previously and would be willing to push me in the right direction?
Well, you didn't say if you wanted an open source app (not aware of any), but I have written this commercial product:
http://www.ListNanny.NET
ListNanny will extracted the bounced addresses, classify the NDR, and provide you with some helpful information on why it bounced.
The only catch is that the email needs to be in it's RFC2822 format (like you donwload over IMAP or POP3). It can't read native Outlook .msg files.
Does that help?

How to display a PDF in Objective-C? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to read and display PDF in Objective-C?
If you just want to display it, the easiest way is to load it in a UIWebView.
If you want to solely read and display PDFs to users, as the Mail app does on your iOS device with all the scrolling and zooming done for you, then I would use a UIDocumentInteractionController.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIDocumentInteractionController_class/Reference/Reference.html
You'll find some useful code in one of my recent questions, here:
UIDocumentInteractionController crashing upon exit
Hope this helps.
the easiset way is with the UIDocumentInteractionController
Drawback: you need a local file-url