On 6 Jul 2010, at 06:14, kirankumar wrote:
> Thanks to all for spending time on my issue,
>
> No,my app doesn't require any authentication and authorization.
That isn't what John said. He said (rightly) that the *installer* will need to
use authentication/authorization in order to install your
Hi All,
Can we access address bar text box and bookmark data from Safari extension?
If yes, please share some thoughts or APIs.
--
Thanks
Cocoa.learner
http://rajeshmaclabs.com/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not pos
On Jul 6, 2010, at 6:21 AM, cocoa learner wrote:
> Hi All,
>
> Can we access address bar text box and bookmark data from Safari extension?
> If yes, please share some thoughts or APIs.
>
> --
> Thanks
> Cocoa.learner
> http://rajeshmaclabs.com/
> ___
NSWorkspace iconForFile returns folder images for Documents, Desktop
and Downloads.
Where does one get the icon used by the Finder Places View for these
paths?
-koko
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On Jul 6, 2010, at 12:17 PM, k...@highrolls.net wrote:
> NSWorkspace iconForFile returns folder images for Documents, Desktop and
> Downloads.
>
> Where does one get the icon used by the Finder Places View for these paths?
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Docum
Le 6 juil. 2010 à 18:17, k...@highrolls.net a écrit :
> NSWorkspace iconForFile returns folder images for Documents, Desktop and
> Downloads.
>
> Where does one get the icon used by the Finder Places View for these paths?
Not for me. It returns the expected icon:
[[NSWorkspace sharedWorkspac
On Tue, Jul 6, 2010 at 9:36 AM, Bill Cheeseman wrote:
> /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/DocumentsFolderIcon.icns,
> .../DesktopFolderIcon.icns, and .../DownloadsFolder.icns [sic].
There is no indication that usage of these icons by anyone other than
Apple is perm
On Tue, Jul 6, 2010 at 9:42 AM, Jean-Daniel Dupas
wrote:
> Not for me. It returns the expected icon:
>
> [[NSWorkspace sharedWorkspace] iconForFile:[@"~/Desktop"
> stringByStandardizingPath]] returns the desktop folder icon.
I believe the OP is referring to the icon you see when you drag the
Des
I just transitioned my (primarily Cocoa based) code from building 32-bit
i386/PPC, to also include x86_64. Unfortunately, when launching the 64-bit
version I'm getting a crash at launch and I can't figure out how to debug it.
Stack trace at the bottom of the email.
- The crash does *not* occur
Oh!
I was striving for UI consistency as my app displays Devices and
Places as the Finder and I wanted those to have the same visual for
the user.
Hmm! What to do?
-koko
On Jul 6, 2010, at 10:44 AM, Kyle Sluder wrote:
On Tue, Jul 6, 2010 at 9:36 AM, Bill Cheeseman
wrote:
/System/Libra
Le 6 juil. 2010 à 18:45, Kyle Sluder a écrit :
> On Tue, Jul 6, 2010 at 9:42 AM, Jean-Daniel Dupas
> wrote:
>> Not for me. It returns the expected icon:
>>
>> [[NSWorkspace sharedWorkspace] iconForFile:[@"~/Desktop"
>> stringByStandardizingPath]] returns the desktop folder icon.
>
> I believe
On Tue, Jul 6, 2010 at 9:52 AM, Jean-Daniel Dupas
wrote:
> so this is the toolbar icons:
>
> [[NSWorkspace sharedWorkspace]
> iconForFileType:NSFileTypeForHFSTypeCode(kToolbarMusicFolderIcon)];
>
> [[NSWorkspace sharedWorkspace]
> iconForFileType:NSFileTypeForHFSTypeCode(kToolbarDownloadsFolderI
Thanks for your help, Graham, that now makes more sense. I am actually using
'isLeaf' on item to determine if it's a parent or not...
Rainer
On Jul 5, 2010, at 17:11 , Graham Cox wrote:
>
> On 06/07/2010, at 4:56 AM, Rainer Standke wrote:
>
>> setEnabled works on single cells, and as expected
On Tue, Jul 6, 2010 at 9:47 AM, Jeffrey J. Early
wrote:
> I just transitioned my (primarily Cocoa based) code from building 32-bit
> i386/PPC, to also include x86_64. Unfortunately, when launching the 64-bit
> version I'm getting a crash at launch and I can't figure out how to debug it.
> Stack
On Jul 6, 2010, at 11:47 AM, Jeffrey J. Early wrote:
> I just transitioned my (primarily Cocoa based) code from building 32-bit
> i386/PPC, to also include x86_64. Unfortunately, when launching the 64-bit
> version I'm getting a crash at launch and I can't figure out how to debug it.
> Stack tr
Hi there,
after a small interruption, I am about to resume Cocoa coding with what seems
to me one of the hardest things I ever made so far with the Mac: coding a SQL
custom editor with token handling (keyword and column name coloring,
completion, automatic selection extension on keyword boundar
Jeffrey J. Early wrote:
- The crash does *not* occur when the application (either release
or debug build) is launched within Xcode.
- The crash *does* occur if I launch the app with gdb from the
command line (same stack trace).
Inspect and then change things about your executable's runtime
On 2010 Jul 05, at 13:14, Sean McBride wrote:
> Since no one else has replied I can only say that this rings some
> vague bells. What OS?
10.6.4
> I've seen weirdo Core Data bugs with Save As,
> but they are all fixed as of 10.6.4 ...
Thank you, Sean.
Hi,
Is it possible to display a standard Finder view inside my
cocoa application? I need to display the info about a given directory
managed by the application.
Note: I do not want to launch Finder from my app.
Thanks,
Wayne
--
W. Shao
___
Cocoa-dev
On Tue, 6 Jul 2010 20:31:06 +0200, vincent habchi said:
>BTW, another unrelated question. I have a method that takes an NSPoint as an
argument. I call it this way:
>
>[foo point:NSMakePoint(x, y)]
>
>and get an analyzer warning: "Pass-by-value argument in function call is
undefined".
How about pa
On Mon, Jul 5, 2010 at 9:45 PM, Wayne Shao wrote:
> Is it possible to display a standard Finder view inside my
> cocoa application? I need to display the info about a given directory
> managed by the application.
No. You'll have to recreate this yourself or call upon Finder.
> Note: I do not wa
Le 6 juil. 2010 à 21:59, Matt Neuburg a écrit :
> On Tue, 6 Jul 2010 20:31:06 +0200, vincent habchi said:
>> BTW, another unrelated question. I have a method that takes an NSPoint as an
> argument. I call it this way:
>>
>> [foo point:NSMakePoint(x, y)]
>>
>> and get an analyzer warning: "Pass-
On or about 7/6/10 1:28 PM, thus spake "vincent habchi"
:
> Geez, I just realize I have been browsing the NSValue page for iPhone OS since
> the beginning, and iPhone OS (iOS) has no +valueWithPoint.
Because there is no NSPoint on iPhone OS. NSValue has valueWithCGPoint: on
iPhone instead. m.
--
Much thanks to the three of you for your responses, with your help I was able
to solve the problem. It was a dumb mistake on my part that was exposed due to
different behavior in how dyld works (apparently?!).
I have dependencies on a bunch of my own frameworks, and a few third party
frameworks
Le 6 juil. 2010 à 22:49, Jeffrey J. Early a écrit :
> Importantly, I'm not calling any code framework A that depends on framework
> B. Because of this, in 32-bit mode, it ended up being totally okay that
> framework B was missing (presumably because it never had to resolve any
> symbols from th
I've not been able to find a way to add a secure note to a keychain
programmatically. SecItemClass in SecKeyChainItem.h gives no item class for
secure notes, which makes me wonder if they're not actually "in" the keychain
but stored somewhere on disk, encrypted with the keychain password (or
so
FWIW, my 2 cents ... once we added 'Reveal in Finder' our customers
got a lot happier.
-koko
On Jul 6, 2010, at 2:09 PM, Kyle Sluder wrote:
On Mon, Jul 5, 2010 at 9:45 PM, Wayne Shao wrote:
Is it possible to display a standard Finder view inside my
cocoa application? I need to display t
I'm trying to export the private key part of a a Keychain identity. I
invariably get status -25260,
"Passphrase is required for import/export." That happens in the below whether
or not I give kSecKeySecurePassphrase to have the user asked for the password
or supply it myself.
CFDataRef expo
Brian Marick wrote:
I've not been able to find a way to add a secure note to a keychain
programmatically. SecItemClass in SecKeyChainItem.h gives no item
class for secure notes, which makes me wonder if they're not
actually "in" the keychain but stored somewhere on disk, encrypted
with th
Thanks to Greg Guerin, I found out about security(1). I notice that it seems to
have the same issue:
$ security export -k "my.keychain" -t privKeys
security: SecKeychainItemExport: Passphrase is required for import/export.
$ security export -k "my.keychain" -t privKeys -P "sesses"
security: SecKe
On Jul 6, 2010, at 2:38 PM, Brian Marick wrote:
> I'm trying to export the private key part of a a Keychain identity. I
> invariably get status -25260,
> "Passphrase is required for import/export." That happens in the below whether
> or not I give kSecKeySecurePassphrase to have the user asked
On Jul 6, 2010, at 12:36 PM, Bill Cheeseman wrote:
>
> On Jul 6, 2010, at 12:17 PM, k...@highrolls.net wrote:
>
>> NSWorkspace iconForFile returns folder images for Documents, Desktop and
>> Downloads.
>>
>> Where does one get the icon used by the Finder Places View for these paths?
>
>
> /
Hi there,
this is a very simple question, but I don't seem to find the answer anywhere.
What is the proper format to use in NSLog to print out a SEL type variable? E.g.
SEL aSelector = @selector (foo);
NSLog ("%", foo);
If I use %s, it works, but I get a warning because the variable is not of th
On Wed, Jul 7, 2010 at 12:07 AM, vincent habchi wrote:
> Hi there,
> this is a very simple question, but I don't seem to find the answer anywhere.
>
> What is the proper format to use in NSLog to print out a SEL type variable?
> E.g.
>
> SEL aSelector = @selector (foo);
> NSLog ("%", foo);
>
> If
On Wed, Jul 7, 2010 at 12:07 AM, vincent habchi wrote:
> Hi there,
> this is a very simple question, but I don't seem to find the answer anywhere.
>
> What is the proper format to use in NSLog to print out a SEL type variable?
> E.g.
>
> SEL aSelector = @selector (foo);
> NSLog ("%", foo);
>
> If
Le 7 juil. 2010 à 07:10, Stephen J. Butler a écrit :
> NSStringFromSelector() and then use %@ in the format string.
Thanks! Well, I guessed there had to be such a function, but I don't know why
they are not at least referenced in the NSString class doc page. I know there
are not part of the NSS
Hi!
Le 6 juil. 2010 à 21:59, Matt Neuburg a écrit :
> On Tue, 6 Jul 2010 20:31:06 +0200, vincent habchi said:
>> BTW, another unrelated question. I have a method that takes an NSPoint as an
> argument. I call it this way:
>>
>> [foo point:NSMakePoint(x, y)]
>>
>> and get an analyzer warning: "
All of these juicy little functions can be found on the Foundation Functions
reference page:
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html
Cheers,
Dave
On Jul 6, 2010, at 11:15 PM, vincent habchi wrot
There was some discussion here about a month ago about the
NSScrollView "scrollpoint:" method not working; I am encountering
a similar phenomenon and was wondering if anyone had come up
with a solution, or provided an answer to the original poster
off list, or if my new information might provide a
vincent habchi wrote:
The analyzer does not figure out that the pt array gets initialized
through the loop by copying values directly from a chunk of memory,
and spits out the warning about pt [•] not being defined. Maybe I
should report this to the LLVM team?
That seems like a good idea
40 matches
Mail list logo