Re: iPad Programming Tutorial

2010-04-25 Thread Rick Mann
I can't stress enough how much better it is to use IB. Having said that, a view created entirely programmatically is done in -loadView. You must implement that in your view controller subclass. If you do load a NIB but want to create additional views, do that in viewDidLoad. -- Rick On Apr 2

iPad Programming Tutorial

2010-04-25 Thread ML
Hi All, Does anyone know of a resource that helps understand how to NOT use interface builder for developing applications? I am trying to create a iPad SplitView application and I dont quite understand if I want to put code to create additional interface elements in: - (void)configureView or

Re: Can't set a cursor on a programmatically created window

2010-04-25 Thread David Preece
Hi Sean, Sorry I am so tardy... On 23/04/2010, at 8:49 AM, Sean McBride wrote: > Does it work if you don't use NSBorderlessWindowMask? Sadly, no. Will continue to research Thanks, Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas

Re: NSApplicationMain question

2010-04-25 Thread Charles Srstka
On Apr 25, 2010, at 6:00 PM, Klaus Backert wrote: > On 25 Apr 2010, at 22:28, Charles Srstka wrote: > >> The best thing to do is to read Apple’s Memory Management Guide, which will >> clear up a lot of things related to Cocoa memory management. >> >> http://developer.apple.com/mac/library/docum

Re: NSApplicationMain question

2010-04-25 Thread Charles Srstka
On Apr 25, 2010, at 8:44 AM, Bill Appleton wrote: > 4) how do you guys check for memory leaks in the cocoa objects? when i > delete a menu... do i have to delete the individual items? The best thing to do is to read Apple’s Memory Management Guide, which will clear up a lot of things related to

Not use of push-bottom method

2010-04-25 Thread Affonso Beato
Hi, I developed a Stereo Depth Calculator for filming in 3D, using formulas on an Excel Spreadsheet. Now I am trying to adapt it to Mac OSX using Xcode and Coccoa. I don't have much experience on it, but I could program my inputs, processing the trigonometric formulas, etc. using the push-bottom m

Newbie Q (Distributed Objects)

2010-04-25 Thread Chris Eccles
Hello I am relatively new to Cocoa but learning fast. I have a specific problem which I hope may be answered by the expertise on this forum. I cannot seem to get a 'client' app to make a connection to a vended object in a 'server' app across my LAN. The relevant code in my 'server' app is: - (vo

ABAddressBookRef question

2010-04-25 Thread David F.
Does an ABAddressBookRef remain valid after the AddressBook that it came from is released? Let's say I have a little object that holds onto an address: @interface AddressInfo : NSObject { ABRecordID contactRecordID; ABMultiValueIdentifier addressID; } @end Now let's say I want t

Re: UIResponder Woes

2010-04-25 Thread Dylan Copeland
Hi Fritz, Thanks for the detailed response and sorry for my incorrect posting. This is the first time I've ever used a mailing list, heh. The last paragraph in your response seems to sum up what I was trying to do exactly. After playing with this all day, it looks like you are indeed correct, a

Re: NSTableview background image for column?

2010-04-25 Thread Kyle Sluder
On Apr 24, 2010, at 12:52 PM, Izak van Langevelde wrote: The table shows a so-called 'exposure sheet' for an animation, where each row corresponds to one frame, and the columns correspond to the various foreground and background animation layers. There is one column for audio, and for sy

Re: How do I get a file reference w/o relying on the path?

2010-04-25 Thread Brad Stone
SOLVED This works just as it should. For reasons that I thought were valid at the time (I no longer think so) I had this code in writeSafelyToURL: right after the writeTofile: command. What was strange was the url was valid because I was storing the bookmark after the file was successfully wr

Re: NSApplicationMain question

2010-04-25 Thread Paul Sanders
> 1) how do i get that nifty application/preferences/services menu? i create my > menus dynamically (not nibs) I did this by starting out with a menu created from a NIB (and which contained the Application menu, File menu, Edit menu and so forth) and then modifying this to add the additional el

Re: NSApplicationMain question

2010-04-25 Thread Keary Suska
On Apr 25, 2010, at 7:44 AM, Bill Appleton wrote: > hi all, > > i wanted to do a reality check on some of my code & ask some specific > questions. > > 1) how do i get that nifty application/preferences/services menu? i create > my menus dynamically (not nibs) There is nothing special about thes

Re: NSApplicationMain question

2010-04-25 Thread Bill Appleton
hi all, i wanted to do a reality check on some of my code & ask some specific questions. 1) how do i get that nifty application/preferences/services menu? i create my menus dynamically (not nibs) 2) i need to create a raw NSScroller and control it like a NSSlider (min, max, value, proportion) i