On Mar 14, 2008, at 2:02 AM, Kyle Sluder wrote:
On Fri, Mar 14, 2008 at 1:34 AM, mmalc crawford
<[EMAIL PROTECTED]> wrote:
The canonical description is, "it's an object graph management and
persistence framework". It is not in and of itself an object store,
and persistence is only one of i
Kyle Sluder wrote:
On 13/3/08, [EMAIL PROTECTED] wrote:
Core Data does not support simultaneous access to a store.
With a bit of fussing, tweaking, brute force and tears its
working OK
for me. Knock on wood. Four machines access (only two of them heavily)
a little Thecus network disk stri
On Mar 12, 2008, at 9:45 AM, Thomas Wickl wrote:
Hello,
I´m new to Cocoa and I really need a hint in UI Design. How can I
create this Panel like it is shown in a lot of
Application like Mail?
http://www.spongedpics.com/upload/WH1205339930W47d8071ae5a64-Panel.jpg
And also how do they make th
Hi Thomas
I think this is simply a customized NSOutlineView embedded in an
NSSplitView and you should certainly start around this. In Leopard you
have the option to make NSSplitView with "no size" separator that
should helpt to get you the final look and feel
laurent
On Mar 12, 2008, at
On Fri, Mar 14, 2008 at 3:07 AM, Ben Lachman <[EMAIL PROTECTED]> wrote:
> You can in fact persistently store files without managing them as a
> really nifty easy to use, well performing, bindings enabled, undo-
> able object graph. Its called a filesystem. But most of us don't
> think they're
I think I finally solved this while chatting with Wil Shipley earlier
this evening. Wil mentioned sometimes needing to display from the
opaque ancestor which is basically what I was trying to do with the
code Uli questioned. The way I was doing it was only partially
successful at best. G
On Mar 14, 2008, at 12:12 AM, Steve Steinitz wrote:
Core Data does not support simultaneous access to a store.
With a bit of fussing, tweaking, brute force and tears its working OK
for me. Knock on wood. Four machines access (only two of them
heavily)
a little Thecus network disk striped
Hey,
New to Quartz drawing, and am still hazy on some of the concepts
involved. I use:
_cgContext = CGBitmapContextCreate(NULL, frame.size.width,
frame.size.height, 8, 6 * frame.size.width, colorSpace,
kCGImageAlphaPremultipliedFirst);
To make a context to draw to. I do some drawing stuff. Late
If I have my code issue multiple
performSelectorOnMainThread:someSelector :waitUntilDone:NO
is there any guarantee about the resulting order of execution?
(please note that I passed in NO for waitUntilDone)
That is, if for the same object, if performSelectoronMainThread is
executed twi
Hi,
I have implemented a custom view with drag and drop capability. When the
viwe is idle, the background is a subtle gray gradient, and when files are
being dragged over it turns to a nice blue gradient. I do this in drawRect
using a BOOL variable which gets updated in each of the drag operat
On 14 Mar 2008 10:57:42 +, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have implemented a custom view with drag and drop capability. When the
> viwe is idle, the background is a subtle gray gradient, and when files are
> being dragged over it turns to a nice blue gradient. I do this in drawRect
Hi,
I just dragged the label icon from the palette in IB onto my custom view ?
Thanks
-Mic
On Mar 14 2008, Kyle Sluder wrote:
On 14 Mar 2008 10:57:42 +, <[EMAIL PROTECTED]> wrote:
Hi,
I have implemented a custom view with drag and drop capability. When the
viwe is idle, the backgroun
On Thursday, March 13, 2008, at 11:11PM, "Dave Hersey" <[EMAIL PROTECTED]>
wrote:
>Set the control's focus ring to "none" in IB.
Please don't do that as this will not make your app fully accessible.
>On Mar 13, 2008, at 11:56 PM, Todd Blanchard wrote:
>
>> I've got this pane with a bunch of ch
On 14 Mar 2008 11:07:55 +, Mic Pringle <[EMAIL PROTECTED]> wrote:
> I just dragged the label icon from the palette in IB onto my custom view ?
Ditch the NSTextField that you're currently using (that's what the
"label" is) and do the drawing yourself. AppKit does not support
overlapping views
Hi Kyle,
Thanks for the tip-off with the docs, will defo look into this.
Although having scanned through them, I cannot see how you set the font,
size, color etc or how to use -sizeWithAttributes to keep it centered ?
Is there an example you know of that I can look at ?
Thanks
-Mic
On Mar
Hi!
I have just started playing around with CoreAnimation.
All seems to work as expected. The console however fills with the
message "CoreAnimation: rendering error 500".
Not of much a help in the way of debugging.
What does the message mean?
How does one go about debugging CoreAnimation?
B
On Mar 13, 2008, at 11:02 PM, Kyle Sluder wrote:
On Fri, Mar 14, 2008 at 1:34 AM, mmalc crawford
<[EMAIL PROTECTED]> wrote:
The canonical description is, "it's an object graph management and
persistence framework". It is not in and of itself an object store,
and persistence is only one of it
On 14.03.2008, at 09:11, Ben Lachman wrote:
I think I finally solved this while chatting with Wil Shipley
earlier this evening. Wil mentioned sometimes needing to display
from the opaque ancestor which is basically what I was trying to do
with the code Uli questioned. The way I was doing i
On 14.03.2008, at 09:11, Ben Lachman wrote:
I think I finally solved this while chatting with Wil Shipley
earlier this evening. Wil mentioned sometimes needing to display
from the opaque ancestor which is basically what I was trying to do
with the code Uli questioned. The way I was doing i
On 14.03.2008, at 13:11, Uli Kusterer wrote:
On 14.03.2008, at 09:11, Ben Lachman wrote:
I think I finally solved this while chatting with Wil Shipley
earlier this evening. Wil mentioned sometimes needing to display
from the opaque ancestor which is basically what I was trying to do
with t
Le 14 mars 08 à 13:54, Uli Kusterer a écrit :
On 14.03.2008, at 13:11, Uli Kusterer wrote:
On 14.03.2008, at 09:11, Ben Lachman wrote:
I think I finally solved this while chatting with Wil Shipley
earlier this evening. Wil mentioned sometimes needing to display
from the opaque ancestor wh
Hi everyone,
I wonder if anyone knows how to export the results of unit tests
made with OCUnit in a text file.
Thanks,
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Cont
I am new to programming. I studied basic C language, and recently I
read the Objective-C Tutorial and Cocoa Fundamental Guide , but i am
still confused with how do I connect my the codes with other
applications on the mac such as Mail.app.
I am planing to write a plug-in for Mail.app. Are t
On Mar 14, 2008, at 3:52 AM, Stuart Malin wrote:
If I have my code issue multiple
performSelectorOnMainThread:someSelector :waitUntilDone:NO
is there any guarantee about the resulting order of execution?
(please note that I passed in NO for waitUntilDone)
If there's nothing in the d
You may be confusing two separate things.
Mail plug-ins are not applications, and they have to use a private,
undocumented API. It is not something encouraged by Apple, nor is it a
great choice for a Cocoa program. If you're serious, there are several
plug-ins with the source code available
On Mar 14, 2008, at 10:25 AM, Jeff LaMarche wrote:
nor is it a great choice for a Cocoa program
Whoops, what I meant to say here, of course, was it's not a great idea
for a FIRST Cocoa program...
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.
On Fri, Mar 14, 2008 at 8:52 AM, Stuart Malin <[EMAIL PROTECTED]> wrote:
> If I have my code issue multiple
> performSelectorOnMainThread:someSelector :waitUntilDone:NO
>
> is there any guarantee about the resulting order of execution?
> (please note that I passed in NO for waitUntilDone
It means that CA is detecting an OpenGL error while rendering, there's
not much you can do to debug it unfortunately. The best thing would be
to file a radar with a sample app showing the issue, thanks,
John
On Mar 14, 2008, at 4:32 AM, Pierre Bernard wrote:
Hi!
I have just start
On Fri, Mar 14, 2008 at 12:43 AM, Ben Lachman <[EMAIL PROTECTED]> wrote:
> I do this with a perl script on the back end. My experience was that
> its was more cajoling the perl script into working that the PHP side,
> but that may be because I'm not much of a perl wizard (maybe only
> level 8 o
On 13 Mar '08, at 11:18 PM, Mayank Varshney wrote:
I am trying to set memory limit using setrlimit function function
using
resources RLIMIT_AS , RLIMIT_RSS , RLIMIT_DATA seperately . I also
tried to
Neither cocoa-dev nor carbon-dev is the right place to discuss this.
Try the darwin-userle
On 13 Mar '08, at 10:10 PM, Kyle Sluder wrote:
POST isn't usable for this: "The action performed by the POST method
might not result in a resource that can be identified by a URI.
Not generically usable, no, but some web-apps have protocols that use
POST to save a resource in a PUT-like way
I thought to implement an open panel on my main window and expected it
to wait for the dismissal of the sheet. It seems that actually the
events are out of the inendedorder. What is wrong with the following
code? Why didn't it wait for the sheet being closed?
// Put up the sheet for and ret
On Mar 13, 2008, at 9:17 PM, Edward Scholl wrote:
Working through the Currency Converter tutorial, and I get to the "Add
the ConverterController Class to Your Nib File"
(http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/06Controller/chapter_6_section_6.html
)
part, where
On Mar 14, 2008, at 5:16 PM, Hans van der Meer wrote:
I thought to implement an open panel on my main window and expected
it to wait for the dismissal of the sheet. It seems that actually
the events are out of the inendedorder. What is wrong with the
following code? Why didn't it wait for
Greetings everyone.
I am writing an application using IKImageBrowserView. I wrote a
NSMutableArray object to hold the source images which reaches about
500-700 regularly in number.
First, I used some code to generate the images. Then I told the
IKImagebrowserView to reload the datasource, my
If it waited for the sheet to close, then the rest of your application
would hang with the beach ball. Most of your program runs in a single
thread. If your method does not terminate, very little else in your
application will work. Just because you're modal for one window
doesn't mean you want the
I'm not saying it's a great idea, but there's a reason that the option
and setViewFocusRingType: is available. Sometimes it does make sense
to use them. I have no clue if it makes sense in Todd's case or not.
Besides, the focus ring type only determines the drawing style of the
focus indica
On Mar 14, 2008, at 8:54 AM, Uli Kusterer wrote:
Oh great, so this message *did* get through even though I canceled
and it didn't get saved to my outbox...
Anyway, of course your "toggle" prevents the endless loop, but
it's still an ugly hack. Not to mention a bad way to name such a
var
Great suggestion. Thanks.
On Mar 13, 2008, at 5:00 PM, Ben Trumbull wrote:
One nice thing about sorting, is that this is easy to do: merge
sort. You can break up the problem as much as you want, and use any
handy sort function, and then merge the pieces together.
Algorithms for merging are
Actually, since I've parsed the data successfully, I suppose I could
store it and reopen in Core Data. Since I am new to Cocoa and have a
limited programming background, I thought I should keep things
basic,. Will give it a try as well (once I've tried the merge sort).
But since I will have
On Mar 13, 2008, at 4:53 PM, Lorenzo wrote:
If I comment this line below
[[qcView openGLContext] flushBuffer];
my app launches and runs well, but of course I can't see the QCView
contents
properly. I have seen that this API is available in 10.5 and later.
Anyway
my compiler doesn't protes
On Fri, Mar 14, 2008 at 4:51 PM, Dave Hersey <[EMAIL PROTECTED]> wrote:
> I'm not saying it's a great idea, but there's a reason that the option
> and setViewFocusRingType: is available.
I'd say it's fine if you're drawing your own alternative focus ring,
but otherwise, it breaks accessibility.
Hello List!
I am trying to create a custom view class using Interface Builder that
I can then instantiate within my code as many times as needed. In
this particular case I have a control that I've created that contains
a progress bar, two text fields, two buttons, and an image view. I
t
Whoops meant to hit "Reply All"
On Mar 14, 2008, at 14:33, Michael Fey wrote:
Hello List!
I am trying to create a custom view class using Interface Builder
that I can then instantiate within my code as many times as needed.
In this particular case I have a control that I've created that
Hi Michael!
It seems to me that you should be able to follow the QuickStart for
building an InterfaceBuilder plug-in to create your custom NSView:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/IBPlugInGuide/Plug-inQuickStart/chapter_3_section_1.html#//apple_ref/doc/uid/TP4000
I wrote an article for MacTech a while back on doing this... it may be
a little outdated by now since it was written when Tiger was new, but
may still contain some useful info:
http://www.mactech.com/articles/mactech/Vol.21/21.10/Palettes/index.html
On Mar 14, 2008, at 2:46 PM, [EMAIL PROTEC
On 14.03.2008, at 17:51, Dave Hersey wrote:
I'm not saying it's a great idea, but there's a reason that the
option and setViewFocusRingType: is available.
As long as some other focus indication is present, it's fine to turn
off the focus ring, IMNSHO. For listboxes, the list selection itsel
David,
In my application I have several openGLViews running in turn their drawRect
method at 60 FPS. So in the drawRect method of each openGLView I set the
current context to the openGLView context. These openGLViews have nothing to
do with the QCView.
Well, when I call [qcView reanderAtTime...
I
On Mar 14, 2008, at 1:51 PM, Jeff LaMarche wrote:
I wrote an article for MacTech a while back on doing this... it may
be a little outdated by now since it was written when Tiger was new,
but may still contain some useful info:
http://www.mactech.com/articles/mactech/Vol.21/21.10/Palettes/i
On Mar 14, 2008, at 12:56 PM, Lorenzo wrote:
I will file a bug.
I run XCode 3.0 - Xcode IDE: 921.0 - Xcode Core: 921.0 -
ToolSupport: 893.0
Please file it, its always good to know what will help our
developers :).
Actually I have adopted the solution posted by Sam, here in the list.
I r
Thanks David,
> As for the garbage, it is likely that your QC Compositions are missing
> a Clear Patch. Adding one should prevent the garbage.
I already clear the color buffer with glClear.
If you meant something different, please let me know.
NSOpenGLContext*cContext = [NSOpenGLContext c
Greetings,
I have built a custom NSCell that displays the isCompleted and title
of the CalTask items on a user's Mac. I've got two issues with the
cell that i can't seem to figure out.
1. When a user selects one of the rows, the shadow on a row one or two
above will disappear. It look's like it
Hi,
I have gone through http://katidev.com/blog/?p=36
which shows how to show an Icon and two rows of text in an row of
NSTableView.
And it has been done by sub-classing NSCell.
I want exactly the same thing in an NSOutlineView (i.e. an Icon and
two rows of text in an row of NSOutlineView.
Hi,
As a newbie to Cocoa, I'm working through the Hillegass book, and
specifically the RaiseMan app. I've just implemented the code to save
and load doculents, but for some reason, I'm not able to create a new
document, or open an existing document (these options are disbaled in
the File
On Fri, Mar 14, 2008 at 6:06 PM, Allison Newman <[EMAIL PROTECTED]> wrote:
> As a newbie to Cocoa, I'm working through the Hillegass book, and
> specifically the RaiseMan app. I've just implemented the code to save
> and load doculents, but for some reason, I'm not able to create a new
> document,
Oh, yup, that works. Thanks Kyle.
Le 14 mars 08 à 23:17, Kyle Sluder a écrit :
On Fri, Mar 14, 2008 at 6:06 PM, Allison Newman <[EMAIL PROTECTED]>
wrote:
As a newbie to Cocoa, I'm working through the Hillegass book, and
specifically the RaiseMan app. I've just implemented the code to
save
Hi, I am using loadFileWrapperRepresentation to implement a RTF/RTFD
reader. My code for RTF and RTFD support works, but I can't figure out
how to load in .txt files. the basic flow of the reader is, determine
the file type, set a NSAttributedString to a certain value depending
on the file
Hi,
I've been developing with Cocoa frameworks for a while now, and want
to see if there is an interest to learn how to develop apps on Mac OS
X and for iPhone.
So, if I can get at least 3 people signed up, I will start classes.
Thanks.
___
Cocoa
Hi guys,
I've made a little webservice test, using NuSOAP I've made a
webservice that returns a string that is a 9k base64 encoded file.
I've used different soap testers and the method works great. When I
call it through Cocoa, it's called fine, all the parameters are passed
correctly and
Hi,
I've been developing with Cocoa frameworks for a while now, and want
to see if there is an interest to learn how to develop apps on Mac OS
X and for iPhone.
So, if I can get at least 3 people signed up, I will start classes.
Please reply to this post on CL:
http://vancouver.craigslist.
On Mar 13, 2008, at 2:11 PM, Karan Lyons wrote:
What's the best way to lookup something from a huge table?
I'm trying to write a piece of code that checks weather data given
a zipcode. But I first need to change that zipcode into another
format in order for it to work with the onlin
Frankly, if it's just a table of 100,000 NSNumbers pointing to
8-character strings, CoreData seems a little excessive to me. The table
can live in RAM and it shouldn't cause any problem.
Chris Hanson wrote:
On Mar 13, 2008, at 2:11 PM, Karan Lyons wrote:
What's the best way to lookup so
On Mar 14, 2008, at 6:31 AM, Pascal Augustin wrote:
I wonder if anyone knows how to export the results of unit tests
made with OCUnit in a text file.
You can redirect stderr to get the results, if you're doing a command-
line build.
You can also set up your own SenTestObserver subclass to
On Mar 14, 2008, at 5:55 PM, John Stiles wrote:
Frankly, if it's just a table of 100,000 NSNumbers pointing to 8-
character strings, CoreData seems a little excessive to me. The
table can live in RAM and it shouldn't cause any problem.
Why does it seem excessive?
Once you understand its con
Hi,
I feel that Carbon gave us the chance to get its previous value right
after the value is changed using Carbon Event.
How do I get the previous value in Cocoa?
I set an action to a NSDatePicker and I'd like to know if an input
value , especially year component, is different from the year
Frankly, if it's just a table of 100,000 NSNumbers pointing to
8-character strings, CoreData seems a little excessive to me.
:) The file system is excellent at something this straight forward.
The table can live in RAM and it shouldn't cause any problem.
Well if we're really serious, one cou
41,000 is nowhere near "huge". My advice is do it the simplest way, and if
it's too slow, then consider optimizations. Of course, for me, the
"simplest" way would probably be std::map< int, string >, but that's just my
personal taste. I suspect using Cocoa's version of a hash would work just
fine.
On 15/03/2008, at 4:46 AM, [EMAIL PROTECTED] wrote:
It seems to me that you should be able to follow the QuickStart for
building an InterfaceBuilder plug-in to create your custom NSView:
There's a trap for young players in the docs: watch out if you are
creating a GC-only app. Classes inst
On Fri, Mar 14, 2008 at 9:21 AM, mmalc crawford <[EMAIL PROTECTED]> wrote:
> >
> It's not clear where you're finding an instruction to "click open to
> instantiate"?
>
> The steps given are:
>
> 1 Choose File > Read Class Files.
>
> 2 Select the ConverterController.h file and click Open.
Ye
On 14 Mar '08, at 6:20 PM, norio ota wrote:
I set an action to a NSDatePicker and I'd like to know if an input
value , especially year component, is different from the year of its
previous date in the action method, without having a placeholder for
the previous value.
Use key-value obser
70 matches
Mail list logo