On 24 Sep 2009, at 13:15, Bill Bumgarner wrote:
On Sep 23, 2009, at 10:52 PM, Gerriet M. Denkmann wrote:
NSLog(@"%s setting url to Downloads; was %@",__FUNCTION__, [self
fileURL]);
// was: file://localhost/dev/rdisk1s10
Wait. What?
Where the HECK did that URL come from
On Sep 24, 2009, at 12:05 AM, Gerriet M. Denkmann wrote:
Where the HECK did that URL come from?
I entered it.
/dev/rdisk1s10 is a raw device. It isn't a filesystem, not at all.
You are absolutely right. The app is called HFS+ Checker and it does
just this: it reads a raw partition (which
On Sep 23, 2009, at 7:43 PM, Bill Bumgarner wrote:
On Sep 23, 2009, at 6:37 AM, Jakub Bednar wrote:
Does please anybody know, what am I missing? Maybe some explicit
specification that my plugin is 64-bit capable?
Did you turn on GC?
System Preferences running under 64 bit mode on Snow Leo
___
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/Unsubscribe/Update your Subscription:
http://lists.apple.com
Post a mouse down event and the sceensaver engine will remove it for
you.
That is a good idea -- except I have no idea how to do that.
Could you give me a hint how to achieve that? (class / method names?)
(Sorry, for asking shuch a dumbquestion.)
BTW: just a mouse move event would suffice, is t
Hi,
I've been looking at the Authenticator example code as a starting point
for a (very simple) Cocoa client/server message-passing program.
Now in the 'client' section there is a line
// Lookup the server connection
NSConnection *conn = [NSConnection
connectionWithRegisteredNa
hello,
i have an app that when added to a user's login items with the hide box checked
it still shows its main window when starting up on leopard. on snow leopard it
properly stays hidden. on a personal note i had this same issue with mail on
leopard and i have a feeling there might be some k
Hi all,
I'm experiencing the weirdest conditional data loss that I've seen in
a long time. One of my managed objects has an NSImage property (stored
as Transformable). Now here's the bug in summary: If the app bundle
which initially created the persistence file (SQLite or XML) gets
moved,
On 24/09/2009, at 10:14 PM, Rick C. wrote:
hello,
i have an app that when added to a user's login items with the hide
box checked it still shows its main window when starting up on
leopard. on snow leopard it properly stays hidden. on a personal
note i had this same issue with mail on
On 2009 Sep 24, at 05:47, Ron Fleckner wrote:
In part, it says:
"Due to a bug in Mac OS X 10.4 and later
(up to including 10.4.2, which is the latest release at the time
this was written), LoginItemsAE can't handle hidden login items
properly. That is, the value of kLIAEHidden is alway
On Sep 24, 2009, at 8:38 AM, Milen Dzhumerov wrote:
Hi all,
I'm experiencing the weirdest conditional data loss that I've seen
in a long time. One of my managed objects has an NSImage property
(stored as Transformable). Now here's the bug in summary: If the app
bundle which initially crea
I am thinking about an iPhone app which (while it is running) collects
data and stores it into some file.
And there should be a Mac app, which, when the iPhone is connected to
the computer, transfers the collected data to the Mac.
Like iPhoto does with photos.
Is this possible? Or are iTunes
thank you both. yes apple events and i just confirmed that adding it manually
does work. so i do need to update my code. but i'll be on the lookout for
potential LSSharedFileList issues. thank you!
rick
From: Jerry Krinock
To: cocoa dev
Sent: Thursday,
This is possible, but only over WiFi. I'm currently working on a
feature to do bi-directional syncing between the Mac and iPhone
versions of my app. I'm also using Bonjour for self-discovery (if you
go this route, make sure to register your service at www.dns-sd.org)
Feel free to file an en
On 24 Sep 2009, at 14:20, I. Savant wrote:
We're probably going to need a bit more information than this. You
say the icons are "gone". I assume your entity instances are still
there and all their other properties are present but only the NSImage
attribute is coming back with an empty image?
On Sep 24, 2009, at 9:59 AM, Milen Dzhumerov wrote:
You got it right first time, many thanks. The images were created
using NSImage's initByReferencingFile: which I presume only
references the image file. That's what I thought at first (that
CoreData stored the path to the image within the
On Sep 24, 2009, at 2:14 AM, Gabriel Zachmann wrote:
I want to catch a few key events in my screen saver (like cursor
keys, space, return),
but if the user clicks any other key, I want the screen saver to
exit, just like other screen savers that don't catch any keyboard
events.
In that c
On Sep 23, 2009, at 6:31 PM, James wrote:
Hi all,
I have downloaded the "RecordAudioToFile" sample from the
apple.dev sample code.
I want to implement to record the users voice, so the sample is
useful for me. But it is
a Carbon-base application. The application I am working on is a
Coc
On Sep 24, 2009, at 6:38 AM, Ricky Sharp wrote:
This is possible, but only over WiFi. I'm currently working on a
feature to do bi-directional syncing between the Mac and iPhone
versions of my app. I'm also using Bonjour for self-discovery (if
you go this route, make sure to register your s
On Sep 24, 2009, at 4:11 AM, Arthur C. wrote:
The example is for inter-application communication on one machine; I'd
like to have that between two machines...
NSConnection is part of Distributed Objects. It's possible to run DO
between two machines across a TCP connection, but it takes a bi
I'm using NSConnections (based on NSSocketPorts) for distributed
object communications. We just Bonjour to publish NSConnection server
availability on the network.
However, if you just disconnect the ethernet from the server machine
the Bonjour publish 'lingers' for a bit on the client mac
In that case, then you should pass the unwanted event to the
superclass, which will handle the event in that case.
Ah, you mean like this, I suppose?
[super keyDown: theEvent];
That seems to work like a charm. Thanks a million!
(For the record, I thought that user code is not
Hi, Keith. Couple of thoughts:
In my NSTextView subclass’s -drawViewBackgroundInRect: method, I get
the range of characters in the current -visibleRect: using code
similar to this:
-visibleRect is a much larger rect than you need, I should think.
What's wrong with using the rect passed to
Hi all,
I am encountering an error that I have not seen before.
While saving in a NSManagedObjectContext I am encountering an error
that reports a to-many relationship as 'too large'.
This relationship has ~10,000 members but each member is relatively
simple consisting of a few short strings
I wrote a screen saver that basically zooms images at a frame rate of
10 frames/sec.
When running, it uses about 60% CPU !
This could be a bit annoying sometimes, if there are other compute
intensive processes running, such as video conversions.
Is there anything I could do to reduce the CP
On Thu, Sep 24, 2009 at 11:43 AM, Gabriel Zachmann wrote:
> I wrote a screen saver that basically zooms images at a frame rate of 10
> frames/sec.
>
> When running, it uses about 60% CPU !
> This could be a bit annoying sometimes, if there are other compute
> intensive processes running, such as v
Hey list -
I'm trying to determine what the best approach for writing a Core Data
fetch predicate to match objects with a specific set for a to-many
relationship is, so I'd appreciate some guidance.
A portion of my Core Data model looks like so --> http://is.gd/3Dyp4
I am attempting to fet
Hi,
I am trying to display an Image whose background is transparent as a
buttoncell. Then the application background of my app or the desktop is
visible and when I clicked on it, it focuses to the visible app.
Why it is so happening.
Code goes like this.
Subclassed the NSButtonCell and tried to
If you send the unwanted events to ScreenSaverView parent of your view
then it should terminate gracefully.
[super theEvent];
-- john
On Sep 24, 2009, at 1:14 AM, Gabriel Zachmann wrote:
Post a mouse down event and the sceensaver engine will remove it
for you.
That is a good idea -- exc
My bad. I apologize for wasting bandwidth.
Problem had nothing to do with relation set size.
*-
* Stop spam before it gets to your mailbox! Support blocklists.
* I use http://www.spamcop.net/.
* my PGP key id: 0x63fa758 keyserver: http://keyserver1.
Greetings: I have a customized UIPickerView containing a list of names.
Let’s say I have an array of ten (10) names = {“Alfred”... “Zena”}.
The normal way of showing this list is a singular, static list of an array
from beginning to end.
I would have to return to the beginning vs automatically c
On Wed, Sep 23, 2009 at 11:21 PM, Symadept wrote:
> Hi,
> I am trying to display an Image whose background is transparent as a
> buttoncell. Then the application background of my app or the desktop is
> visible and when I clicked on it, it focuses to the visible app.
>
> Why it is so happening.
>
I want to to set some controls' targets programmatically, but don't
need to change their actions. Interface Builder shows a binding for
"Target", which is perfect, but I can't find a way to set a control's
action in IB *without* hooking up a target.
What's the right way to do this? I could create
In my embarrassment at my haste to post to the list I have compounded
the error. :(
For archive posterity, the 'bug' was a case of mistaken identity. As I
have since learned, the 'too large' error notification was triggered
by a value-violation in a bounded, 'Number'-attribute that happened
I just found and looked at the BoundButton sample code, and see that I
missed the big, obvious "Selector Name" field in the inspector's
target binding section. I feel special. All's working now.
On Thu, Sep 24, 2009 at 5:11 PM, Sidney San Martín wrote:
> I want to to set some controls' targets pr
All right, so my original question still stands after all (and, I'm
sorry, I should've done more poking around before posting here).
target/action binding behaves differently from a connection: I can't
implement validateMenuItem: (it's never called) and I don't see a way
to send the control itself
Hi Ross,
Many thanks for the reply.
The reason I have to use a larger rect than just what gets passed in is that I
had so many drawing problems and artefacts if I didn't expand it to the whole
visible rect, for some reason.
> 4. Cache some of this information instead of recalculating
> it. For
>
> Question: How can I change this behavior to allow LOOPING to the beginning
> of the scroll list?
>
Ric,
I just did a quick search for "continuous UIPicker" and found a page
discussing this...
http://www.iphonedevsdk.com/forum/iphone-sdk-development/4479-uipickerview-circular.html
Most commo
Hi,
In IB I have put some subview (NSImageView) within a NSView.
Now, in IB, I can clearly see that the subview A is over the subview B.
Instead when I build and run the application, the subview B is over the
subview A. Too bad!
It seems that the Front-Back drawing order of the subviews has been
r
On Thu, Sep 24, 2009 at 6:59 AM, Milen Dzhumerov wrote:
>
> On 24 Sep 2009, at 14:20, I. Savant wrote:
>
> We're probably going to need a bit more information than this. You
>> say the icons are "gone". I assume your entity instances are still
>> there and all their other properties are present
Hi all. I have a menu-bar background app that relies on global hotkeys. I
have been using Carbon¹s RegisterEventHotKey to register callbacks for my
hotkeys in Leopard. Is this still the preferred/only method for global
hotkeys in Snow Leopard?
Presuming it is, here is my problem, which relates
On Sep 24, 2009, at 4:28 PM, gMail.com wrote:
It seems that the Front-Back drawing order of the subviews has been
reverted. How to fix this problem?
Overlapping sibling views aren't really supported in AppKit. If you
want to do this kind of thing, you're better off using CoreAnimation
lay
On 25/09/2009, at 9:28 AM, gMail.com wrote:
It seems that the Front-Back drawing order of the subviews has been
reverted. How to fix this problem?
Make sure view A is an actual subview of view B, not just sitting at
the same level. Views at the same level can't overlap.
--Graham
__
On Thu, Sep 24, 2009 at 5:36 PM, Jens Alfke wrote:
>
> On Sep 24, 2009, at 4:28 PM, gMail.com wrote:
>
> It seems that the Front-Back drawing order of the subviews has been
>> reverted. How to fix this problem?
>>
>
> Overlapping sibling views aren't really supported in AppKit. If you want to
>
On 24 Sep 2009, at 3:24 PM, Frederick Bartram wrote:
My bad. I apologize for wasting bandwidth.
Problem had nothing to do with relation set size.
It won't have been a waste of bandwidth if you post the meaning of the
error message, and the solution, for the benefit of the archives.
Hello all. I am working on an application that contains a NSTableView.
The table view has a single column which display several options.
Based on the row that the user selects, something is displayed. When
the application is first launched, the first row in the table is
selected by default (but not
On Sep 24, 2009, at 8:36 PM, Jens Alfke wrote:
Overlapping sibling views aren't really supported in AppKit.
No longer true as of Leopard.
--
I.S.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mod
I'm scanning a directory for plugins for my app. Given a path, what's
the right way to tell if it's a path to a bundle?
TIA
--
Rick
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to th
I have an NSTableView and I have Drag & Drop working between table
views for my application where I encode the object to an NSData and
write it to the NSPasteboard. But now I want to create a string
representation of the object, add it to the pasteboard as well, and
then when the object is
Hi,
I am trying to make my NSTableView display various images for various states
of the cells.
Say, Default, Highlighted and MouseOver.
Can anybody help me how to achieve this. I know MouseOver will be pretty
difficult. Immediately I want to hit the two things first, Default &
Highlighted and Di
On Sep 24, 2009, at 6:41 PM, Rick Mann wrote:
I'm scanning a directory for plugins for my app. Given a path,
what's the right way to tell if it's a path to a bundle?
-[NSWorkspace isFilePackageAtPath:].
—Jens___
Cocoa-dev mailing list (Cocoa-dev@
On Sep 24, 2009, at 5:07 PM, John McIntosh wrote:
I assumed that I could send the same deselectAll message in either an
awakeFromNib function or applicationDidFinishLaunching. However,
neither of these clears the selection.
Make sure you've checked the table's "Empty" checkbox (allow empty
Hi,
Can any help me how to create a view which contains Spectrum Bar (Just as
RGB Sphere in NSColorPanel) and an Alpha bar?
Thanks in advance
Regards
Mustafa
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or m
On Sep 24, 2009, at 20:09:02, Jens Alfke wrote:
On Sep 24, 2009, at 6:41 PM, Rick Mann wrote:
I'm scanning a directory for plugins for my app. Given a path,
what's the right way to tell if it's a path to a bundle?
-[NSWorkspace isFilePackageAtPath:].
Thanks Jens. If I create a custom ex
On 25/09/2009, at 1:14 PM, Symadept wrote:
Can any help me how to create a view which contains Spectrum Bar
(Just as
RGB Sphere in NSColorPanel) and an Alpha bar?
NSImageView?
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
P
I am encountering an error that I have not seen before.
While saving in a NSManagedObjectContext I am encountering an error
that reports a to-many relationship as 'too large'.
This relationship has ~10,000 members but each member is relatively
simple consisting of a few short strings and numbers.
Hi Graham,
Yes. But do you have any other ways to handle this.
I want something like this
I could be able to pick the color from the spectrum band and could change
the Alpha (This I can manage to some extent, Immediately I need to handle
the picking colour from the spectrum.)
Regards
Mustafa
O
tsk, tsk - lazy, lazy.
http://mattgemmell.com/2008/12/08/what-have-you-tried
http://catb.org/~esr/faqs/smart-questions.html
C'mon, get real. No-one's going to write your code for you. If you
can't find a free class somewhere, subclass NSView yourself. A
location <--> RGB mapping is pretty
58 matches
Mail list logo