Re: Basic Question about iOS View Controllers/Storyboards

2017-05-08 Thread Peter Tomaselli
Sounds like a great way to get started getting up to speed on the new stuff (as in, not too complex to start out with)! Awesome. I'm sure there will be a bevy of opinions on this, but I always start with “Single view application” as the template, since it gets you past the really tedious setup,

Basic Question about iOS View Controllers/Storyboards

2017-05-08 Thread Dave
HI All, I’ve been working on a Mac Project for a long time and I now have a demo to do for an iOS project. The last time I worked on iOS was the iOS 6 era and we didn’t use Storyboards for that project. I’m trying to figure out the best template to base the project on, or if there is a

Basic Question

2012-05-09 Thread koko
In a subclass of NSView I have implemented: -(void)print:(id)sender In IB I have connected a Print menu item to print: in First Responder. My print: method is not called. There is only one instance of print: in the project. So the basic question is why would my print: method not becalled

Re: Basic Question

2012-05-09 Thread Charlie Dickman
print: method is not called. There is only one instance of print: in the project. So the basic question is why would my print: method not becalled? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Basic Question

2012-05-09 Thread koko
On May 9, 2012, at 10:45 AM, Charlie Dickman wrote: As a start change (void) to (IBAction) I wanted to avoid that as the documentation for NSView shows - (void)print:(id)sender as the method signature. -koko ___ Cocoa-dev mailing list

Re: Basic Question

2012-05-09 Thread Bill Bumgarner
On May 9, 2012, at 9:47 AM, koko k...@highrolls.net wrote: I wanted to avoid that as the documentation for NSView shows - (void)print:(id)sender as the method signature. IBAction is #def'd as void -- it is just a hook for IB's benefit. That isn't the problem. More likely than not,

Re: Basic Question

2012-05-09 Thread David Duncan
They are the exact same thing (IBAction is primarily a macro for void). In fact, unless you are trying to bind directly to the view (which you didn't seem to be) it won't make any difference at all. On May 9, 2012, at 9:47 AM, koko wrote: On May 9, 2012, at 10:45 AM, Charlie Dickman wrote:

Re: Basic Question

2012-05-09 Thread koko
wrote: In a subclass of NSView I have implemented: -(void)print:(id)sender In IB I have connected a Print menu item to print: in First Responder. My print: method is not called. There is only one instance of print: in the project. So the basic question is why would my print

Re: Basic Question

2012-05-09 Thread koko
On May 9, 2012, at 10:57 AM, Bill Bumgarner wrote: or otherwise in the responder chain I grok that ... thanks. -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: Basic Question

2012-05-09 Thread H. Miersch
On 9. May 2012, at 17:58, koko wrote: On May 9, 2012, at 10:57 AM, Bill Bumgarner wrote: or otherwise in the responder chain I grok that ... thanks. what does grok mean? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: Basic Question

2012-05-09 Thread Dave DeLong
On May 9, 2012, at 1:12 PM, H. Miersch wrote: what does grok mean? It's a term that roughly means to completely understand something. http://en.wikipedia.org/wiki/Grok Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Basic Question

2012-05-09 Thread Philip Ershler
On May 9, 2012, at 2:12 PM, H. Miersch wrote: On 9. May 2012, at 17:58, koko wrote: On May 9, 2012, at 10:57 AM, Bill Bumgarner wrote: or otherwise in the responder chain I grok that ... thanks. what does grok mean? To grok is to intimately and completely share the same

Re: Basic Question

2012-05-09 Thread Graham Cox
On 10/05/2012, at 2:33 AM, koko wrote: In a subclass of NSView I have implemented: -(void)print:(id)sender In IB I have connected a Print menu item to print: in First Responder. My print: method is not called. There is only one instance of print: in the project. So the basic

Re: nstableview **very** basic question

2009-03-23 Thread Michael
On Mar 21, 2009, at 9:24 PM, Jerry Krinock wrote: On 2009 Mar 21, at 14:27, Michael wrote: I cannot get tableview to show columns of constant width. [tv sizeToFit]; What I get when I use the above code is the first couple of columns varying in size, then the next n columns

nstableview **very** basic question

2009-03-21 Thread Michael
I've been struggling with this for a few days...so time to ask, if I may. I am trying to emulate Scott Anguish's multiplication table in his book. I cannot get tableview to show columns of constant width. I have looked at the guides of Apple, tried to understand all the nuances of

Re: nstableview **very** basic question

2009-03-21 Thread Jerry Krinock
On 2009 Mar 21, at 14:27, Michael wrote: I cannot get tableview to show columns of constant width. [tv sizeToFit]; What I get when I use the above code is the first couple of columns varying in size, then the next n columns equally space. If I have missed something in the

Re: Basic question on /Library/Application Support

2008-07-22 Thread Kiel Gillard
Hi John, If you use Carbon, you can use FSFindFolder() to find the application support folder and have Carbon create it for you by passing kCreateFolder as an argument. However, if you are using Cocoa, I'm not sure if NSSearchPathForDirectoriesInDomains() creates folders when you search for a

Re: Basic question on /Library/Application Support

2008-07-22 Thread Jens Alfke
On 22 Jul '08, at 3:53 PM, Kiel Gillard wrote: If you use Carbon, you can use FSFindFolder() to find the application support folder and have Carbon create it for you by passing kCreateFolder as an argument. FSFindFolder works fine in Cocoa apps too. (That's what

Basic question about NSComboBox

2008-03-26 Thread ADIL SALEEM
I have a basic question about NSComboBox that i want to clarify. When user selects some item from the combo box and actually click on the item itself in the list then [comboBox indexOfSelectedItem] returns it's index correctly (0,1,2...) . But if the user just clicks on the dropdown button