On Aug 22, 2011, at 10:45 PM, Rainer Standke wrote:
> I have a command line tool that uses foundation. When I run that tool from
> the command line it does what I need it to do. This includes sending an
> NSNotification to a Cocoa application via the NSDistributedNotificationCenter.
>
> When I
On Aug 23, 2011, at 1:15 AM, Jens Alfke wrote:
> Probably the best approach is to have your Cocoa app listen on an IP port and
> then the tool can send a message to that port. You’d have to either hardcode
> the port number or find a way to communicate the number to the tool
This is what UNIX d
On 8/21/11 7:02:09 PM, Andreas Mayer wrote:
Am 19.08.2011 um 21:36 schrieb Leo:
Actually, I finally realized what the real issue is: Apple for some reason didn't
"refresh" NSSegmentedControl Rounded style to match the new appearance of
NSTabView controls on Lion.
I guess that's intentional. T
We're seeing problems similar to this too, and have a Radar in to Apple about
it.
Ken's comment about the change to suspension behavior in Lion is an important
one, but the problem still exists even after taking that into account. Our
situation is a bit more complicated, so perhaps there are ot
On 22 Aug 2011, at 4:32 PM, koko wrote:
> The rect I get in drawRect is not the same size as the rect I return in
> rectForPage ... is this expected behavior?
Assuming you mean -drawRect:, the NSRect parameter must be assumed never to
cover the whole content of a view. It's a "dirty" rectangle
Gang,
Unfortunately, this is a very vague question but I'm at a bit of a
loss and hoping someone could provide some general technique or
avenues to explore.
Apple recently rejected a new app of mine, with this explanation:
When saving a file, and reopening it by double-clicking the saved file
in
Hi Graham,
First of all, -printShowingPrintPanel: is deprecated. I believe if you were to
stop overriding that method and use -printOperationWithSettings:error: and
-runModalPrintOperation:delegate:didRunSelector:contextInfo: instead the
problem would go away.
Otherwise, you've found the crux
Whoops, found this too late. See my other reply about the actual cause of the
deadlock though.
Deprecation warnings are unfortunately only generated when calling a method,
not when they are overridden.
-KP
On Aug 22, 2011, at 8:24 PM, Graham Cox wrote:
>
> On 23/08/2011, at 1:00 PM, Graham C
That's an interesting find, the fact that you can post notifications across
sessions - I wasn't aware of that. And it turns out that this was the solution.
PHP does run as a separate user, but it doesn't seem to matter.
Thanks, Daniel, and everyone, for your help!
Rainer
On Aug 23, 2011, at 1
On Aug 23, 2011, at 11:00 AM, Jim Thomason wrote:
> Gang,
>
> Unfortunately, this is a very vague question but I'm at a bit of a
> loss and hoping someone could provide some general technique or
> avenues to explore.
>
> Apple recently rejected a new app of mine, with this explanation:
>
> Whe
On Mon, 22 Aug 2011 12:39:01 -0700, Matthew Weinstein said:
>I'm working on updating my app for lion. For the time being, just to get
>users able to proceed I need to disable Lion's restore savedstate
>default. I don't want Lion opening any windows (other than the ones I
>open programmatically) wh
My approach has landed up being just as kludgy, and I'm really annoyed that
apple has made no way to opt out of this "feature." I have basically gone in
(in the applicationWillFinishLaunching app delegate notification) and emptied
and locked the saveState folder for just my application in the ~
On 2011 Aug 22, at 20:24, Graham Cox wrote:
> there seems to still be a compatibility code path that supports this within
> NSDocument, but that compatibility code path is not in itself compatible with
> the new document saving malarkey. So, it's Apple's bug, but perhaps not one
> they would c
I work with scans of 10 tune Nickelodeon player piano rolls. These can
be over 100 yards long when unrolled. My roll images when uncompressed
can be 100,000 plus pixels by 2800 pixels. In actual practice the images
are made of lines, not pixels.
To read these I have programs written in posts
I think, if you can use CATiledLayer, things will be a lot more easier. -ev
On Aug 24, 2011, at 5:18 AM, Julie Porter wrote:
> I work with scans of 10 tune Nickelodeon player piano rolls. These can be
> over 100 yards long when unrolled. My roll images when uncompressed can be
> 100,000 plus
if (*ra4 != 0xffc78948) { return false; }
On 23 Aug 2011, at 22:18, Julie Porter wrote:
> I work with scans of 10 tune Nickelodeon player piano rolls. These can be
> over 100 yards long when unrolled. My roll images when uncompressed can be
> 100,000 plus pixels by 2800 pixels. In actual pra
On Tue, 23 Aug 2011 10:00:06 -0500, Jim Thomason said:
>I'm guessing it's due to Lion's resume window features somehow getting
>confused.
Have you read the comments about how to works in the AppKit release notes?
They are quite informative.
--
__
On 24/08/2011, at 4:25 AM, Matthew Weinstein wrote:
> My approach has landed up being just as kludgy, and I'm really annoyed that
> apple has made no way to opt out of this "feature."
In Xcode 4, you can configure your scheme to have "disable state restoration"
checked. This suggests that the
On 23 Aug 2011, at 22:18, Julie Porter wrote:
How do I do setup the ruler and scrollviews programetically without
interface builder?
On 8/23/11 2:30 PM, Thomas Davie wrote:
Your best bet is to not completely dump IB, but to simply set the
contentSize programatically as soon as you load you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/23/11 4:19 PM, Julie Porter wrote:
> This is what I am having issue with.How and where to put the
> delegates? Specifically what file would I place them into? Or do
> I create a new file for the delegate that does this?
Sorry to jump in a
On Aug 23, 2011, at 4:19 PM, Julie Porter wrote:
>> Your best bet is to not completely dump IB, but to simply set the
>> contentSize programatically as soon as you load your document.
>>
> This is what I am having issue with.How and where to put the delegates?
> Specifically what file wou
On 24/08/2011, at 9:56 AM, Conrad Shultz wrote:
> You are right about the coordinate space, but remember that
> NSScrollView does not handle zooming (scaling?) - that is up to you.
I have a view subclass that simplifies this task
http://apptre.net/gczoomview.htm
Drop this into a NSScrollView
I don't see how bindings come into this. I'm also unclear by what you
mean by "setup wizards" - are you referring to Xcode templates, or...?
- --
Conrad Shultz
This is actually a graphical interface on top of a coredata database
(XML) So I used the core data tools and bindings to define
On 24/08/2011, at 10:21 AM, Graham Cox wrote:
> I'm not sure about the 10,000 pixel limit - I've never run into it. But I
> believe that pertains to the view's frame, not its bounds.
> Note that when you zoom a view, the frame and the bounds have a further
> difference, which not only describ
Kyle,
Thanks for the info.
For my education, could you let me know,if there is any API to get the
WIFI/CELL signal strength.
Thanks
Sasikumar JP
Sent from my iPad
On 23-Aug-2011, at 10:54 AM, Kyle Sluder wrote:
> On Aug 22, 2011, at 9:26 PM, Sasikumar JP wrote:
>
>> Hi,
>> I am worki
whoops, sorry...
http://apptree.net/gczoomview.htm
(note - handling zoom isn't difficult, but this class makes it easier and adds
some useful UI-level actions that can be directly hooked to menu commands if
you wish).
--G.
On 24/08/2011, at 10:36 AM, Julie Porter wrote:
> On 8/23/11 5:21 PM
Graham, that works like a charm. I just put this in my delegate
applicationwillfinishlaunching method:
#define NSDEF [NSUserDefaults standardUserDefaults]
if([NSDEF objectForKey: @"ApplePersistenceIgnoreState"] == nil)
[NSDEF setBool: YES forKey:@"ApplePersistenceIgnoreSt
My app has floating palettes.
When I go to 'Browse All Versions...', these palettes get moved beyond the
edges of the screen. When I come back from browsing the versions, the palettes
are not there until I force then to show again using the controller's
-showWindow: method - they come back in t
On Aug 23, 2011, at 5:38 PM, Sasikumar JP wrote:
> For my education, could you let me know,if there is any API to get the
> WIFI/CELL signal strength.
At some level there probably is. I have no idea whether it’s private or not.
(Particularly on iOS, which exposes a lot fewer system-level APIs
Hi all-
I'm preparing to develop a view remarkably similar to the drawing canvas of
Quartz Composer or Xcode's core data modeler: the view features a grid
background, draggable nodes featuring a header and multiple rows of elements,
and the elements can be connected to elements in other nodes w
On 24/08/2011, at 1:36 PM, John Pannell wrote:
> 1. View is zoomable and looks good at all zoom levels.
> 2. Text looks good and is antialiased.
> 3. All elements support subtle transparency.
> 4. Animation (i.e. flow in pipes) is a bonus.
>
> My gut is to go with Core Animation: items 1, 3,
Dear CocoaHeads,
our next CocoaHeads Aachen meeting will be this Thursday (2011/08/25) featuring
the following interesting topic:
- [Talk] Thorsten Karrer, Moritz Wittenhagen: "OpenGL Core Profile"
This *free* event starts at 7 p.m. in room 2010 of the Aachen University
Computer Science Campus
Hello all,
I am trying to setup an internal application that prints PDF documents
in an automated fashion to a set of known internal printers. I have
played with the various vendor settings in the Print dialog in Preview
long enough to get a saved set of print options that produce the color
On Aug 23, 2011, at 12:15 AM, Jens Alfke wrote:
>
> On Aug 22, 2011, at 10:45 PM, Rainer Standke wrote:
>
>> I have a command line tool that uses foundation. When I run that tool from
>> the command line it does what I need it to do. This includes sending an
>> NSNotification to a Cocoa applic
Is there a way to wake up the display or to come out of idle sleep?
I have a central computer communicating with several satellite Macs that
generate and display our patterns. The satellites get no user input and I
keep them awake with UpdateSystemActivity(). That all works great until there
35 matches
Mail list logo