Re: Automatically filling an app with test data

2009-01-05 Thread Jerry Krinock
On 2008 Dec, 31, at 23:19, Kyle Sluder wrote: You mean you have written an application and haven't been testing it throughout? Probable answer: Yes, life happens. People have also been known to write applications without a detailed Test Plan in a detailed Software Specification. :)) O

Re: Which language to get started with cocoa development?

2009-01-05 Thread Luke Hiesterman
If you truly want do cocoa you should learn objective-c. That is the flagship language. Shouldn't be too difficult for a professional programmer to pick up. Luke Sent from my iPhone. On Dec 31, 2008, at 12:22 AM, Achim Domma wrote: Hi, I develop software for a living and want to get sta

Re: Which language to get started with cocoa development?

2009-01-05 Thread Bill Bumgarner
On Dec 31, 2008, at 12:22 AM, Achim Domma wrote: I develop software for a living and want to get started with cocoa development just for fun. I'm good at python, C, C++ and C# and have some Ruby knowledge. Now I'm asking myself, which language I should use to get started with cocoa developme

Re: Which language to get started with cocoa development?

2009-01-05 Thread Andrew Farmer
On 31 Dec 08, at 00:22, Achim Domma wrote: I develop software for a living and want to get started with cocoa development just for fun. I'm good at python, C, C++ and C# and have some Ruby knowledge. Now I'm asking myself, which language I should use to get started with cocoa development:

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Andrew Farmer
On 31 Dec 08, at 19:19, Adam Foltzer wrote: My trouble is in deciding which graphics framework to pursue for the visualization. Since all I need are representations of points, the path of least resistance for 2-D visualization seems to be using a simple loop with calls to [NSBezierPath fillre

Re: Problem adding an entity to a to-many relationship

2009-01-05 Thread Quincey Morris
On Dec 30, 2008, at 07:00, Keith Lander wrote: Then I then add the student using the predefined accessor: [course addStudentsObject:student]; This fails in the call [NSBinder _invokeSelector:withAguments:onKeyPath:ofObject:mode:raisesForNotApplicableKeys :] The first step is to fi

Re: Basic: How to go about implementing such a view?

2009-01-05 Thread Quincey Morris
On Dec 30, 2008, at 20:35, Matt Rajca wrote: I am trying to figure out how to implement a 'Piano Roll' view in Cocoa. Attached is a screenshot of what I'm trying to accomplish. Disregard the keyboard on the left of the window and let's just focus on the area with the colorful rectangles, sy

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Rob Keniger
On 01/01/2009, at 1:19 PM, Adam Foltzer wrote: I also see Quartz mentioned as a friendlier wrapper for OpenGL, but again I get the impression that it's more geared toward 2-D rendering than anything else. Is a straight dive into full OpenGL the way to go here? I realize that these framewor

Re: Which language to get started with cocoa development?

2009-01-05 Thread Rob Rix
Go with Objective-C: it’s the native language for Cocoa, so there’s no impedance mismatch. Plus, you can leverage your C/C++ knowledge where you want/need to more easily than you could in Ruby or Python. (C# is an unknown quantity for me, so I can’t really comment on that.) Plus, if you’re

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Rob Rix
OpenGL has a steep learning curve, but it’s the only truly 3D framework out of all of these mentioned. Quartz is 2D-only, and only wraps OpenGL as a matter of performance and/or convenience; CoreAnimation is a really clever system for compositing 2D layers in 3D; managing the drawing yourse

Graphical UILabels in iPhone

2009-01-05 Thread Tharindu Madushanka
Hai I am trying to develop chat application for iPhone, I like to add labels with text like iChat on Mac, In iPhone can I do it using UILabels or UITextFields. How can I have a look like that. Is it possible to do with iPhone SDK, I am new to iPhone SDK and also never done Mac OS programming. So pl

Re: Basic: How to go about implementing such a view?

2009-01-05 Thread Graham Cox
On 31 Dec 2008, at 3:35 pm, Matt Rajca wrote: 1. When drawing the light and dark grey rows which make up a background, should I just use a loop with Quartz 2D/Cocoa Drawing calls? 2. When drawing the vertical lines, should I just use a loop with Quartz 2D/Cocoa Drawing calls? I'd say yes

Re: Which language to get started with cocoa development?

2009-01-05 Thread Graham Cox
On 31 Dec 2008, at 7:22 pm, Achim Domma wrote: - ObjC looks interesing, but would be a new language to learn. I like to learn new languages, but I also prefer to do one step after another. So learning Cocoa and Obj-C toghether could be frustrating. Depending on what sort of application yo

Re: iTunes Scripting Bridge examples?

2009-01-05 Thread has
On 1 Jan 2009, at 04:57, Scott Anguish wrote: heh, no. This is a personal project I'm messing with. Nothing work related. Have fun. FWIW, a few tips to get you started: - Despite the superficial appearance of AppleScript/appscript/SB/ etc.'s APIs, Apple event IPC does not operate according

Re: Which language to get started with cocoa development?

2009-01-05 Thread Derek Chesterfield
For an experienced C/C++ programmer, Obj-C is not difficult to learn at all. The main difference from C++ is the method-calling syntax. The rest of what you need to learn for Obj-C development is the Cocoa framework itself, but since that's what you want to learn anyway, you will need to di

Re: NSSplitView

2009-01-05 Thread Rainer Brockerhoff
At 14:51 -0800 31/12/08, cocoa-dev-requ...@lists.apple.com wrote: >From: David Blanton >Date: Wed, 31 Dec 2008 15:22:49 -0700 >Message-ID: > >How does one make a connected horiz-vert split view like in Xcode, you know, >one control point to size in both directions? RBSplitView does that automa

Display Mail type outlineView numbers

2009-01-05 Thread vince
Thanks for the help. I would like to display the small blue circle and associated numbers that refer to the amount of entries in an outlineView group. Documentation? Thanks. I'm not sure what to search for ... v. ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: Which language to get started with cocoa development?

2009-01-05 Thread Michael Ash
On Wed, Dec 31, 2008 at 3:22 AM, Achim Domma wrote: > Hi, > > I develop software for a living and want to get started with cocoa > development just for fun. I'm good at python, C, C++ and C# and have some > Ruby knowledge. Now I'm asking myself, which language I should use to get > started with co

Re: Which language to get started with cocoa development?

2009-01-05 Thread Kai
Achim: I can’t answer your questions concerning the scripting languages, but given your background I’d suggest to go ahead with ObjC. It won’t really be a new language for you since it is but an extension of C. Granted, the bracket notation for message sending needs a little getting used

Re: Basic: How to go about implementing such a view?

2009-01-05 Thread Clark S. Cox III
On Dec 30, 2008, at 23:35, Matt Rajca wrote: Hi! I am trying to figure out how to implement a 'Piano Roll' view in Cocoa. Attached is a screenshot of what I'm trying to accomplish. Disregard the keyboard on the left of the window and let's just focus on the area with the colorful rectan

Re: Which language to get started with cocoa development?

2009-01-05 Thread Achim Domma
Thanks to everybody giving feedback to my question! Obviously I'll have to get started with ObjC. Most people refer to the Cocoa design patterns I'll have to get used to. Currently I think about buying http://www.pragprog.com/titles/dscpq/cocoa-programming to speed up my first steps. What oth

Re: Visualization strategy/choosing a framework

2009-01-05 Thread E. Wing
> My app is an interactive particle swarm optimization ( > http://en.wikipedia.org/wiki/Particle_swarm_optimization for the curious) > that generates N-dimensional coordinates representing individuals in a very > compelling, organic way. For visualization, of course, I'm mainly concerned > with two

Re: Problem adding an entity to a to-many relationship

2009-01-05 Thread Marcus S. Zarra
Can you share the code for this call: [course addStudentsObject:student]; That method is not part of the API so I am guessing you wrote it. If we can get a peak into there we can see what the issue is. Marcus S. Zarra Zarra Studios LLC Simply Elegant Software for OS X www.zarrastudios.com

Scripting Bridge: Targeting Another Mac on the LAN

2009-01-05 Thread Brad Gibbs
Happy New Year. I'm trying to create a small app to control Apple's DVD Player on a Mac Mini using a MacBook Pro. I've got a small start with Scripting Bridge and I have control over the DVD Player app on my laptop. I've read through the Distributed Objects documentation and Async Socket

Re: Which language to get started with cocoa development?

2009-01-05 Thread E. Wing
On 12/31/08, Achim Domma wrote: > Hi, > > I develop software for a living and want to get started with cocoa > development just for fun. I'm good at python, C, C++ and C# and have > some Ruby knowledge. Now I'm asking myself, which language I should > use to get started with cocoa development: > >

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Adam Foltzer
Thanks very much for your input, everyone. This seems to be the key theme: On Thu, Jan 1, 2009 at 3:48 AM, Andrew Farmer wrote: > It isn't. Quartz is a 2D graphics library and has no 3D capabilities - if > what you're after is 3D rendering of any variety, go directly to OpenGL; do > not pass GO;

Re: Making an object release itself?

2009-01-05 Thread Jim Correia
On Dec 30, 2008, at 10:28 PM, Jacob Rhoden wrote: Im still learning cocoa, so I have a question about if this is a good idea or a crazy noob mistake. Given the following code can I alter it so that postreader auto releases itself? [...] I'm thinking PostReader class could have a static fun

Re: Which language to get started with cocoa development?

2009-01-05 Thread Keary Suska
On Dec 31, 2008, at 1:22 AM, Achim Domma wrote: I develop software for a living and want to get started with cocoa development just for fun. I'm good at python, C, C++ and C# and have some Ruby knowledge. Now I'm asking myself, which language I should use to get started with cocoa developm

Re: Display sleep vs. enterFullScreenMode

2009-01-05 Thread Shayne Wissler
Is there any way to re-enable the display sleep timer? Or do I need to implement my own display sleep timer if I use that API? Thanks for your help. Shayne Wissler On Wed, Dec 31, 2008 at 4:34 PM, Sean McBride wrote: > Shayne Wissler (wiss...@gmail.com) on 2008-12-31 3:11 PM said: > >>I have a

Re: Which language to get started with cocoa development?

2009-01-05 Thread Ken Thomases
On Dec 31, 2008, at 2:22 AM, Achim Domma wrote: I develop software for a living and want to get started with cocoa development just for fun. I'm good at python, C, C++ and C# and have some Ruby knowledge. Now I'm asking myself, which language I should use to get started with cocoa developme

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Ken Thomases
Hi, This isn't my area of expertise, but I just have one point to make: On Dec 31, 2008, at 9:19 PM, Adam Foltzer wrote: I also see Quartz mentioned as a friendlier wrapper for OpenGL, but again I get the impression that it's more geared toward 2-D rendering than anything else. I think y

Re: Display sleep vs. enterFullScreenMode

2009-01-05 Thread Sean McBride
Shayne Wissler (wiss...@gmail.com) on 2009-01-01 4:43 PM said: >Is there any way to re-enable the display sleep timer? Or do I need to >implement my own display sleep timer if I use that API? There probably isn't a Cocoa way. But you probably can with IOKit. I'd start by googling "kIOPMAssertio

Re: Basic: How to go about implementing such a view?

2009-01-05 Thread Ken Tozier
This looks like a good fit for CGLayers. http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_layers/chapter_13_section_1.html#/ /apple_ref/doc/uid/TP30001066-CH219-TPXREF101 The background and color bars could be a plain old bitmap images drawn into cgl

Re: Which language to get started with cocoa development?

2009-01-05 Thread Scott Andrew
Personally I would say Objective-C. Its not that difficult of a language to learn. If you have learned C++ and C, Objective C is easy enough to learn. I just trained and mentored some window's engineers on an Objective-C project, they had C#, C++ and C expreience. Once they got through the

Re: NSTreeController delete slowness...

2009-01-05 Thread kvic...@pobox.com
i received the following advice off-list: IIRC, when you do set operations like that, it performs a remove for each item. Try making a mutable copy of the content set, performing the set operation, and then setting the content of the controller with the new set. That should wind up being fas

Practical error handling question

2009-01-05 Thread Christian Moen
cocoa-dev, I've read the Error Handling Programming Guide For Cocoa and I'd very much like to confer with other Cocoa developers how they do their error handling using NSError. My application, as most applications, I guess, can fail several functional areas and for many reasons. I'd like my appl

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Adam Foltzer
Hi Ken, The Particle Swarm patch in QC is exactly the sort of visual effect I'm looking for, but unfortunately it seems like a closed box in terms of being able to place each particle yourself. You can decide where the swarm is and how it behaves, but not in a way that would let my algorithm place

Stumped on memory problem :(

2009-01-05 Thread Jacob Rhoden
I have read the memory management documentation over and over but still cannot work out the problem with this code, can anyone see it? I have spent hours on this! +(NSMutableArray*)getStrings { NSMutableDictionary* dict = [[NSMutableDictionary alloc] init]; [dict setValue: @"" forKey: [

Re: NSOutlineView

2009-01-05 Thread Mahaboob
I was created toolbar items by coding. Now I deleted it and created it by using IB. Then all are working well. Thanks a lot. mahaboob On 1/1/09 7:30 PM, "Timothy Larkin" wrote: > I don't understand what you mean by "calling this method from toolbar". How > does control go to the toolbar? > >

Re: Automatically filling an app with test data

2009-01-05 Thread Matteo Manferdini
> You mean you have written an application and haven't been testing it > throughout? Of course I've done it, it would have been foolish to write an app without any test! :) What I need now is a rapid way to fill it with tons of data, the data a user could accumulate in a year or two of use, to see

Software Developer for MAC OS / iPhone Platform

2009-01-05 Thread Aby
Software Developer for MAC OS / iPhone Platform Sourcebits Technologies is a full service consulting firm on Macintosh & iPhone platform and is among the top Mac & iPhone software development companies in India. We are currently seeking talented and experienced software developers to join our team

Re: Basic: How to go about implementing such a view?

2009-01-05 Thread Jens Bauer
Hi Matt, Here's my opinion... :) On Dec 31, 2008, at 05:35, Matt Rajca wrote: I am trying to figure out how to implement a 'Piano Roll' view in Cocoa. Attached is a screenshot of what I'm trying to accomplish. Disregard the keyboard on the left of the window and let's just focus on the ar

Re: Which language to get started with cocoa development?

2009-01-05 Thread Jens Bauer
Hi Achim, I'll only answer one of your questions, as I don't know much about all the scripting languages and possibilities for those. On Dec 31, 2008, at 09:22, Achim Domma wrote: I develop software for a living and want to get started with cocoa development just for fun. I'm good at pytho

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Jens Bauer
Hi Adam, Happy New Year to you too! Go for OpenGL. If you choose something else, you might run into problems along the road. I know OpenGL can handle both 2D and 3D, and you get a fairly good support from samples on the Web. -Take a look at the CocoaGLView at http://developer.apple.com/ s

Re: mydoc.myext/QuickLook/Preview.html and full screen

2009-01-05 Thread Gerd Knops
On Dec 31, 2008, at 8:43 PM, Julien Jalon wrote: On Wed, Dec 31, 2008 at 10:37 PM, Gerd Knops > wrote: Seemingly arbitrary limitation, when according to the documentation Java applets and Flash are supported. Web Plug-ins are not supported (if this is in QL documentation, it is a bug).

Re: NSSplitView

2009-01-05 Thread David Blanton
Ok, I will look at RBSplitView. Thanks! On Jan 1, 2009, at 5:37 AM, Rainer Brockerhoff wrote: At 14:51 -0800 31/12/08, cocoa-dev-requ...@lists.apple.com wrote: From: David Blanton Date: Wed, 31 Dec 2008 15:22:49 -0700 Message-ID: How does one make a connected horiz-vert split view like in

NSPredicateEditor

2009-01-05 Thread Eckart Schlottmann
Hello, I'm working on a small CoreData Document based application and wanted to include an NSPredicateEditor in a NSDrawer. But this failed for me because somehow the NSPredicateEditor is not drawn in the Drawer's Content View. From the PredicateEditorSample I found out that in this the del

Re: mydoc.myext/QuickLook/Preview.html and full screen

2009-01-05 Thread Julien Jalon
On Fri, Jan 2, 2009 at 5:05 PM, Gerd Knops wrote: > > On Dec 31, 2008, at 8:43 PM, Julien Jalon wrote: > >> >>> On Wed, Dec 31, 2008 at 10:37 PM, Gerd Knops >>> wrote: >>> Seemingly arbitrary limitation, when according to the documentation >>> Java applets and Flash are supported. >>>

QTMovieLayer and QCCompositionLayer Don't Start

2009-01-05 Thread Gordon Apple
The specs claim that both QTMovieLayer and QCCompositionLayer start automatically. They don't. I have to explicitly start Movies and I haven't figured out yet how to start a QCCompositionLayer. I get the initial image in a QCCompositionLayer, but no play. How do you start it? A related