Hi, here is my problem, will be glad if anyone can provide some help.
In my AppDeleagate's didFinishLaunchingWithOptions: method i have a method
[self configureUINavigationControllerStlyle]; which configures the status bar
and all the navigation bar appearance of my app (I have
Hi,
I have solved this problem.
Do not change the frame of map view when it’s transform does not equal to
CGAffineTransformIdentity.
Best Regards,
Sunny Lee
在 2014年10月31日,上午12:54,sonofsky2...@gmail.com 写道:
Hi all,
I rotate the MKMapView with setting the rotation transform. When I
Hi all,
I rotate the MKMapView with setting the rotation transform. When I use
setCenter method to change the center coordinate of the map, the location of
this coordinate not in the center. Does anyone know what happened, and how to
solve this problem? Below is the code snipt.
-
--Original message--
From: Devarshi Kulshreshtha devarshi.bluec...@gmail.com
To: Cocoa-dev Cocoa-dev@lists.apple.com
Date: Friday, October 10, 2014 11:23:07 AM GMT+0530
Subject: XPCService not getting launched from app
I am trying a simple sample app on XPCServices, in which I am
following
/options/cocoa-dev/excelpbhardwaj999%40gmail.com
This email sent to excelpbhardwaj...@gmail.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
Hi all,
Does anyone know weather an iPhone5 can be a USB Host Device? I have a USB
Slave device, I want to connect this device to iPhone5. I will apply a MFI
Licensees.
Best regards,
Sunny
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
I'm using [M3NavigationView]
(http://stackoverflow.com/questions/3837556/navigation-application-in-mac) to
do view navigations, but there I got a problem when push one view inside(some
animation happens here), A button doesn't responds to mouse click most of the
time, I'll have to click it
knows why? thanks in advance.
--
jun1st.f...@gmail.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
with the tracking rects.
- Original Message -
From: mlist0...@gmail.com
To: Lee Ann Rucker lruc...@vmware.com
Cc: Cocoa Dev cocoa-dev@lists.apple.com
Sent: Sunday, May 20, 2012 11:11:51 AM
Subject: Re: trackingAreas can be snuck up on without triggering?
On May 20, 2012, at 10:45 AM, Lee Ann
19, 2012, at 22:10 , mlist0...@gmail.com wrote:
If I whip the mouse into the window's content area, my cursorUpdate method
is called and I see the correct cursor. If I slowly sneak the mouse into my
window's content area, I see the window resize cursor for a moment as I
cross
On May 20, 2012, at 8:04 AM, Kyle Sluder wrote:
Have you implemented -updateTrackingAreas?
Implementing it did not help. Not a surprise since my view doesn't change
geometry.
_murat
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On May 20, 2012, at 9:02 AM, Ken Thomases wrote:
On May 20, 2012, at 10:04 AM, Kyle Sluder wrote:
Have you implemented -updateTrackingAreas?
Or you can try specifying NSTrackingInVisibleRect to take care of much tedium
for you.
Nope, didn't help either.
_murat
Belt *and* suspenders? ;)
_murat
On May 20, 2012, at 7:43 AM, Quincey Morris wrote:
On May 20, 2012, at 02:21 , mlist0...@gmail.com wrote:
Your alternate approach is essentially to give up on tracking areas, no? The
tracking area approach has an attractive simplicity, especially once my
On May 20, 2012, at 10:45 AM, Lee Ann Rucker wrote:
But if you're only updating the cursor, why not try addCursorRect:cursor: ?
Presumably that's smart enough to know about the grow zone.
The docs note that -addCursorRect:cursor: is legacy api, supplanted in
Leopard by... tracking rects! Not
I have a view for which I am adding a tracking area so that I can update the
cursor. The view entirely fills my window and is the only view in the window's
content view.
The tracking area is being registered thusly:
- (void) awakeFromNib
{
NSTrackingArea* trackingArea = [[NSTrackingArea
I have an NSCollectionView with really simple (i.e. no tracking areas) item
views.
In a test case of about 1500 items, scrolling gets unacceptably choppy. I've
tracked this down to calls to a private method,
-[NSView _updateTrackingAreas].
While scrolling, _updateTrackingAreas is called
On May 13, 2012, at 3:07 PM, Willeke wrote:
How to Subclass NSWindowController: The NSWindowController subclass instance
should be the File’s Owner for the nib...
Thank you. I missed this, probably because I'm not actually subclassing
NSWindowController. But it settles it as far as I'm
I've have come across some surprising behavior when trying to implement a
document with two windows, each loaded from its own nib.
In my NSDocument subclass, I have
- (void) makeWindowControllers
{
NSWindowController* wc1 = [[[NSWindowController alloc]
initWithWindowNibName:@MNKDocument
On May 12, 2012, at 4:45 PM, Kyle Sluder wrote:
Document-as-File's-Owner only makes sense if you aren't overriding
-makeWindowControllers.
I don't think that's the case. Certainly nothing in the docs suggest it.
Went for a drive and reflected on this a bit. I think the fact that there's a
On May 12, 2012, at 5:55 PM, Kyle Sluder wrote:
You are correct that nothing in the docs prohibits passing the document as
the file's owner argument for window controllers you construct yourself. And
in the case of a single window controller, it might work—though this is not
guaranteed.
@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com
This email sent to mlist0...@gmail.com
Re: Get OS version of iOS device connected to Mac OS X
(Payal Mundhada)
On 2012年1月19日, at 18:40, cocoa-dev-requ...@lists.apple.com wrote:
Get OS version of iOS device connected to Mac OS X
(Payal Mundhada)
___
Cocoa-dev mailing list
(lpeng...@gmail.com)
10. Re: While running our iPhone app,the screen sometimes goes
white and locks up. Any idea why? (G S)
11. Changing Album Name property of the audio book track,does
Jim Lin
在 2012-1-23,17:18,cocoa-dev-requ...@lists.apple.com 写道:
Re: Versions, -windowWillClose
Re: Cocoa-dev Digest, Vol 9, Issue 33 (lpeng...@gmail.com)
8. Re: Cocoa-dev Digest, Vol 9, Issue 33 (lpeng...@gmail.com)
9. Re: Cocoa-dev Digest, Vol 9, Issue 34 (lpeng...@gmail.com)
10. Re: Cocoa-dev Digest, Vol 9, Issue 32 (lpeng...@gmail.com)
Jim Lin
在 2012-1-22,2:31,cocoa-dev-requ
Re: auto malloc[27012]: attempted to remove unregistered weak
referrer (Sean McBride)
2. Re: Strange renaming of Documents folder (Ken Thomases)
3. Re: Strange renaming of Documents folder (John Joyce)
4. Re: NSSlider and arrangedObjects (Quincey Morris)
5. Re: Strange renaming of
Re: Cocoa-dev Digest, Vol 9, Issue 36 (lpeng...@gmail.com)
2. NSXMLParser, streams, multiple threads, and crashing
(Thomas Davie)
3. Re: Strange renaming of Documents folder (Martin Hewitson)
4. Re: NSXMLParser, streams, multiple threads, and crashing
(Andreas Grosam)
5. Re
Re: [NSTextView]: Scroll top when bound-to string changes
(Kyle Sluder)
Jim Lin
在 2012-1-21,5:13,cocoa-dev-requ...@lists.apple.com 写道:
NSTextView : Scroll top when bound-to string changes
(Kyle Sluder)
___
Cocoa-dev mailing list
Re: NSTextView : Scroll top when bound-to string changes
Message-ID:
canes-cxzotsucbpjjqqncqzgptkbgtdad2b-y4mpneaegfn...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1
Jim Lin
在 2012-1-21,5:13,cocoa-dev-requ...@lists.apple.com 写道:
Re: NSTextView : Scroll top when bound-to
Subject: Re: auto malloc[27012]: attempted to remove unregistered weak
referrer
Message-ID: 5c732f8d-655e-44bb-abf2-ed258af99...@snafu.org
Content-Type: text/plain; charset=us-ascii
Jim Lin
在 2012-1-21,13:18,cocoa-dev-requ...@lists.apple.com 写道:
Subject: Re: auto malloc[27012]: attempted to
Re: NSTextView : Scroll top when bound-to string changes
(Jerry Krinock)
Jim Lin
在 2012-1-21,4:00,cocoa-dev-requ...@lists.apple.com 写道:
Re: NSTextView : Scroll top when bound-to string changes
(Jerry Krinock)
___
Cocoa-dev mailing list
Re: NSTask terminates when NSApplication exits (Scott Ribe)
Ling Peng
在 2012年1月19日,4:02,cocoa-dev-requ...@lists.apple.com 写道:
Re: NSTask terminates when NSApplication exits (Scott Ribe)
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
My Java
processes do not quit if I pipe their output to null:
�NSTask *task = [NSTask new];
�[task setLaunchPath:execPath];
�[task setCurrentDirectoryPath:_directory];
�[task setArguments:arguments];
�[task setStandardError:[NSFileHandle fileHandleWithNullDevice]];
�[task
Re: logged: auto malloc[27012]: attempted to remove unregistered weak referrer
0xblahblah
multiple times. What is most interesting is that it only happens when
selecting multiple items by dragging. I first noticed it in this code:
- (IBAction) showOpenPanel: (id) sender
{
BOOL reloadNeeded =
)
--
Message: 1
Date: Wed, 18 Jan 2012 14:13:01 -0700
From: Keary Suska cocoa-...@esoteritech.com
Subject: Re: NSTask terminates when NSApplication exits
To: Andrew andrewrwr+cocoa...@gmail.com
Cc: Cocoa-Dev \(Apple\) cocoa-dev@lists.apple.com
Message-ID
I'm using a UIButton subclass as an accessory view in a table cell. I create
the button in my cell's initWithStyle:reuseIdentifier: method, as shown below.
Here's the problem: I touch inside my button, but even when I drag my finger
out of the button and lift up, it's my up inside action that
(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com
This email sent to mlist0...@gmail.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
://lists.apple.com/mailman/options/cocoa-dev/mlist0987%40gmail.com
This email sent to mlist0...@gmail.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa
Hi,
I am having problems testing the In App Purchase feature. If I reinstall the
app on a device that has already installed the app with a previous version,
the SKProductsRequest returns a response only with an object on the
invalidProductIdentifiers. If I delete the app from the device and
Sorry, the forward declarations go in your .h files. You still have to import
your MyDocument.h in your implementation files (ie. your CustomView.m files).
What warnings are you getting?
As far as your nil document problem, I don't know. I suspect something is not
setup correctly.
In your
On Feb 15, 2011, at 7:36 PM, Randy Widell wrote:
I would like to have a keyboard shortcut that tags a location on the
waveforms at the location of the mouse cursor. These commands do not make
any sense in the main menu...they could go there, but they would be clutter.
Why do you think they
This should be a FAQ. The topic of Cocoa without Interface Builder comes up on
the list surprisingly frequently, usually from someone who, like you, is
trying to understand how Cocoa really works.
You may be thinking that graphical UI builders (like Interface Builder) are
somehow a crutch and
On Jan 18, 2011, at 2:46 AM, Leanne Attard wrote:
When i click on the title bar…
You don't normally handle titlebar clicks yourself. What are you trying to do
with click on the titlebar?
_murat___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
file a bug please?
-Ken
Cocoa Frameworks
On Sat, Jan 8, 2011 at 5:16 PM, mlist0...@gmail.com mlist0...@gmail.com
wrote:
I create an NSFileWrapper for a directory hierarchy like this (all items are
directories, no files):
test-dir/
test-dir/inner-dir-a
test-dir/inner-dir-b
test-dir
I create an NSFileWrapper for a directory hierarchy like this (all items are
directories, no files):
test-dir/
test-dir/inner-dir-a
test-dir/inner-dir-b
test-dir/inner-dir-c
The wrapper's serialized representation weighs in at around an astounding 1mB
(1,022,234 bytes)!
Seems that the
Hi, I have set a custom cell showing icon + text on my outlineView column.
It works well, but whenever I double click on the row to edit the text, I
get a text field editor bigger than the cell itself and covering the left
icon. How can I make this text field editor fit the cell bounds and not
...@me.com
Data: Sat, 27 Nov 2010 08:48:34 -0800
A: Ben Haller bhcocoa...@sticksoftware.com
Cc: gMail.com mac.iphone@gmail.com, Cocoa List
cocoa-dev@lists.apple.com
Oggetto: Re: NSTask with unzip
The way I get around this is to use an NSFileHandle for standard out instead
of an NSPipe. It's
Hi, I can properly unzip a zip file launching a NSTask with /usr/bin/unzip
The task saves the unzipped file to the disk, then a I read the unzipped
file in a NSData. Well. My question is:
Can I do the same job without saving the unzipped file to the disk?
I have tried to set the standard output
. Do you know any better way?
Regards
Leonardo
Da: Martin Wierschin mar...@nisus.com
Data: Fri, 12 Nov 2010 15:34:16 -0800
A: gMail.com mac.iphone@gmail.com
Cc: Cocoa Dev List cocoa-dev@lists.apple.com
Oggetto: Re: RTFDFromRange returns different data
I workedaround the problem archiving
Hi,
I had an
IBOutlet idabc;
in my MYObject class header file.
This outlet abc was properly displayed on the Inspector Connection panel
on IB, when I selected the blue cube MyObject. Well.
Lately I removed the abc outlet from the header, recompiled, run, etc...
But on IB I still see that
Hi,
I have followed the rules written on the pdf doc
WebKit Plug-In Programming Topics but I can't make
Safari load my first webplugin yet.
Does a webplugin require a signature, something not reported on the docs?
I run MacOS X 10.6.5, Safari 5.0.2. I compile with Xcode 3.2.3, with SDK
10.6,
I find this issue very puzzling.
I read a plist dictionary containing one ony key-value: an NSData coming a
RTFD string. I read this value, I do NO changes, then I re-save it to a
different plist file, and now the 2 files are different. I have inspected
these 2 plist files with TextWrangler, and
RTFDFromRange returns different data even if I do not change the variables
mTextMutableString nor mDocAttributes. I just call several time:
NSData *textData = [mTextMutableString RTFDFromRange:textRange
documentAttributes:mDocAttributes];
NSLog(@textData %@, textData);
And 'every time' I get a
= [NSKeyedArchiver
archivedDataWithRootObject:mTextMutableString];
It works like a charm. Thanks.
And I think there should always be a way to get the same out-data, given
the same in-variables.
--
Leo
Da: glenn andreas gandr...@mac.com
Data: Thu, 11 Nov 2010 08:21:18 -0600
A: gMail.com mac.iphone
Sherm,
I verified, if I quit, the file being copied gets properly deleted, because
before quitting, in the metho
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
for me.
--
Leo
Da: Sherm Pendley sherm.pend...@gmail.com
Data: Sun, 7 Nov 2010 19:33:26 -0500
A: gMail.com mac.iphone@gmail.com
Cc: Ken Thomases k...@codeweavers.com, cocoa-dev@lists.apple.com
Oggetto: Re: Interrupt copyItemAtPath
On Sun, Nov 7, 2010 at 6:06 PM, gMail.com mac.iphone
to interrupt the copy.
For example, if the file to copy is 20GB and after 1GB copied I would like
to stop the copy, how can I do? Should I delete the destination file such a
way to create an error?
Any idea?
--
Leo
Da: Ken Thomases k...@codeweavers.com
Data: Sat, 6 Nov 2010 20:29:43 -0500
A: gMail.com
... Could this waiting loop cause some problem?
--
Leo
Da: Sherm Pendley sherm.pend...@gmail.com
Data: Sun, 7 Nov 2010 16:37:19 -0500
A: gMail.com mac.iphone@gmail.com
Cc: Ken Thomases k...@codeweavers.com, cocoa-dev@lists.apple.com
Oggetto: Re: Interrupt copyItemAtPath
On Sun, Nov 7
I copy a 14GB file with
- (BOOL)copyItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath
error:(NSError **)error
Since the copy could take several minutes, I would grant the user the
opportunity to interrupt the copy pressing a given button.
Is a way to tell copyItemAtPath to break the job
I have put some buttons within a drawer.contentView
The top most button gets cut by 20 pixels because the contentView result
shorter than its superview height. So, at the top of the drawer I always see
a gray rectangle, 20 pixels height, where I can't draw in.
Please, how can I use the whole
Hi,
when you remove an icon from the Dock you get an animation fuff and a
sound. Well, in some of my works I reproduced the same functionality, but I
can't recall which project it was. I unsuccessfully searched on the web too.
Nothing. I even recall that the sound was an OS resource. And the
Forget. I have found it.
I searched for the sound I recalled fuff and I found poof then I
searched for animation poof and I found NSAnimationEffectPoof, then
NSShowAnimationEffect(NSAnimationEffectPoof, [NSEvent mouseLocation],
NSZeroSize, NULL, NULL, NULL);
--
Leonardo
/slasktrattenator%40gmail.com
This email sent to slasktrattena...@gmail.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help
in a while.
And If I have the track dict only, I can always know its ID and retrieve its
position on the Tracks dictionary.
Smart.
Thanks to everybody.
--
Leo
Da: Greg Parker gpar...@apple.com
Data: Mon, 4 Oct 2010 14:40:31 -0700
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Hi,
On the docs I read that for both the NSDictionary's allKeys and allValues,
the order of the elements in the array is not defined. Ok.
But, are the two arrays aligned each other?
I mean, I have a dictionary containing several entries whose key is, e.g.
@0, @3, @42,...
I show these entries on a
])
return item;
}
--
Leo
Da: Ken Thomases k...@codeweavers.com
Data: Mon, 4 Oct 2010 16:31:17 -0500
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: allKeys and allValues
On Oct 4, 2010, at 4:21 PM, gMail.com wrote:
On the docs I read that for both
Hi,
I guess the answer to my simple question is no, but figured I better
ask before I go digging elsewhere.
I have a QTMovie, initialized with a MP3 file downloaded from a remote
server (i.e -initWithURL:). Is it possible to extract the raw data
from the QTMovie object, so I can save the MP3 in
would suggest writing a custom
URL protocol that writes the incoming data to disk (or in-memory), while
passing out to QuickTime.
On 1 Oct 2010, at 16:03, slasktrattena...@gmail.com wrote:
Hi,
I guess the answer to my simple question is no, but figured I better
ask before I go digging
correct scheme.
On 1 Oct 2010, at 17:38, slasktrattena...@gmail.com wrote:
Thanks. This was my idea too, but I was under the impression I cannot
feed QuickTime with incoming data? Admittedly, I haven't really
scrutinized the API. Will do now.
On Fri, Oct 1, 2010 at 6:00 PM, Mike Abdullah
On Sun, Sep 26, 2010 at 5:39 PM, Jeff Johnson
publicpost...@lapcatsoftware.com wrote:
On Sep 23, 2010, at 6:13 PM, slasktrattena...@gmail.com wrote:
In this particular case, though, I might just as well get rid of the
timer altogether and go for NSObject's
performSelector:afterDelay
problem at the ports. To be honest my
application appends an info at the end of the url, like this
abc.txt?version=123 when invoking stringWithContentsOfURL:encoding:error
Any idea on how to solve this problem?
--
Leo
Da: Andy Lee ag...@mac.com
Data: Fri, 17 Sep 2010 08:58:29 -0400
A: gMail.com
Thanks all for the input. I'll take Scott's and Gregory's advice to
not retain the timer. I've seen this advocated before, but always felt
uneasy about not retaining my pointers. It just goes against all I
ever learned about Cocoa.
In this particular case, though, I might just as well get rid of
Hi,
Is this an over-release?
timer = [ [NSTimer scheduledTimerWithTimeInterval: ...] retain];
...
[timer invalidate];
[timer release];
I've seen this pattern so many times I figured it was correct,
although it doesn't seem to comply with the memory management rules
(i. e. the timer is first
Hi,
which port must be open on the Mac in order to get a response from the
server when calling stringWithContentsOfURL ?
My method calls a small file posted on my web site, so the path is a
http://www...
It works pretty well, but some of my clients say that they get a nil
response, even if they
Hi,
I need to backup only these files changes (not the content):
Label color in the Finder
Filename (uppercase, lowercase)
Permissions
Lock Status
So I check the st_ctime of the files and detect whether to copy or not to
copy their attributes with FSSetCatalogInfo. The problem is
Hello,
This problem was introduced in Mac OS X 10.6 and has remained unsolved
ever since.
I've got a timer that polls iTunes for its player position every
second. I used to use ScriptingBridge for this task:
if ( [iTunes isRunning] ) {
if ( [self isPlaying] ) return [iTunes playerPosition];
Hi Dave,
Thanks for your reply.
On Wed, Sep 8, 2010 at 7:18 PM, Dave Keck davek...@gmail.com wrote:
After the release of Snow Leopard, it seems that [iTunes isRunning]
returns YES for a short while even after the application has quit (I
believe this applies to all apps, not just iTunes, but I
On Thu, Sep 9, 2010 at 12:13 AM, Dave Keck davek...@gmail.com wrote:
I don't think performance is going to be a big issue with the process
APIs; at any given time a user probably isn't going to have over 20 or
30 foreground+background apps running, so even iterating over each one
shouldn't
Some audio software does a similar thing for adjusting on screen knobs. I much
un-love it.
_murat
On Aug 19, 2010, at 6:43 PM, Sherm Pendley wrote:
One such exception would be 2d or 3d graphics apps, where it's
expected to have a tool that allows the user to click and drag to
scale or
Hello,
I've got a standard NSTableView with text cells. I want the field
editor to pop up when the user clicks on the cell, but not when
pressing the return key (which triggers another action). How can I
accomplish this? I've got a feeling there's a real simple solution,
but I just cannot find
On Wed, Aug 11, 2010 at 7:16 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Wed, Aug 11, 2010 at 10:12 AM, slasktrattena...@gmail.com
slasktrattena...@gmail.com wrote:
Hello,
I've got a standard NSTableView with text cells. I want the field
editor to pop up when the user clicks on the cell
On Apr 25, 2010, at 7:01 PM, ML wrote:
Does anyone know of a resource that helps understand how to NOT use interface
builder for developing applications?
Some variant of this question pops up here every now and then. Quoting from a
post of my own:
Interface Builder is a fundamental part
Hi,
I want to copy all the folder's attributes, so instead of using the Cocoa
API I have to use FSSetCatalogInfo. This requires an FSRef, so I use
FSPathMakeRef or FSPathMakeRefWithOptions, e.g.
err = FSPathMakeRefWithOptions((UInt8*)cSrcPath,
kFSPathMakeRefDoNotFollowLeafSymlink, srcRef, NULL);
.
--
Leonardo
Da: Jens Alfke j...@mooseyard.com
Data: Wed, 17 Mar 2010 09:07:26 -0700
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: Case sensitive fileName
On Mar 17, 2010, at 6:35 AM, gMail.com wrote:
Now I need to get its real case sensitive file
Data: Thu, 25 Mar 2010 16:08:03 -0700
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: Sync .DS_Store files
On Mar 25, 2010, at 9:42 AM, gMail.com wrote:
I am trying to sync a folder containing several files and the hidden
file
.DS_Store. I know
Thank you Jean,
I have now read that docs, so I will not copy the contents of that folder,
nor copy it empty.
Da: Jean-Daniel Dupas devli...@shadowlab.org
Data: Fri, 26 Mar 2010 14:44:20 +0100
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: Sync .DS_Store
Hi,
I am trying to sync a folder containing several files and the hidden file
.DS_Store. I know that this file contains special info about the directory,
so I sync it too. Should I really do that?
The problem is that when I modify a file,
/Dst/A/B/file.txt
e.g. I replace it with a newer file,
or with FSSetCatalogInfo and
kFSCatInfoAttrMod or with getattrlist and ATTR_CMN_CHGTIME
Regards
--
Leonardo
Da: Ron Fleckner ronfleck...@ozemail.com.au
Data: Mon, 22 Mar 2010 10:20:44 +1100
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: ATTR_CMN_CHGTIME
On 22/03/2010, at 10
and the ATTR_CMN_MODTIME, so I presume I own this file
system object.
Any idea?
--
Leonardo
Da: Ken Thomases k...@codeweavers.com
Data: Mon, 22 Mar 2010 03:35:52 -0500
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev@lists.apple.com
Oggetto: Re: ATTR_CMN_CHGTIME
On Mar 21, 2010, at 6:01 PM
...@gmail.com wrote:
I'm trying to use run multiple CoreImage operations concurrently using
NSOperation. Sometimes it works, sometimes it doesn't. Smells like what
you'd get when trying to run multiple operations that are not thread safe.
Before I dig in much deeper, am I wrong that running
Hi,
I cannot find a Cocoa API to set the Attribute Modification Date of a
file. If there is a way, may you please let me know?
In the meantime, on MacOS X 10.5.8, I have been trying to use setattrlist
with ATTR_CMN_CHGTIME, unsuccessfully. And setattrlist returns 0, as
everything went ok. While
I'm trying to use run multiple CoreImage operations concurrently using
NSOperation. Sometimes it works, sometimes it doesn't. Smells like what you'd
get when trying to run multiple operations that are not thread safe.
Before I dig in much deeper, am I wrong that running multiple concurrent
Hi, I have a file path
/Folder/filename.txt
The API fileExistsAtPath says that it exists.
Now I need to get its real case sensitive file name, which is indeed e.g.
FileName.txt
How can I get it in a fast way? I thought by its inode, but I can't really
know how to do that.
I know I can
Mar 2010 14:41:05 +
A: gMail.com mac.iphone@gmail.com, Apple Cocoa Develop Develop
cocoa-dev@lists.apple.com
Cc: Jeremy Pereira jeremyp...@me.com
Oggetto: Re: Case sensitive fileName
NSURL* url = [NSURL fileURLWithPath: path];
NSError* error = nil;
NSArray* keysIWant = [NSArray
);
if(result != NULL) return [NSString stringWithCString:result
encoding:NSUTF8StringEncoding];
else return filePath;
}
Thank you again
--
Leonardo
On Mar 17, 2010, at 6:35 AM, gMail.com wrote:
Now I need to get its real case sensitive file name
Hi,
as you know fileAttributesAtPath contains the creation date and the
modification date, but it doesn't contain the backup date (and even the
lastAccessDate). So, I use FSGetCatalogInfo with kFSCatInfoBackupDate. It
works well.
Anyway, I have noticed that if in the Finder (MacOS X 10.6.2) I
Yes, but I need just the last backup date to understand whether the file has
been modified after the last backup.
If both the source and destination files have been modified after the last
backup date, I ask the user for what to do (replace src or dst).
Da: Eric E. Dolecki edole...@gmail.com
the time.
Regards
--
Leonardo
Da: Kyle Sluder kyle.slu...@gmail.com
Data: Sun, 14 Mar 2010 18:42:51 -0700
A: gMail.com mac.iphone@gmail.com
Cc: Gwynne Raskind gwy...@darkrainfall.org, cocoa-dev@lists.apple.com
Oggetto: Re: mount dmg disk
On Sun, Mar 14, 2010 at 1:41 PM, gMail.com
I am trying to code my own API isFileOnARemoteVolume since I didn't find
anything similar on Cocoa. If any, please let me know.
I use statfs to detect whether the filePath I pass as variable is on a
remote volume. Anyway, this wont work in case of broken symlinks.
So I have used a dirty trick to
Will these methods work on any volume mounted on my desktop?
(e.g. Local volume, remote volume, disk image volume, on webdav, smb, ftp,
afp, hfs, on remote win disk...)
Thanks
Leo
Da: Kevin Perry kpe...@apple.com
Data: Mon, 1 Mar 2010 11:37:06 -0800
A: gMail.com mac.iphone@gmail.com
Cc: cocoa-dev
For the archives-
I ran into the problem where NSScrollviews from an NSCollectionViewItem's
template view do not work properly in a collection view. This is a problem that
was reported on this list back in 2007, and reported as a bug then, but is
still broken in 10.6.2. I couldn't find a
1 - 100 of 190 matches
Mail list logo