On 9/10/2009, at 2:51 PM, M Pulis wrote:
Naming a file with leading period is THE traditional unix way of making
a file less visible
to the casual observer. OSX is based on unix.
(Actually, isnt OSX the most widely used OS legally able to use the
name 'Unix'?)
The dialog message above i
On Oct 8, 2009, at 7:55 PM, Dave Carrigan wrote:
On Oct 8, 2009, at 6:51 PM, M Pulis posted a screen capture of a
finder error.
That's just the finder being nice to the non-techies. The longer "if
you name this with a dot then you'll have to hit a special key
combination in order to see
Cool, thanks for the advice. I was a bit vague in my approach. I did in
fact separate model from view in my implementation. What you guys are
saying about better modeling the connections seems to be the right
approach. On another note, Graham, I looked at your framework and it looks
very intere
Dave Carrigan wrote:
That's just the finder being nice to the non-techies. The longer
"if you name this with a dot then you'll have to hit a special key
combination in order to see it" explanation is more confusing and
unnecessary. It certainly doesn't mean that .files are not allowed
or
On Oct 8, 2009, at 8:28 PM, David Melgar wrote:
I read a little on ICU and now understand that sqlite by default
does not handle case insensitive unicode.
Is there an easy way to make sqlite use ICU on the Mac, or do I have
to build it myself with ICU enabled?
Probably the easiest thing to
Hello,
My Core Data iPhone app throws an NSRangeException when I call
(or when the OS calls) [moc processPendingChanges] after I
create the first object of a given entity.
I've commented-out my interface down to the bone and put
breakpoints on remaining methods. It appears that none of my
File a bug against NSSpellChecker and we will look into it.
Douglas Davidson
On Oct 8, 2009, at 1:35 PM, MacProjects wrote:
Hello!
I'm maintaining system-wide Latvian spell checker for ~ 2 years. It
works as intended on 10.4 and 10.5.
Just made a dummy spellcheck for 10.6. checking out th
I read a little on ICU and now understand that sqlite by default does
not handle case insensitive unicode.
Is there an easy way to make sqlite use ICU on the Mac, or do I have
to build it myself with ICU enabled?
Based on the derived property example, it seems that I would need to
duplicate
On Oct 8, 2009, at 4:01 PM, Todd Heberlein wrote:
Of course, I can't expect my users to go into /etc/authorization to
change the entry themselves, and I'm not going to much around with
it from my code, so I guess I'll wait for Apple to fix this. I'm not
even sure which code is to blame (th
Congratulations, it looks like you got the hard parts!
On 2009 Oct 08, at 01:23, Zhang Li wrote:
I tried to use [cell setIntValue:NSOnState] before [cell release] to
set the checkbox to on state, but failed. Looks like [NSButtonCell
SetIntValue] is not the right way to change checkbox state
On Oct 8, 2009, at 6:51 PM, M Pulis posted a screen capture of a
finder error.
That's just the finder being nice to the non-techies. The longer "if
you name this with a dot then you'll have to hit a special key
combination in order to see it" explanation is more confusing and
unnecessar
Hi All
I have several cases of the following pattern in my code:
- (void)start
{
[[Something alloc] initWithDelegate:self];
}
- (void)finishWithSomething:(Something*)something
{
[something release];
}
The intent of course is that the Something object calls back the
caller wit
Hello!
I'm maintaining system-wide Latvian spell checker for ~ 2 years. It
works as intended on 10.4 and 10.5.
Just made a dummy spellcheck for 10.6. checking out the new SDK. Works
great...
...except for the (only) new "Automatic by Language" option introduced
in 10.6.
Problem descriptio
Hi All,
I want to place a checkbox on each NSTableView column header, when user click
on it, the checkbox can be set to checked/unchecked state accordingly.
I successfully put checkbox on NSTableView column header by using following
code, I can see the checkbox there, but don't know how t
<>
On Oct 8, 2009, at 6:31 PM, Kyle Sluder wrote:
On Thu, Oct 8, 2009 at 6:18 PM, M Pulis wrote:
Please do not advise this hack. It is not supported by the Finder.
Erm? The Finder very much supports not displaying dot files. And
open/save dialogs even support toggling their display (Cmd-Op
Dot files have been used by many program, for many years, in all UNIX
based systems, for all kinds of reasons. To claim that they are
"reserved for the system" is patently false. Just cd around your file
system and try a few "ls -a" 's here and there.
What has "being supported by the finder
M Pulis wrote:
On Oct 8, 2009, at 4:37 PM, I. Savant wrote:
On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote:
Does anyone know if it's possible to programmatically hide an single
item
(e.g. a file or a mounted disk or a directory) from the Desktop?
Rename it so that it starts with a period
On Thu, Oct 8, 2009 at 6:18 PM, M Pulis wrote:
> Please do not advise this hack. It is not supported by the Finder.
Erm? The Finder very much supports not displaying dot files. And
open/save dialogs even support toggling their display (Cmd-Opt-. I
believe?)
> The Finder does not show nor allow
On Oct 8, 2009, at 4:37 PM, I. Savant wrote:
On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote:
Does anyone know if it's possible to programmatically hide an
single item
(e.g. a file or a mounted disk or a directory) from the Desktop?
Rename it so that it starts with a period. "Dot-files" a
On 09/10/2009, at 12:18 AM, Rajendran P wrote:
> How to fetch the Hardware UUID from New Mac Book Pro. Earlier Mac Book's
> system Profiler was showing Hardware UUID but in new machines, It might be
> hidden or stored in any other form/name.
> Is there any command or (c/cpp) api to get that ID?
On Wed, Oct 7, 2009 at 4:48 PM, Scott Ellsworth
wrote:
> On Wed, Oct 7, 2009 at 11:54 AM, James Gregurich wrote:
>> is the group meeting tonight? I haven't seen a notice go out.
>
> I had it scheduled for Oct. 14th - second tuesday. Does this work for you?
Sorry - that should have been "Oct 14t
On Thursday, October 8, 2009, Ken Thomases
> Well, there's also the hidden bit in the file's metadata. It's accessible a
> number of ways:
>
I thought I read somewhere that this isn't always honored. At the
least it's not supported on all file systems, I don't believe. Cant
find references, t
On Oct 8, 2009, at 6:37 PM, I. Savant wrote:
On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote:
Does anyone know if it's possible to programmatically hide an
single item
(e.g. a file or a mounted disk or a directory) from the Desktop?
Rename it so that it starts with a period. "Dot-files" ar
On 9 Oct 2009, at 00:01, David M. Cotter wrote:
Read the documentation
i have extensively read the documentation
tell us what you tried (preferably by posting your code), and we
might be able to help.
i told you: i set the cursor in response to the user pressing enter
after editing a text
On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote:
Does anyone know if it's possible to programmatically hide an single
item
(e.g. a file or a mounted disk or a directory) from the Desktop?
Rename it so that it starts with a period. "Dot-files" are hidden.
--
I.S.
_
On Oct 8, 2009, at 7:01 PM, David M. Cotter wrote:
Read the documentation
i have extensively read the documentation
tell us what you tried (preferably by posting your code), and we
might be able to help.
i told you: i set the cursor in response to the user pressing enter
after editing a te
On Oct 8, 2009, at 16:01, David M. Cotter wrote:
i set the cursor in response to the user pressing enter after
editing a text edit.
then 1/2 second later, the OS sets it back to an arrow.
either ther'es a way to trap that, or there isn't. how do i set a
breakpoint on that?
There isn't.
On 09/10/2009, at 3:20 AM, Fritz Anderson wrote:
It's better to initialise your defaults in your app delegate's -
applicationWillFinishLaunching: method, since it is called at a
completely invariant time during the launch process.
Could you clarify? -[AppController applicationWillFinishLaun
Have you tried breaking on NSCursor -set? How about -push? Or SetThemeCursor()?
___
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)lis
Hi,
Does anyone know if it's possible to programmatically hide an single item
(e.g. a file or a mounted disk or a directory) from the Desktop?
Thanks!
MZ
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moder
On Oct 6, 2009, at 6:30 PM, Kevin Ferguson wrote:
I am running into a problem when the binary to be executed contains
a scanf statement. I want the user to see results and type in input
in real time (like the debugger for standard C tools in xcode). The
issue is that as soon as the task hit
I've had trouble with this too, even though my /etc/authorization
has *my* strings in it. (I just checked again). I gave up and
moved it to my "fix someday" list. Haven't checked in Snow Leopard
yet. Here's my story:
I found the following bug: In my Snow Leopard created project the
p
Read the documentation
i have extensively read the documentation
tell us what you tried (preferably by posting your code), and we
might be able to help.
i told you: i set the cursor in response to the user pressing enter
after editing a text edit.
then 1/2 second later, the OS sets it bac
> Have you filed a radar with a use case on why you want to override the
> system behavior?
>
Thanks for your answer!
I just wanted the possibility to change the standard behavior because
everyone I know is used to cmd+tab instead of 4 finger swipe, cmd+tab is
also more powerful because by hitti
Thank you all for your help,
I really couldn't believe something like this could be broken, lol.
Ok, I've found the difference:
On Leopard :
9/10/09 11:45:31 AM iLike Installer[11553] NSConcreteNotification
0x19d6f0 {name = NSWorkspaceDidMountNotification; object =
; userInfo = {
NSDev
On Oct 8, 2009, at 5:02 PM, David M. Cotter wrote:
sorry, yes. when the user types a number in a box and presses
enter, i create a cursor based on that number and set it. one
second later, without any of my code running, the OS seems to change
the cursor to an arrow. i want to find out w
On Oct 8, 2009, at 1:05 AM, Kevin Bracey wrote:
Hi Guys and Gals,
I have some Leopard code that works fine, but on Snow it doesn't,
hoping someone might have an idea how for fix it ;-)
I use an AppleScript to mount a afp
tell application "iLike Installer"
set holdMountPoin
Really?? does nobody know how to do this?
Likely not, because you're not explaining why. You mention "changed
the cursor out from under me" ... is this because you're having some
problem in your app?
sorry, yes. when the user types a number in a box and presses enter,
i create a curso
On Oct 8, 2009, at 4:50 PM, David M. Cotter wrote:
Really?? does nobody know how to do this?
Likely not, because you're not explaining why. You mention "changed
the cursor out from under me" ... is this because you're having some
problem in your app or do you really want to try changing
Really?? does nobody know how to do this?
On Oct 7, 2009, at 5:57 PM, David M. Cotter wrote:
okay what i *really* need to do is override the OS *ever* setting
the cursor to arrow
eg:
[[NSCursor arrowCursor] set];
i want to override that. i need to tell the OS to knock it off.
worst ca
Kevin Bracey wrote:
anyone got any ideas as to what I could be doing wrong or another way
> to listen for an afp to mount?
You could try installing a handler for the kEventClassVolume /
kEventVolumeMounted Carbon Event. (I'm pretty sure this can be done
with parts of the Carbon Event Manager
On Oct 6, 2009, at 8:39 AM, Andreas Hegenberg wrote:
Hi!
In NSEvent.h those multitouch masks are defined:
NSEventMaskGesture = 1 << NSEventTypeGesture,
NSEventMaskMagnify = 1 << NSEventTypeMagnify,
NSEventMaskSwipe= 1U << NSEventTypeSwipe,
NSEventMaskRotate
Greetings LA CocoaHeads.
Tonight, David Hodge will be discussing his experiences with
making public transit applications for the iPhone. Starting with iBART
and iBART Live in the Bay Area, now "CDTA iRide" that he made on
contract for New York state, and a few other related applications.
He'll al
On Thu, Oct 8, 2009 at 2:39 AM, Dave Keck wrote:
> Not sure why it's not working, but if it turns out to be a bug with
> NSWorkspace, you might try using the Disk Arbitration framework
> instead. See DARegisterDiskAppearedCallback().
Note that there's a difference between "disk appeared" and "d
Am 08.10.2009 um 15:07 Uhr schrieb Matthew Lindfield Seager:
Am I missing something obvious? Is this a bug?
No idea. This works for me:
- (IBAction)convertTextToDate:(id)sender
{
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter setLocale:[NSLocale curre
Is it possible to apply an animation effect to a UIImageView's
animationImages? That is, instead of the images switching in a "hard"
fashion, maybe a dissolve transition between them?
--
randy
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
On Oct 8, 2009, at 7:32 AM, Matthew Lindfield Seager wrote:
Which makes me now ask, how does everyone else parse unpredictable
user
input? Do I just try one format after another until I get a non-null
date
(and hope the interpreted date was what the user meant) or do I go
back to
the "not
On 7 Oct 2009, at 11:38 PM, Graham Cox wrote:
On 08/10/2009, at 2:39 PM, John Baldwin wrote:
The AppController has a +initialize method which initializes my
user defaults.
It's better to initialise your defaults in your app delegate's -
applicationWillFinishLaunching: method, since it is c
On Thu, Oct 8, 2009 at 7:29 AM, Gabriel Zachmann wrote:
> I'm writing a simple screensaver that is basically kind of a slide show
> screensaver.
> (So it loads many images over time, but needs to keep only 2-3 in memory at
> any given time.)
>
> I am using Core Animation for some animations on the
On Oct 8, 2009, at 7:29 AM, Gabriel Zachmann wrote:
It seems that about 20% of the time is spent in the Garbage
Collector thread!
Which is a bit surprising to me, since I don't allocate a large
number of objects (I think) -- just a small number of large objects
(the images).
The collec
Tom,
Have you used 'Shark' and 'Sample' to figure out why it is slow?
Please log a bug (bugreporter.apple.com) if you believe it is slow due to the
framework. Please include any samples/shark results, and ideally a test case.
corbin
On Oct 7, 2009, at 11:01 PM, Thomas Wetmore wrote:
> I use th
Am Do.,08.10.2009 um 16:36 schrieb Michael Süssner:
Hi ,
thanks a lot for your tips. after having read the bible and some
experiments I have learned how to do it correctly.
Here the conclusion for the rest of the world:
NSMutableArray *vPolyArray = [[NSMutableArray alloc]
initWithCapaci
Hi ,
thanks a lot for your tips. after having read the bible and some
experiments I have learned how to do it correctly.
Here the conclusion for the rest of the world:
NSMutableArray *vPolyArray = [[NSMutableArray alloc] initWithCapacity:
6];
vPolygon = [[[PolygonShape alloc] ini
I'm writing a simple screensaver that is basically kind of a slide
show screensaver.
(So it loads many images over time, but needs to keep only 2-3 in
memory at any given time.)
I am using Core Animation for some animations on the images.
I've just profiled the screensaver under 10.6 using S
Hi,
How to fetch the Hardware UUID from New Mac Book Pro. Earlier Mac Book's system
Profiler was showing Hardware UUID but in new machines, It might be hidden or
stored in any other form/name.
Is there any command or (c/cpp) api to get that ID?
P.Rajendran or Raju
(for further det
For some reason I didn't think to test with a style that uses a two digit
year. It works as advertised with the short style. The docs say "The
earliest date that can be denoted by a two-digit year specifier". I guess
that since the medium and long styles don't have a "two-digit year
specifier" asso
Breaking news: tonight's meeting will have door prizes generously
donated by Apress.
--Andy
On Oct 7, 2009, at 7:59 PM, Andy Lee wrote:
Alex McAuley will give a talk entitled "The Wonders of kqueue."
What can I say, the guy really likes kqueue.
As usual:
(1) Please feel free to bring qu
Hi all,
I'm trying to hide a tab view item according to the value returned an
accessor in my model.
My accessor simply returns YES or NO, as per:
- (BOOL) schemaIsHidden {
return ([type isEqualToString: @"query"] || [type isEqualToString:
@"source"]);
}
In interface builder, in my docum
Hmmm.
My model now has one property that needs no conversion to go from
NSTextField to NSNumber and one that does.
I'll try to do some more research.
2009/10/8 Volker in Lists
> Hi,
>
> I had to do that in 10.5 - I think - but that is vague memory collected by
> my sieve-brain - it wasn't like
On Oct 7, 2009, at 5:55 PM, Bill Cheeseman wrote:
Can somebody explain this to me? It's on Snow Leopard 10.6.1:
In my window controller's -windowDidLoad method (or -awakeFromNib):
[[self window] setMaxSize:NSMakeSize(800, 800)];
[[self window] maxSize]; // --> {800, 856}
OK, duh, it's becaus
Hi,
I had to do that in 10.5 - I think - but that is vague memory
collected by my sieve-brain - it wasn't like that in 10.4.
Volker
Am 08.10.2009 um 15:07 schrieb Rui Pacheco:
True, that seems to be the problem.
Is this new? I've another NSTextField bound to a property of type
NSNumber
True, that seems to be the problem.
Is this new? I've another NSTextField bound to a property of type NSNumber
that works perfectly and I'm not doing any conversion. The one that works
was added while I was still using 10.5 and the one that doesn't was added
while using 10.6.
2009/10/8 Volker in L
>
> I have a 10.4 style date formatter applied to an NSTextFieldCell. I
> call setTwoDigitStartDate: (tried with both the epoch date and the
> "reference" date) but when I type a date with a two digit year in it sets
> the year to 0009 instead of 2009. Am I missing something obvious?
I've conclud
Hi,
following the suggestions of "Efficiently Importing Data" in the Core
Data Programming Guide, I use a second MOC (without an undo manager!)
to import large amounts of data. While importing, this second MOC is
saved and reset every x cycles to reduce memory usage. When done, it's
saved
Hi,
you need to add a NSNumberFormatter to the text field. Number/String
conversion does not happen automatically.
Volker
Am 08.10.2009 um 13:49 schrieb Rui Pacheco:
Hi,
Problem A,
Yes, all classes are set correctly in the data modeller.
Also, regarding problem B, this is getting strange
Hi,
Problem A,
Yes, all classes are set correctly in the data modeller.
Also, regarding problem B, this is getting stranger.
If I set the type of the variable to int 32 in the modeller and NSNumber in
the class and then assign it a value using [entity value:forKey] it works
just fine. But if I ad
On 08/10/2009, at 8:07 PM, Gabriel Zachmann wrote:
Maybe I missed it, but ... are you compiling with Garbage Collection
= Supported (or Required) under Snow Leopard?
I assumed not since the code is said to run on Tiger.
--Graham
___
Cocoa-dev
P.S.: If somebody needs this sample and doesn't have access to the
Leopard Install Disc I'm happy to send it! Just drop me a line.
Cheers,
Stefan.
Am 07.10.2009 um 22:51 schrieb Stefan Wolfrum:
Okay, here's the answer (thanks to Knut Lorenzen, author of the
excellent (german) book "Mac OS X
And it is maddening because the error occurs outside my code. My
document class implements
Maybe I missed it, but ... are you compiling with Garbage Collection =
Supported (or Required) under Snow Leopard?
Regards,
Gabriel.
smime.p7s
Description: S/MIME cryptographic signature
___
Not sure why it's not working, but if it turns out to be a bug with
NSWorkspace, you might try using the Disk Arbitration framework
instead. See DARegisterDiskAppearedCallback().
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Hi Guys and Gals,
I have some Leopard code that works fine, but on Snow it doesn't,
hoping someone might have an idea how for fix it ;-)
I use an AppleScript to mount a afp
tell application "iLike Installer"
set holdMountPoint to stringForKey "MountPoint"
tel
My software is a computer monitoring tool.
When the user runs out of time, he is kindly asked to close the session. If
he doesn't, the software does... that's why the user should not be able to
delay/cancel the log-out.
I'll give a shot at Stephen's method. Is there any guarantee that the
session
Hi,
I use this in my code:
webView.autoresizesSubviews = YES;
webView.autoresizingMask = (UIViewAutoresizingFlexibleHeight |
UIViewAutoresizingFlexibleWidth);
but I think there is no any bug in my code, because I created a new
project, which has only webview and open any website in it. When I cli
On Oct 5, 2009, at 12:59 PM, Jeff Diamond wrote:
This concept is so fundamental, but I've seen no specific docs about
it, and I haven't succeeded with this after almost 2 years of trying
an reading every tutorial and mail list on the web. As near as I
understand it, what Cocoa calls "outl
74 matches
Mail list logo