Thanks for the quick response and the links.
NSTabView with tabs on the bottom is exactly what I'm looking for,
except, I'm writing a fullscreen app with stylized NSImage buttons,
rather than tabs. I'm still looking through the ViewController sample
code. Given the number of single
On Jul 13, 2008, at 10:34 PM, Charles Srstka wrote:
What I don't get is why there can't just be a
+dateWithYear:month:day:hour:minute:second:timeZone:calendar: method
to replace the current
+dateWithYear:month:day:hour:minute:second:timeZone: one instead of
having to deal with three
On Jul 13, 2008, at 10:37 PM, Bill Bumgarner wrote:
And, no, exchanging class methods is not a typical pattern to be
employed when developing a Cocoa application. In particular,
replacing or exchanging method implementations found in Apple
frameworks is completely unsupported and will
Hi Guys
I've got a cocoa app that is installed as a client on several machines and uses
MySql as the database.
Is there any way I can incorporate Core Data into the app so that I can do away
with using MySql? i.e. log into the app on one machine (using it's SQLite
database) from the same app
On Jul 13, 2008, at 11:35 PM, Jeff Johnson wrote:
On Jul 13, 2008, at 10:37 PM, Bill Bumgarner wrote:
And, no, exchanging class methods is not a typical pattern to be
employed when developing a Cocoa application. In particular,
replacing or exchanging method implementations found in Apple
Hello,
Thanks for you replies.
To clarify: I need it in a small drawing app, where you can draw
shapes and then you should be able to combine them. There is no
outline but the winding is quite important (there may be overlapping,
clipping and self intersecting parts).
I did found
El 14/07/2008, a las 7:49, Aman Alam escribió:
I am working on a project that needs the disclosure button of
NSOutlineView always closed whether its row are expanded or not.
Does anyone know that how to do that?
Does not that violate the Apple Human Interface Guidelines?. I mean,
Hi All,
I want to be able to determine the value of the NSSlider whilst
sliding it. I am guessing I will have to subclass NSSliderCell but if
anyone has an example or some direction as to which methods I need to
override I would really appreciate it.
Regards
Damien
We act as though
On Jul 14, 2008, at 7:07 AM, Aman Alam wrote:
I want to show some detail about items that is in child object
without expanding the disclosure button.
They're called tooltips and you should most definitely use them.
Alternatively, selecting the parent can reveal summary child data in a
On 14 Jul 2008, at 7:48 pm, Georg Seifert wrote:
Hello,
Thanks for you replies.
To clarify: I need it in a small drawing app, where you can draw
shapes and then you should be able to combine them. There is no
outline but the winding is quite important (there may be
overlapping,
Thanks Graham, You are a champion. That saves me a lot of work. I
have no idea why I did not spot that in the docs. I am sorry to
trouble you.
Damien
On 14/07/2008, at 8:39 PM, Graham Cox wrote:
Just invoke [mySlider setContinuous:YES] and your action method will
be called for every
What the mathematicians balk at isn't the pathological cases; rather,
getting exact results.
But the real problem is that these two are related. I spent several
years fixing the Boolean operations for a major CAD company's solid
modeler (the long-gone ComputerVision) which is essentially
On Mon, Jul 14, 2008 at 8:53 AM, Bill Royds [EMAIL PROTECTED] wrote:
Being able to do this would lead to an large increase in the number of
Macintosh applications available.
It would lead to a large increase in poorly-designed, auto-ported Mac
applications. And then developers would wonder why
On Mon, Jul 14, 2008 at 4:05 AM, Jeff Brown [EMAIL PROTECTED] wrote:
Is there any way I can incorporate Core Data into the app so that I can do
away with using MySql? i.e. log into the app on one machine (using it's
SQLite database) from the same app on a different machine?
No. Please read
HI Aman,
Have you considered using custom cells in your NSOutlineView?
The parent cell could be used to display info about the children
objects without having to display the actual children. You could then
use a different cell for the children objects to display the
additional
On Mon, Jul 14, 2008 at 9:37 AM, Bill Royds [EMAIL PROTECTED] wrote:
Not necessarily. You are assuming that all other interfaces are inferior to
Macintosh interfaces.
No, I am asserting that not following the conventions established on
the Mac is inferior to following those conventions,
On 7/12/08 11:49 AM, Charles Srstka said:
He's not referring to making an alias *file*, just an alias in memory.
To do that, you make an FSRef first as I described, then you use
FSNewAlias() with NULL as the first argument, a pointer to your FSRef
as the second argument, and a pointer to an
On 7/13/08 2:53 PM, Graham Cox said:
Obviously the tan() function works as it should
Not necessarily so obvious. :) The log10() function was broken in 10.5.2:
http://lists.apple.com/archives/scitech/2008/Mar/msg00032.html
--
Sean
OK, thanks for the tip. I think this will work well for the situation
I described.
But, that screen (with its tab view and all of the custom views to be
made available from within the tab view) is one of several screens
like it. The other tab views will contain different numbers of tabs.
Your application's menu isn't that big of a deal, but your application's
integration with Mac OS X is a very big deal and that is most of the battle
of doing nib less development. It is much more than just populating the
main menu. Specifically, the application wrapper -- the .app --
Hello,
I'm hoping to find a way to fill an NSBezierPath with a bitmap pattern of
arbitrary size - probably something like 32x32. It will be a 2-color on-off
(foreground-background) pattern where each color can be defined by the user.
Looking through the NSBezierPath class documentation,
Sounds like you want to use [NSColor colorWithPatternImage] and use
that as the fill color.
Matt
On 14 Jul 2008, at 4:48pm, David Harper wrote:
Hello,
I'm hoping to find a way to fill an NSBezierPath with a bitmap
pattern of arbitrary size - probably something like 32x32. It will
be a
Hi.
I am seeking an advise. I have an app that after loading a MainMenu.nib, it
checks the defaults for some data and if data is not there, the app will
request it via the other NIB (modal window). The Main window shall not be
blocked. What would be a proper way of doing things like that?
On Jul 14, 2008, at 9:06 AM, Sean McBride wrote:
On 7/13/08 2:53 PM, Graham Cox said:
Obviously the tan() function works as it should
Not necessarily so obvious. :) The log10() function was broken in
10.5.2:
http://lists.apple.com/archives/scitech/2008/Mar/msg00032.html
And vpowf had
Kyle Sluder wrote:
On Mon, Jul 14, 2008 at 9:37 AM, Bill Royds [EMAIL PROTECTED] wrote:
The layout may be a standard form required by law or other
convention. I am not suggesting that one port the code, just the
forms and
menu labels.
I know of no statute that mandates Look Feel, and I
On Jul 11, 2008, at 2:36 PM, Bill Bumgarner wrote:
If you have specific enhancement requests, please file a bug via http://bugreporter.apple.com
. If your request is make MVC and KVO play nicely with threads,
you will need to provide details on exactly what you mean -- exactly
how that is
On Jul 14, 2008, at 3:16 AM, Bill Bumgarner wrote:
On Jul 13, 2008, at 11:35 PM, Jeff Johnson wrote:
On the other hand, the function method_exchangeImplementations()
just became public API in Leopard, so I don't see how that can
break anytime soon. It's not much different than subclassing
Well after making some tweaks I seem to have it working. I'm not sure
if it was something that I did or if the 10.5.4 update could have
fixed the undo manager bug in PDFView. Anyway, I've got it working,
thanks!
- Kevin
On Jul 11, 2008, at 3:31 PM, Kevin Ross wrote:
Hello cocoa-devs!
In my subclassing PDFDocument adventures I wanted to add a method to
my subclass like so:
- (CGPDFDocumentRef)documentRef;
I realized that it was overriding an internal PDFDocument method that
I was unaware of. This actually helps a big performance bottleneck in
the application because I
On Sun, 13 Jul 2008 21:29:56 -0700, James W. Walker [EMAIL PROTECTED]
said:
I have a preferences dialog that I'm using with an
NSUserDefaultsController instance, my first use of bindings, and it
works. But I want to post a notification when a certain setting
changes. In my method that shows the
Hi,
I am using a NSTextView and i programatically insert images as
NSTextAttachments in the textView. These attachments are shown in an
NSTextAttachmentCell by the NSTextView.
I want to do some background processing just before the user deletes
the image from the textView. This can happen
The Main window shall not be
blocked. What would be a proper way of doing things like that?
What do you mean? The main window should not be covered up? Or events should
still be processed by the main window? Because if it's the latter, then
don't run the second window as modal.
--
Scott Ribe
On Jul 14, 2008, at 8:58 AM, Jeff Johnson wrote:
I can't imagine much use for method_exchangeImplementations() with
my own classes, because I can write the implementations myself. You
certainly need to be careful, but my example seemed pretty
innocuous. Calling at the beginning of main()
Thats correct. The main window is not covered up. The second window is not
modal I agree. In the second window I just need to collect some additional
info that will go the the second's window controller. There will be OK and
Cancel buttons on that window to close it. The main window will not
Hi All,
I'm setting the rotation values of a CALayer, and notice that when
setting the Y component of rotation of a CATransform3D structure via
the :
[layer setValue:someValue forKeyPath:@transform.rotation.y]
call, that in certain cases of 'someValue' (the y rotation), the X and
Developers,
In several of my applications I use key value validation. In one of
my applications in particular, the error sheet that gets displayed
only has the OK button. In the other apps, I see the OK button as
well as a Discard Changes button. I'm sure I must be overlooking
On Mon, Jul 14, 2008 at 9:57 AM, Ronnie B [EMAIL PROTECTED] wrote:
Thats correct. The main window is not covered up. The second window is not
modal I agree. In the second window I just need to collect some additional
info that will go the the second's window controller. There will be OK and
On Jul 14, 2008, at 7:29 AM, Jim Crafton wrote:
How do you bootstrap the framework? I.e. what executable is run
that uses
the resources from the framework? That is the most likely place to
stick
the MainMenu.nib and let Cocoa bootstrap the normal way.
Well you'd create your standard C++
On Mon, Jul 14, 2008 at 12:58 PM, Steve Green [EMAIL PROTECTED] wrote:
I'm sure I must be overlooking something simple, but I just
can't figure out how to get the Discard Changes button to appear in that one
app. Any clues would be greatly appreciated.
Create a recovery attempter and add it
On Jul 14, 2008, at 8:12 AM, Jens Alfke wrote:
Second, CoreData really isn't meant for having two clients (whether
users or processes) accessing the database at once. I think it's
possible to do this, but it requires extra work to get each client
to detect when the other has changed the
On Jul 14, 2008, at 12:05 PM, Bill Bumgarner wrote:
On Jul 14, 2008, at 7:29 AM, Jim Crafton wrote:
How do you bootstrap the framework? I.e. what executable is run
that uses
the resources from the framework? That is the most likely place
to stick
the MainMenu.nib and let Cocoa bootstrap
Actually, reading the docs for +loadNibNamed:owner:, I think it is even
easier (but you'll want to test it). The owner is used to determine where
to look for the NIB.
If you were to create a subclass of NSApplication that lives within the
framework that has your generic MainMenu.nib and
On Jul 14, 2008, at 1:42 PM, Kyle Sluder wrote:
On Mon, Jul 14, 2008 at 12:58 PM, Steve Green [EMAIL PROTECTED]
wrote:
I'm sure I must be overlooking something simple, but I just
can't figure out how to get the Discard Changes button to appear in
that one
app. Any clues would be greatly
Hi Chilton,
The animator does not commit its transaction until back in the event
loop so you won't see any animation until you return to the main event
loop.
You can of course override this but in the example below you are doing
the animation yourself so there is no reason for CA. i.e.
On 14-Jul-08, at 12:38 , Gregory Weston [EMAIL PROTECTED]wrote:
No he's not. Long-time Mac developers know quite well that by and
large Mac users are very averse to apps that simply don't fit. It's
not a question of arguments about better or worse (although such
arguments can certainly
Le 14 juil. 08 à 18:57, John Clayton a écrit :
Hi All,
I'm setting the rotation values of a CALayer, and notice that when
setting the Y component of rotation of a CATransform3D structure via
the :
[layer setValue:someValue forKeyPath:@transform.rotation.y]
call, that in certain
My main window in IB has a square bottom both when I edit it in IB,
and when I simulate the interface. But in my compiled app, it has the
rounded bottom like in the 10.5 Finder and iTunes. Why is there this
inconsistency between windows?
+Chad
Hi,
I'm almost positive I've seen this asked here a few weeks back, but
search turned up nothing so here goes...
I have About panel with copyright label (NSTextField) that have URL in
it. Label is set to allow rich text and be selectable, copyright
string is loaded from Credits.rtf and
Have a look and see if the window is textured or not, it a window
setting in IB. Non-textured windows have no bottom border by
default. Its in the AppKit release notes
http://developer.apple.com/releasenotes/Cocoa/AppKit.html
under the NSWindow heading.
Often this is used in conjunction
On Jul 14, 2008, at 9:04 AM, Kevin Ross wrote:
In my subclassing PDFDocument adventures I wanted to add a method to
my subclass like so:
- (CGPDFDocumentRef)documentRef;
I realized that it was overriding an internal PDFDocument method
that I was unaware of. This actually helps a big
Thats correct. The main window is not covered up. The second window is not
modal I agree. In the second window I just need to collect some additional
info that will go the the second's window controller. There will be OK and
Cancel buttons on that window to close it. The main window will
Have you seen this
http://katidev.com/blog/2008/04/17/nsviewcontroller-the-new-c-in-mvc-pt-2-of-3/
and this thread
http://www.cocoabuilder.com/archive/message/cocoa/2008/3/19/201743
All of this is covered, with automatic insertion of view controllers
into the responder chain.
If you want
On Jul 14, 2008, at 9:57 AM, Ronnie B wrote:
Thats correct. The main window is not covered up. The second
window is not
modal I agree. In the second window I just need to collect some
additional
info that will go the the second's window controller. There will be
OK and
Cancel buttons
Hello, all.
Because the final SDK for the iPhone came out, I started to take a look
at it.
Although I knew that Window/View hierarchies are different on the Mac
and the iPhone, I found that there were some fundamental difference in
programming model.
For example, this code from
On 14 Jul '08, at 11:52 AM, Bill Dudney wrote:
You can of course override this but in the example below you are
doing the animation yourself so there is no reason for CA. i.e.
tracking mouse movements is not something you want to do with CA
animations anyway.
It's fine to use CA while
The iPhone SDK, including all APIs, is still under NDA. It can't be
discussed here, nor can it be discussed in any other public forum.
b.bum
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
On 14 Jul '08, at 11:53 AM, James Trankelson wrote:
#0 0x0002606d in -[Worker release] at Worker.m:155
#1 0x94e8502a in __delayedPerformCleanup
#2 0x9390d92b in CFRunLoopTimerInvalidate
#3 0x9390e879 in CFRunLoopRunSpecific
#4 0x9390ecf8 in CFRunLoopRunInMode
#5
http://lists.apple.com/archives/Xcode-users/2008/Jul/msg00276.html
Still under NDA.
--Waqar
On Jul 14, 2008, at 3:15 PM, JongAm Park wrote:
Hello, all.
Because the final SDK for the iPhone came out, I started to take a
look at it.
Although I knew that Window/View hierarchies are different
I'm sorry. I thought that the announcement of the final Xcode 3.1 also
covered the iPhone SDK issue automatically.
Thanks for reminding me of that.
Waqar Malik wrote:
http://lists.apple.com/archives/Xcode-users/2008/Jul/msg00276.html
Still under NDA.
On Mon, Jul 14, 2008 at 2:40 PM, Steve Green [EMAIL PROTECTED] wrote:
I did see that as a possible solution but I'm not sure why it's necessary in
one app and it's not necessary in another. I've created a test project with
a single text field that's bound to the exact same model object that I
On Mon, Jul 14, 2008 at 3:06 PM, Bill Royds [EMAIL PROTECTED] wrote:
Forms layout is not part of the standard user experience in general,
although forms look and feel is.
Wrong. Otherwise the Apple HIG, the Windows interface guidelines, the
Gnome HIG, etc. all would lack sections on the
Hi Jens,
You're suggesting that my Worker instance is being deallocated because
it's retain count is going to zero after the performSelector is
invoked, right?
The funny thing about my Worker class is that it's a singleton,
implementing the following method:
- (unsigned)retainCount
{
return
Thanks, Ken,
I had a suspicion that's what was going on there, so I just added a
few extra [Worker retain] messages before I sent the message to be
handled. Still, the object gets released.
I have yet to find an explanation about any other reasons an object
might get released even after sending
Would it be easy to re-factor your usb stuff to run on a separate
thread? In my mind, that's clearly the most robust solution.
Joe K.
On Apr 14, 2006, at 5:50 PM, John Goodman wrote:
I have a timer than needs to fire while the user drags an NSSlider.
I have seen solutions that use the
On Mon, Jul 14, 2008 at 3:59 PM, James Trankelson [EMAIL PROTECTED] wrote:
Thanks, Ken,
I had a suspicion that's what was going on there, so I just added a
few extra [Worker retain] messages before I sent the message to be
handled. Still, the object gets released.
release != dealloc
It
On 14-Jul-08, at 17:55 , Kyle Sluder wrote:
I suppose the question I should be asking you is, who is your
audience? What does your product do? Why do you want to
auto-generate your user interface in a serialized object graph form
from a textual template? That certainly wouldn't be my first
On 14 Jul '08, at 4:12 PM, Shawn Erickson wrote:
It looks like you override release in your Worker object (based on
the back trace you posted). Are you thinking -[Worker release] is the
place to free resources? If so it isn't the right place. You want
-[Worker dealloc].
Right. -release just
Hi all,
As a developer entering the cocoa world for the first time one of the things I
am finding difficult is how to start structuring an application, I mean what
classes should I create to make an OK application design.
I have a simple application I am working on at the moment, and am hoping
Hi all,
I have an NSTableView that lists names of images. I want to pop up a
thumbnail image as I roll the mouse over the cells. I thought I could
do this by sub-classing the NSTextFieldCell. However I am stumped as
to how to get it to acknowledge mouse events obviously I have not
On Jul 14, 2008, at 9:34 AM, Matt Neuburg wrote:
On Sun, 13 Jul 2008 21:29:56 -0700, James W. Walker [EMAIL PROTECTED]
said:
I have a preferences dialog that I'm using with an
NSUserDefaultsController instance, my first use of bindings, and it
works. But I want to post a notification when
You might want to look into Postgresql instead. It's much nicer than
MySQL at doing desktop applications stuff, and you can even
subscribe to rows and have the server notify you when changes occur.
This makes it much easier to keep clients in sync. MySQL is not great
for doing desktop
I'd agree with what I.S. said, make sure you read up on and run
through some tutorials for coding a table and its data source by
hand. Aaron Hillegass does a great job of this in Cocoa Programming
for Mac OS X. As a Cocoa newbie this is a great book to hit the
ground running. It assumes
On Jul 14, 2008, at 4:15 PM, JongAm Park wrote:
...
(Well, I just looked up NSViewController document and it says that
it was added to the Leopard.
Is there any document which explains why it is added and how the
programming model is changed due to the addition of it? )
The
Hello All,
I'm working through the challenge app at the end of Chapter 18 of Cocoa
Programming, Third Edition. I've got my app to the point where it can draw
ovals, but each time I click in the window it seems like the view redraws
itself. I'm sure that this is a very simple question with a very
On Jul 14, 2008, at 8:58 AM, Dave Dribin wrote:
On Jul 11, 2008, at 2:36 PM, Bill Bumgarner wrote:
If you have specific enhancement requests, please file a bug via http://bugreporter.apple.com
. If your request is make MVC and KVO play nicely with threads,
you will need to provide details
On 14 Jul '08, at 6:05 PM, Steve Steinitz wrote:
I use a little gigabit Thecus Network Drive which is just about as
fast as using the internal disk. Humorously, my database currently
fits in the Thecus' cache so it runs even faster.
The scalability problem isn't the I/O speed, but the
On Jul 14, 2008, at 9:08 PM, Jens Alfke wrote:
On 14 Jul '08, at 6:05 PM, Steve Steinitz wrote:
I use a little gigabit Thecus Network Drive which is just about as
fast as using the internal disk. Humorously, my database currently
fits in the Thecus' cache so it runs even faster.
The
77 matches
Mail list logo