Thanks Peter, that makes sense, although if that is the case they
should really just deprecate the method.
Francisco
On Jun 26, 2008, at 7:30 PM, Peter Ammon wrote:
On Jun 26, 2008, at 5:49 PM, Francisco Tolmasky wrote:
I'm attempting to make a pop up button that pops its menu to the
Greetings,
We have a few new chapters!
CocoaHeads is an international Mac programmer's group. We specialize
in Cocoa, but everything Mac programming related is welcome.
Why Should I Attend?
Meeting other Mac OS X developers in person is both fun and immensely
useful. There's no better way to
On 29 Jun '08, at 9:47 PM, Chris Purcell wrote:
Thank you for the reply. I am a bit of a Cocoa newbie and I'm
having trouble using the objectValueForTableColumn:. My NSTableView
is only one column, but I would like to display all attributes of
each key.
You should have one column per
Hi Chilton
You better do the addition of subviews and setting up the core
animation stuff in the view's
awakeFromNib rather than its initWithFrame: method. Since the view is
getting loaded from the nib, chances are
that your settings within initWithFrame get overridden by the settings
in
On Sun, Jun 29, 2008 at 10:18 PM, Nick Zitzmann [EMAIL PROTECTED] wrote:
On Jun 29, 2008, at 3:25 PM, John Murphy wrote:
How do I view the messages (method calls) that are sent during the loading
of an application?
You can do this using a profiler, such as Shark.
A DTrace script will
HI.
Cocoa, Obj - C.
How can know a another program is started? The process is started up not from
my program. I check if is started loginwindow.app
And it is possible to catch event that loginwindow.app was closed? Give me
example, please.
Hi,
I'm trying to connect to a server that requires HTTP authentication
and that lives on a non-standard port. I've written a little bit of
code that works great when it tries to connect to a server on port 80,
but I get an error when connecting to the non-standard port, and I get
it
Hi All,
I was wondering if many of you have had a go at core animation yet?
I am personally looking at making a piece of text fade in and fade out as a
confirmation that something worked in my latest project. Currently I am just
popping a bit of text on screen using:
[succcessFlag
Hi
If your process is running as root, you can get a list of all current
processes.
Cheers
Mike
On 30 Jun 2008, at 10:07, Толя Макаров wrote:
HI.
Cocoa, Obj - C.
How can know a another program is started? The process is started up
not from my program. I check if is started
Just a little update,
-1012 is NSURLErrorUserCancelledAuthentication, and that caught my
suspicioun that perhaps data got sent anyway. So fire up Wireshark,
and sure enough, my request is sent:
GET /Pages/Default.aspx HTTP/1.1
User-Agent: (myApp/0.1 (myApp)
Accept: */*
Accept-Language:
Hi everyone,
I'm trying to registerForDraggedTypes a NSMatrix subclass that's used
in a NSBrowser. When I override init or initWithFrame in my Matrix
class in manner to include registerForDraggedTypes none of the two
methods get called.
[Browser setMatrixClass:[BrowserMatrixView class]];
Yes, that's clear, but how to get this list? I have found 2 ways: ps
-ef and [[NSWorkspace sharedWorkspace] launchedApplications]. 1 way
shows in the list loginwindow.app, when it's on and doesn't work. 2
way doesn't show this application at all. What would you suggest?
Try doing it from awakeFromNib:
I had an issue where registerForDraggedTypes wasn't working if called
too early, though I forget the details exactly. Moving the
registration to awakeFromNib (or even windowControllerDidLoadNib if
you have an NSWindowController) fixed it so I didn't
Text is tricky because of the anti-aliasing issues.
Broaden your search though there are tons of examples on how to fade a
layer in and out of a scene (apple's samples, my blog, others as well).
Basically though
- parent view needs to be layer backed (via setWantsLayer:YES)
- create a layer
Hi
I'm writing my first project in Leopard and can't figure out how to accomplish
the old
Subclass NSObject/Generate Files/Instantiate series of steps in Interface
Builder 3.1.
I'm sure Interface Builder has a new way to do that but I can't find it.
Any help appreciated
On 30 jun 2008, at 16.14, [EMAIL PROTECTED] wrote:
Hi
I'm writing my first project in Leopard and can't figure out how to
accomplish the old
Subclass NSObject/Generate Files/Instantiate series of steps in
Interface Builder 3.1.
I'm sure Interface Builder has a new way to do that but I
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On
Behalf Of Roni Music
Sent: Saturday, June 28, 2008 1:13 PM
To: cocoa-dev@lists.apple.com
Subject: Re: Style Question (Robert Claeson)
the bottom of the page below has one opinion why one style is superior
Yes! it did!
Thanks a lot, I'm not sure if I'd ever have figured hat one out.
Moray
--- On Sat, 28/6/08, Andy Kim [EMAIL PROTECTED] wrote:
From: Andy Kim [EMAIL PROTECTED]
Subject: Re: trackmouse problems in Leopard
To: [EMAIL PROTECTED]
Cc: Cocoa-dev@lists.apple.com
Date: Saturday, 28
--- On Mon, 6/30/08, Micha Fuhrmann [EMAIL PROTECTED] wrote:
I'm trying to registerForDraggedTypes a NSMatrix
subclass that's used
in a NSBrowser. When I override init or initWithFrame in my
Matrix
class in manner to include registerForDraggedTypes none of
the two
methods get called.
Perfect!. Thanks Joar
-- Original message --
From: j o a r [EMAIL PROTECTED]
On Jun 30, 2008, at 7:14 AM, [EMAIL PROTECTED] wrote:
I'm writing my first project in Leopard and can't figure out how to
accomplish the old
Subclass NSObject/Generate
Le 30 juin 08 à 16:20, Tommy Nordgren a écrit :
On 30 jun 2008, at 16.14, [EMAIL PROTECTED] wrote:
Hi
I'm writing my first project in Leopard and can't figure out how to
accomplish the old
Subclass NSObject/Generate Files/Instantiate series of steps in
Interface Builder 3.1.
I'm sure
Funnily enough, I've just found and been playing with NSCalendarDate
and was unaware of the discouragement of using this class until now,
thanks Jens. But it's not deprecated *yet*
From the docs:
Important: Use of NSCalendarDate strongly discouraged. It is not
deprecated yet, however it may
On 30 Jun '08, at 6:23 AM, Толя Макаров wrote:
Yes, that's clear, but how to get this list? I have found 2 ways: ps
-ef and [[NSWorkspace sharedWorkspace] launchedApplications].
There are underlying APIs that tools like ps and top use; you can call
those. I'm not familiar with the details,
Hm. I've never used NTLM authentication. Have you read the Handling
Authentication section of the CFNetwork Programming Guide? It
mentions that NTLM auth requires a domain as well as a username/
password. But I'm not sure how to configure that using the Obj-C
wrapper APIs.
I'm implementing DnD in an NSBrowser for 10.4. The Problem I have is
to enable the Column selection (Blue line around the column), to show
to the user that the drag-in is indeed working + its destination. I'm
thinking in the line of using – draggingUpdated from my NSMatrix
subclass used in
Le 30 juin 08 à 17:27, Jens Alfke a écrit :
On 30 Jun '08, at 6:23 AM, Толя Макаров wrote:
Yes, that's clear, but how to get this list? I have found 2 ways: ps
-ef and [[NSWorkspace sharedWorkspace] launchedApplications].
There are underlying APIs that tools like ps and top use; you can
http://upcoming.yahoo.com/event/857251
Hope to see you there!
cheers
--
Torsten
___
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
On Jun 30, 2008, at 7:24 AM, Moray Taylor wrote:
Yes! it did!
Thanks a lot, I'm not sure if I'd ever have figured hat one out.
I highly recommend reading the AppKit release notes, which covers
things like this problem.
http://developer.apple.com/releasenotes/Cocoa/AppKit.html
--corbin
On Jun 28, 2008, at 1:25 AM, Jens Alfke wrote:
On 27 Jun '08, at 9:45 PM, Rob Ross wrote:
Btw, how many people realize this convention comes from the early
KR C book, and the *only* reason they wrote it this way was to
minimize the number of lines of text their examples would take up
Hi everyone,
Since NSCalendarDate is going to be deprecated in the future, I've
started playing with NSDateComponents. I have a question regarding a
problem I'm having. I'm getting a wacky date returned at line 15. I'm
expecting it to add -3 to the current date, but I get something *way*
Hi all,
I hope you can offer a newbie some advice. I've been reading and
reading the Design patterns documentation but have got myself somewhat
confused. I hope if I explain what I'm trying to achieve someone can
offer me some advice.
Basically I have an application that interrogates a
I'm trying to understand a bit more about the Responder chain,
especially how it relates to regular (non-document) applications using
NSView and NSViewController added into the View Hierarchy.
Katidev.com has a nice series of articles on the related issue for
Document based applications. (It
On Jun 30, 2008, at 9:45 AM, Jason Wiggins wrote:
5 NSDateComponents *comps = [[NSDateComponents alloc] init];
6 NSDateComponents *components = [[NSDateComponents alloc] init];
Why are you creating these objects -- you're just leaking them?
7 unsigned unitFlags =
On Mon, Jun 30, 2008 at 9:46 AM, Michael Kaye [EMAIL PROTECTED] wrote:
So my question (finally) is where do I store the sessionid variable so it is
accessible through out all classes and for as long as the app is running?
My current approach is to save the value in an Extern NSString but I'm
hey,
I have a project that uses Bonjour for some of its communication,
theres a server and a client, and I was having tremendous difficulty
getting it to work, pouring and pouring over my code, only to discover
some weeks later that for some odd reason, NSConnections do not work
when the
Hi there-
I encountered the same issue some months ago, and posted my questions
to this list. An Apple engineer did reply off-list that this was a
known issue with garbage collection and that there was no known
workaround at that time.
I was just playing with GC for fun and reverted
On Jun 30, 2008, at 2:50 PM, Andy Lee wrote:
I'm not too familiar with NSDateFormatter. Do you need to call -
setDateFormat:?
Ah, thanks, I missed the statement hidden on page 23 of Data
Formatting Programming Guide for Cocoa, which says:
You use the format string is used to specify
Hi Jens,
thanks for the reference and the domain property, I wasn't aware of
that. In the HTTP header I get back from the server I cannot see a
domain, but then again I cannot see a realm either. How do I find the
domain? In NTLM authentication, is domain the same as the DNS domain,
or is
On Mon, Jun 30, 2008 at 3:14 PM, Steve Byan [EMAIL PROTECTED] wrote:
That's a bummer, because RFC822 dates have some optional elements and so
don't conform to a fixed format. I hoped that the default parsing was smart.
Well it looks like the RFC822 date grammar is context-free so
implementing a
Hello List,
I have searched the archives, but did not really find an answer to my
question, even though the title was the same...
I want to subclass NSMutableURLRequest, in order to create my own,
specialized URLRequest (namely, XML-RPC). I thought that was a smart
idea.
As
Hi Chris,
I'm not terribly sure what you are asking for here. From my
experience (limited experience admittedly) theres really only one way
to use NSConnection.
its a pretty elegant class, which is simple, and works as expected,
except for when garbage collection is enabled.
heres what
Le 30 juin 08 à 22:10, eblu a écrit :
Hi Chris,
I'm not terribly sure what you are asking for here. From my
experience (limited experience admittedly) theres really only one
way to use NSConnection.
its a pretty elegant class, which is simple, and works as expected,
except for when
Hi,
First of all, I think I'm being a bit brain-dead here as I just *know* I've had
to do something similar to this in the past, or have seen something similar to
it at least, elsewhere, but I'm obviously using the wrong search terms in
Cocoabuilder and Cocoadev and my memory is obviously
Le 30 juin 08 à 22:19, Jean-Daniel Dupas a écrit :
Le 30 juin 08 à 22:10, eblu a écrit :
Hi Chris,
I'm not terribly sure what you are asking for here. From my
experience (limited experience admittedly) theres really only one
way to use NSConnection.
its a pretty elegant class, which is
On Jun 30, 2008, at 1:19 PM, Keith Blount wrote:
I am creating a view for printing index cards that basically takes
an array of attributed strings and prints each one on a 5 x 3 card.
However, if an attributed string is too long for one card, I want to
wrap it across two cards or more
On Jun 30, 2008, at 10:53 AM, Jean-Daniel Dupas wrote:
Le 30 juin 08 à 17:27, Jens Alfke a écrit :
On 30 Jun '08, at 6:23 AM, Толя Макаров wrote:
Yes, that's clear, but how to get this list? I have found 2 ways: ps
-ef and [[NSWorkspace sharedWorkspace] launchedApplications].
There are
Thank you, Douglas - multiple containers it is then.
All the best,
Keith
- Original Message
From: Douglas Davidson [EMAIL PROTECTED]
To: Keith Blount [EMAIL PROTECTED]
Cc: cocoa-dev@lists.apple.com
Sent: Monday, June 30, 2008 9:34:19 PM
Subject: Re: Splitting an NSAttributedString across
On Mon, Jun 30, 2008 at 3:56 PM, Michael Ash [EMAIL PROTECTED] wrote:
Although Apple's sample code shows overriding -bind:... to store
information about the new binding, it doesn't look like this is
necessary. You can simply use -infoForBinding: to obtain the info
dictionary, extract the
Yes, I know, I shouldn't be linking against an Apple private
framework, but trust me, there's a reason for it.
Anyway, I'm having trouble building the project. I dragged my private
framework (DevToolsCore.framework) into Xcode and left all the default
settings alone. However, when I try to build,
On Jun 27, 2008, at 10:25 PM, Jens Alfke wrote:
On 27 Jun '08, at 9:45 PM, Rob Ross wrote:
Btw, how many people realize this convention comes from the early
KR C book, and the *only* reason they wrote it this way was to
minimize the number of lines of text their examples would take up
On Mon, Jun 30, 2008 at 9:10 PM, eblu [EMAIL PROTECTED] wrote:
hostname = [sender hostName];
socket = (NSSocketPort*)[[NSSocketPortNameServer sharedInstance]
portForName:@BKOtherPort host:hostname];
connection = [NSConnection connectionWithReceivePort: nil sendPort:
Hello everyone:
I have another question that is based on my Microsoft background (yes I am
ashamed).
In the VS environment, there is a timer control that can be dropped onto a
form, and will generate timer events every X milliseconds. How would I
impliment similar functionality in Cocoa, or
Sorry, I haven't read every message in this thread, but I think I can
answer the original question
[[self bar] bind:@title toObject:ivar_controller
withKeyPath:@selection.displayName options:nil];
Now here's the thing: if I call setDisplayName: on Foo, it calls
Bar's setTitle: method,
I cannot find any mention of what a view needs to do to support scaled
printing, so I thought it would be automatic as long as I adjust
things for the current scaling. Unfortunately, the view always prints
at 100% despite changing the scale setting in a page layout dialog.
Below is all the
Use this:
NSTimer *myTimer = [NSTimer scheduledTimerWithTimeInterval:1.0 // number
of seconds as double
target:self // targer
selector:@selector(checkTimer:) // selector to call (parameter is the timer)
userInfo:nil // I don't use any user info
repeats:YES]; // whether the timer repeats or is
On Jun 30, 2008, at 2:36 PM, Matthew Youney wrote:
In the VS environment, there is a “timer” control that can be
dropped onto a
form, and will generate timer events every X milliseconds. How
would I
impliment similar functionality in Cocoa, or what would you gurus
suggest
that I look
On Mon, Jun 30, 2008 at 10:43 PM, Ron Lue-Sang [EMAIL PROTECTED] wrote:
Yes! infoForBinding is what you should use to implement the logic in #1.
[...]
2b) Implement the read logic yourself by implementing bind:.
What puzzles me is that NSTextField doesn't seem to do either of
these, yet still
Le 30 juin 08 à 23:10, Owen Yamauchi a écrit :
Yes, I know, I shouldn't be linking against an Apple private
framework, but trust me, there's a reason for it.
Anyway, I'm having trouble building the project. I dragged my private
framework (DevToolsCore.framework) into Xcode and left all the
Am Jun 30, 2008 um 07:04 schrieb Papa-Raboon:
I was wondering if many of you have had a go at core animation yet?
I am personally looking at making a piece of text fade in and fade
out as a
confirmation that something worked in my latest project. Currently I
am just
popping a bit of text
On Jun 29, 2008, at 9:42 AM, Mike Ferris wrote:
And, as long as we're on the topic... who can name the only other
exceptional case for the release only if you alloc,new, copy or
retain rule? (It's pretty old-school...)
How about if you're implementing an initializer for a class cluster
Hi All,
I'm in the process of learning Cocoa/Objective-C and I'm writing some
stuff for the iPhone as an exercise.
I am writing a simple application based on the Utility Application
iPhone Template with the latest SDK Beta 8. This is a simple 2 view
application with a routine called
On Jun 30, 2008, at 3:53 PM, Richard Adams wrote:
I'm in the process of learning Cocoa/Objective-C and I'm writing
some stuff for the iPhone as an exercise.
I am sure you are about to get a bunch of comments about the
appropriateness of posting iPhone related questions on this list, but
Hi everyone, I have a question that might seems a little silly. I
have a PDFDocument subclass which can perform page impositions. I
would also like to be able to undo the impositions. In the methods I
have this when I make the change to the PDF:
[[undoManager
Hi all,
I've got a CoreData object graph with an outline view showing
instances of an NSManagedObject subclass called Group.
The Group class has the standard to-one relation 'parent' and to-many
'children'.
The outline view is working perfectly.
I've set autosaveExpandedItems to YES and
On 30 Jun '08, at 12:51 PM, Niklas Saers wrote:
In the HTTP header I get back from the server I cannot see a domain,
but then again I cannot see a realm either. How do I find the
domain? In NTLM authentication, is domain the same as the DNS
domain, or is it the same as the domain windows
On Jun 30, 2008, at 6:53 PM, Richard Adams wrote:
I'm in the process of learning Cocoa/Objective-C and I'm writing
some stuff for the iPhone as an exercise.
As stated in the non-disclosure agreement you accepted when you
registered for the iPhone program, you are not allowed to talk about
Noted - thanks - I will come back in 11 days (or when appropriate)
unless we feel cocoa for the iPhone is not for this list at that
time. If someone is able to point me in the direction of a legitimate
source of help that I'm allowed to go to feel free to point me in the
right direction.
On Jun 30, 2008, at 3:44 PM, Ken Thomases wrote:
More techniques:
Technical Note TN2050: Observing Process Lifetimes Without Polling
http://developer.apple.com/technotes/tn/tn2050.html
Getting off-topic maybe but I did this from java.
For example...
CmdJHTML: terminated Firefox
Two table views with editable columns. On 10.4, tabbing works as I expected.
On 10.5, tabbing out of the last cell of a row always goes to the next table
view, not the next row of the current table view (when there is a next row).
Is there an easy way to fix this? Or do I really have to hook into
On Mon, Jun 30, 2008 at 5:04 PM, Hamish Allan [EMAIL PROTECTED] wrote:
On Mon, Jun 30, 2008 at 3:56 PM, Michael Ash [EMAIL PROTECTED] wrote:
Although Apple's sample code shows overriding -bind:... to store
information about the new binding, it doesn't look like this is
necessary. You can
On Jun 30, 2008, at 2:53 PM, Hamish Allan wrote:
On Mon, Jun 30, 2008 at 10:43 PM, Ron Lue-Sang [EMAIL PROTECTED]
wrote:
Yes! infoForBinding is what you should use to implement the logic
in #1.
[...]
2b) Implement the read logic yourself by implementing bind:.
What puzzles me is that
On Sun, Jun 29, 2008 at 11:21 PM, Stephen Zyszkiewicz
[EMAIL PROTECTED] wrote:
CocoaHeads is an international Mac programmer's group. We specialize
in Cocoa, but everything Mac programming related is welcome.
Upcoming meetings:
* Lake Forest, CA - Wednesday, July 09, 2008, 07:00 PM PST
72 matches
Mail list logo