nsopenpanel no title bar

2016-04-24 Thread Rick C.
Hi, Since 10.11 it seems the title bar no longer appears even when using setTitle: does anyone know what happened and how to get the old behavior back? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderat

Re: override NSTextField paste behavior

2016-03-28 Thread Rick C.
nt if they're ok with the proposed reformat. > > Sent from my iPhone > >> On Mar 25, 2016, at 12:47 PM, Ken Thomases wrote: >> >>> On Mar 24, 2016, at 9:29 PM, Rick C. wrote: >>> >>> I have an NSPanel with 2 NSTextFields and my controller

override NSTextField paste behavior

2016-03-24 Thread Rick C.
Hi, I have an NSPanel with 2 NSTextFields and my controller is the delegate of the panel. I want to override the paste behavior of the 2 text fields so that the user doesn’t paste unnecessary spaces and other characters into these fields. I thought this should be easy enough but cannot find a

Re: question about last used date

2016-03-19 Thread Rick C.
Great thanks again for all the help much appreciated! > On 15 Mar 2016, at 9:21 AM, Jens Alfke wrote: > > >> On Mar 14, 2016, at 6:11 PM, Rick C. > <mailto:rickcort...@gmail.com>> wrote: >> >> 2. NSURLContentAccessDateKey returns the curr

Re: question about last used date

2016-03-14 Thread Rick C.
So I’ve done some work: 1. Might be possible no kMDItemLastUsedDate on a new Mac after using MigrationAssistant or of course if no Spotlight being used 2. NSURLContentAccessDateKey returns the current date like mentioned here - http://stackoverflow.com/questions/13914600/get-the-real-last-open

question about last used date

2016-03-14 Thread Rick C.
Hi everyone, I’m having some troubles getting the last used date of a file, can anyone see issues here with my code? NSDictionary *fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:anObject error:NULL]; if (fileAttributes != nil) { MDItemRef item = MDItemCreate(NULL, (

Re: recent applications list question

2016-01-27 Thread Rick C.
ems. > They might be in NSWorkSpace. > > At worst you might try a simple launch or activate from NSWorkSpace or > AppleScript to see if it nudges things. > > Sent from my iPhone > >> On Sep 7, 2015, at 3:36 PM, Rick C. wrote: >> >> Hi, &

delete stock apps

2016-01-24 Thread Rick C.
Does anyone know if there’s a way to delete stock apps on 10.11 without disabling SIP and rebooting the machine? Or, is there a way to disable SIP without rebooting? Thanks! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post a

Re: CFBundleSupportedPlatforms issue

2015-10-11 Thread Rick C.
be used by the compiler. Am I missing something here? How can I fix this for pre-compiled binaries? > On 8 Oct 2015, at 7:45 AM, Jens Alfke wrote: > > >> On Oct 7, 2015, at 4:42 PM, Rick C. > <mailto:rickcort...@gmail.com>> wrote: >> >> Thanks

Re: CFBundleSupportedPlatforms issue

2015-10-07 Thread Rick C.
Thanks for the help but there is only one OS X Deployment Target for my entire app not one for each included binary. I really don’t see a place to change any settings for the binaries? > On 7 Oct 2015, at 2:24 PM, Charles Srstka wrote: > >> On Oct 5, 2015, at 2:4

CFBundleSupportedPlatforms issue

2015-10-05 Thread Rick C.
Hi, On existing project that always built without issue on 10.10/Xcode 6 I am now getting this error with 10.11/Xcode 7: Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for myBinary I have 3 pre-complied binaries inside of my project. They do

recent applications list question

2015-09-06 Thread Rick C.
Hi, I’m setting LSUIElement to 1 and using [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular] to transform to visible depending upon user preferences. However, this seems to have the effect of not having my app show up in the Recent Applications list. Does anyone know if there

persistentDomainNames in sandbox

2015-03-02 Thread Rick C.
Hi, Calling [[NSUserDefaults standardUserDefaults] persistentDomainNames] in a sandbox gives me 29 objects against 821 non-sandboxed (sample count from the machine I’m on right now). Is there any way to get the full array in a sandbox? rc ___ Coco

Re: setApplicationIconImage:

2015-01-25 Thread Rick C.
Got it Jens and thanks everyone for the help it’s much appreciated… :-) > On Jan 24, 2015, at 1:05 AM, Jens Alfke wrote: > > >> On Jan 23, 2015, at 1:53 AM, Rick C. > <mailto:rickcort...@gmail.com>> wrote: >> >> Unfortunately setApplicationIconImag

Re: setApplicationIconImage:

2015-01-23 Thread Rick C.
Charles > >> On Jan 21, 2015, at 11:46 PM, Rick C. > <mailto:rickcort...@gmail.com>> wrote: >> >> Hi, >> >> I’m using NSApp setApplicationIconImage: to set a different icon for >> Yosemite. Problem is the standard icon appears for a second then it c

Re: setApplicationIconImage:

2015-01-21 Thread Rick C.
Thanks for the reply. But how can I have multiple icon files in the bundle and then choose the one I want? > On Jan 22, 2015, at 2:00 PM, Jens Alfke wrote: > > >> On Jan 21, 2015, at 9:46 PM, Rick C. > <mailto:rickcort...@gmail.com>> wrote: >> >>

setApplicationIconImage:

2015-01-21 Thread Rick C.
Hi, I’m using NSApp setApplicationIconImage: to set a different icon for Yosemite. Problem is the standard icon appears for a second then it changes to the Yosemite one. Same when quitting the app. Is there a better way to do this? ___ Cocoa-dev ma

NSSearchField appearance in toolbar

2015-01-15 Thread Rick C.
Hi, My app has a bottom bar with several buttons and a search field. My problem is I cannot get the search field to have the same appearance as when it’s in an NSToolbar like Finder or Mail.app. But the buttons in my bottom bar do have the appearance as if they were in a toolbar. How can I g

Re: NSUserDefaults and home folder on different drive

2014-12-14 Thread Rick C.
Dec 11, 2014, at 3:10 PM, Rick C. wrote: >> >> So I found some old code where I was using NSAppleScript with "defaults >> write" ouch! :-) Sorry about that but curious why would this fail at times? >> Pretty sure that switching it to the proper NSUserDefaults wil

Re: NSUserDefaults and home folder on different drive

2014-12-11 Thread Rick C.
So I found some old code where I was using NSAppleScript with "defaults write" ouch! :-) Sorry about that but curious why would this fail at times? Pretty sure that switching it to the proper NSUserDefaults will work fine… > On Dec 11, 2014, at 10:24 PM, gweston wrote: >

NSUserDefaults and home folder on different drive

2014-12-10 Thread Rick C.
Hi, I write an NSString and NSData object to my app’s .plist and of course read it back when needed and this works fine 99% of the time. On occasion a user reports some trouble to me and I ask for the .plist and find out that this NSString/NSData object is missing. Digging deeper I find that

programmatically control do not disturb in ios 8

2014-09-24 Thread Rick C.
Hi, Does anyone know if there is a way to do this? Because there are some apps out there that seem like they are doing this but I can’t find any api. Thanks! rc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin request

Re: NSUserDefaults not sticking

2014-09-13 Thread Rick C.
/09/2014, à(s) 01:07, Rick C. escreveu: >> >> This is all very interesting and shows that there are issues out there, but >> back to my original issue if I’m writing and reading via NSUserDefaults and >> its not returning the expected values what else could be the trouble

Re: NSUserDefaults not sticking

2014-09-10 Thread Rick C.
This is all very interesting and shows that there are issues out there, but back to my original issue if I’m writing and reading via NSUserDefaults and its not returning the expected values what else could be the trouble? rc On Sep 11, 2014, at 11:59 AM, Charles Srstka wrote: > On Sep 10, 2

Re: NSUserDefaults not sticking

2014-09-10 Thread Rick C.
directly, but I am calling everything via NSUserDefaults… rc On Sep 10, 2014, at 2:14 PM, Graham Cox wrote: > > On 10 Sep 2014, at 3:43 pm, Rick C. wrote: > >> Thanks for the help. So I have double-checked and the info in question that >> is not sticking is NSString

Re: NSUserDefaults not sticking

2014-09-09 Thread Rick C.
wrong??? On Sep 9, 2014, at 2:08 PM, Graham Cox wrote: > > On 9 Sep 2014, at 3:36 pm, Rick C. wrote: > >> I write some data to my .plist using standard NSUserDefaults > > > Are you writing the .plist file, or are you using the NSUserDefaults object > exclusively? Fr

NSUserDefaults not sticking

2014-09-08 Thread Rick C.
Hi, I write some data to my .plist using standard NSUserDefaults but recently I have been getting user feedback (less than 5% of users) that after every launch of the app the data needs to be entered again. I’m in the process of doing some debugging but can anyone think of a reason why this mi

please help with this handler issue

2013-08-28 Thread Rick C.
Hi, Not sure why I am struggling here but if someone could assist me that would be great. In one part of my code I'm calling this: [prefs setObject:[self userImage:[i valueForKey:@"username"] whichAccount:i] forKey:@"User Image"]; Which will in turn call this: - (UIImage *)userImage:(NSStrin

Re: voiceover question

2013-07-03 Thread Rick C.
g out what the issue is. Any other thoughts? Thanks, rc On Jun 27, 2013, at 7:39 PM, Rick C. wrote: > Hi, > > Apparently in my app when it is launched with VoiceOver running and the user > tries to use Control-Option-M to access the menu it does not work. By > qu

voiceover question

2013-06-27 Thread Rick C.
Hi, Apparently in my app when it is launched with VoiceOver running and the user tries to use Control-Option-M to access the menu it does not work. By quitting VoiceOver and relaunching it works fine. I have also confirmed this. Any idea on why this would happen? I certainly never did anyth

accessing notification center programatically

2013-03-20 Thread Rick C.
Hi, Does anyone know if there's a way to access all current notifications in notification center (from all apps) programmatically? Not sure if Apple would allow this but thought I'd ask. Any ideas about this would be great thanks! rc ___ Cocoa-dev

Re: 2 icons showing in dock

2013-03-03 Thread Rick C.
ock wrote: > > On 2013 Feb 28, at 15:22, Rick C. wrote: > >> You're having the same issue? FWIW I moved it to >> applicationWillFinishLaunching and changed it to NSApplication activation >> policy and I see no difference in the behavior. > > I think that t

UITextView registering touches

2013-02-28 Thread Rick C.
I need a way to know when a UITextView is touched while it is first responder. I have seen some threads about this but I have never figured out how to make it work. I'm assuming there must be a way? Any input would be much appreciated thanks! rc ___

iPad hide keyboard button for iphone

2013-02-28 Thread Rick C.
Hi, In case I overlooked this somewhere is there a way to have the iPhone keyboard show this button to hide/show the keyboard? Or must I create my own custom solution? Thanks, rc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: 2 icons showing in dock

2013-02-28 Thread Rick C.
You're having the same issue? FWIW I moved it to applicationWillFinishLaunching and changed it to NSApplication activation policy and I see no difference in the behavior... On Feb 28, 2013, at 9:55 PM, Rob McBroom wrote: > On Feb 27, 2013, at 9:02 PM, Rick C. wrote: > >

Re: 2 icons showing in dock

2013-02-27 Thread Rick C.
o change its behavior. (I transform at > the end of applicationWillFinishLaunching: with the Cocoa API. In the past I > was definitely using the Transform function.) > > > -- > Seth Willits > > > > On Feb 27, 2013, at 5:08 PM, Rick C. wrote: > >> Yes that

Re: 2 icons showing in dock

2013-02-27 Thread Rick C.
Yes that's it! So if there's no solution for now I guess I'm stuck... :-( And to answer previous questions yes both icons point to the same location... On Feb 28, 2013, at 8:20 AM, Seth Willits wrote: > > For what it's worth, I'm certain there's a bug in some versions of OS X where > apps

2 icons showing in dock

2013-02-27 Thread Rick C.
Hi, When a customer adds my app to Login Items in System Preferences it (sometimes) causes my app to launch showing 2 icons in the dock after a restart. Only one instance is running (Activity Monitor) and only one icon shows in Command-tab. What normally happens is if my app icon is in the do

customizing cursor nssearchfield

2013-02-26 Thread Rick C.
Hi, This seems it should be easy enough, but could anyone give me pointers on how to do this? Seems I should be subclassing NSTextView and using drawInsertionPointInRect:color:turnedOn: but how would I do this? I don't really want to do major customization maybe just a touch thicker or a touc

Re: clarification about document type extensions

2012-12-12 Thread Rick C.
Thank you very much for the replies it's most helpful... On Dec 11, 2012, at 4:50 AM, Charles Srstka wrote: > On Dec 10, 2012, at 11:44 AM, Sean McBride wrote: > >> On Mon, 10 Dec 2012 18:33:00 +0800, Rick C. said: >> >>> Hoping for some clarification here..

clarification about document type extensions

2012-12-10 Thread Rick C.
Hi, Hoping for some clarification here...with a Mac app if I set a bunch of extensions in a document type in my info.plist with the role of viewer will it cause my app to "hijack" these extensions and become the default app to open with? This is not my intention I just want my app to be able t

Re: nssound question

2012-11-22 Thread Rick C.
gt; NSSound by default uses the selected sound output device (selected in the > Output tab of the preference panel). But it seems to have a > setPlaybackDeviceIdentifier: method that I've never tried using. > > Dave > > On 2012-11-21, at 9:04 PM, Keary Suska wrote: >

nssound question

2012-11-21 Thread Rick C.
Hi, In my project there are times I call NSBeep and times when I use NSSound and play one of Finder's system sounds that have to do with file-movement (for example the undo sound). Problem is NSBeep gets played through the user's internal Mac speakers where as using NSSound is played through a

window errors

2012-09-17 Thread Rick C.
Hi, Can someone shed some light on what this is: http://pastie.org/pastes/4580387 I'm having the same errors with my app but have never noticed this until either 10.8 or Xcode 4.5. Thanks! rc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

icons showing blurry in finder

2012-09-10 Thread Rick C.
Hi, Has anyone had a problem with icons showing blurry in Finder recently? Meaning in the dock or Command-Tab view, etc. I am 99% sure this is nothing to do with my app, and I noticed this even before switching to the now recommended .iconset way of creating my icon. But it's a bit scary see

Re: searching through all user accounts

2012-07-29 Thread Rick C.
Thank you all! rc On Jul 30, 2012, at 3:23 AM, Jens Alfke wrote: > > On Jul 29, 2012, at 3:23 AM, Rick C. wrote: > >> I have a search app which normally searches through the current users home >> directory using NSTask and find command. If I wanted to make it search

searching through all user accounts

2012-07-29 Thread Rick C.
Hi, I have a search app which normally searches through the current users home directory using NSTask and find command. If I wanted to make it search through all user accounts could I ask some advice on what is the best way to make it work? Because I know permissions will be an issue. Thanks

Re: GCD question

2012-07-19 Thread Rick C.
Thanks all for the replies! rc On Jul 19, 2012, at 11:41 PM, Fritz Anderson wrote: > On 19 Jul 2012, at 1:47 AM, Rick C. wrote: > >> If I use this to initiate a background "thread": >> >> >> dispatch_async(dispatch_get_global_queue(0, 0),

GCD question

2012-07-18 Thread Rick C.
Hi, If I use this to initiate a background "thread": dispatch_async(dispatch_get_global_queue(0, 0), ^{ // do some stuff [self runMyFunction]; [self runAnotherFunction]; // do some more stuff }); My question is with my sample calling runMyFunction or runAnotherFunction are they blocking?

Re: nstableview remove/insert rows question

2012-07-10 Thread Rick C.
ow in this situation it always throws an exception. Any help would be much appreciated thanks! rc On Jun 29, 2012, at 4:26 AM, Corbin Dunn wrote: > > On Jun 28, 2012, at 4:30 AM, Rick C. wrote: > >> Hi, >> >> Got a view-based table view and instead of using reload

Re: turning app into background app

2012-07-09 Thread Rick C.
Thank you very much I overlooked this! rc On Jul 10, 2012, at 2:33 AM, Eric Schlegel wrote: > > On Jul 8, 2012, at 5:52 AM, "Rick C." wrote: > >> I did read that I could set my app to have LSUIElement - YES by default and >> then use TransformProcessType to

turning app into background app

2012-07-08 Thread Rick C.
Hi, I have an older project where I write to my own .plist to set LSUIElement to change my app from being hidden or non-hidden. I know this is not recommended and I'm looking for a "newer" way to do this? I only have a single app here not a helper app so that's why I'm trying to figure this o

Re: nstableview remove/insert rows question

2012-06-28 Thread Rick C.
012, at 4:26 AM, Corbin Dunn wrote: > > On Jun 28, 2012, at 4:30 AM, Rick C. wrote: > >> Hi, >> >> Got a view-based table view and instead of using reloadData I'm removing the >> existing rows and inserting the new rows so that I can have animation. I&#x

Re: nstableview remove/insert rows question

2012-06-28 Thread Rick C.
Great I will check this out thanks Corbin! rc On Jun 29, 2012, at 4:26 AM, Corbin Dunn wrote: > > On Jun 28, 2012, at 4:30 AM, Rick C. wrote: > >> Hi, >> >> Got a view-based table view and instead of using reloadData I'm removing the >> existing row

nstableview remove/insert rows question

2012-06-28 Thread Rick C.
Hi, Got a view-based table view and instead of using reloadData I'm removing the existing rows and inserting the new rows so that I can have animation. I'm also resizing the window in-between these 2 steps because my window resizes to fit how many rows are in my table view. This works great w

Re: sandbox question about copying from bundle

2012-06-24 Thread Rick C.
That does make sense I was just looking for a definitive answer... :-) Now I am writing my helper to the app support folder inside of my sandbox that's why I thought it might work, but it might not based on how you described it. And I'm guessing it might also be possible that with the inherit

Re: sandbox question about copying from bundle

2012-06-24 Thread Rick C.
, Todd Heberlein wrote: > > On Jun 24, 2012, at 2:47 AM, Rick C. wrote: > >> Ok here's my follow-up...I confirmed that everything I told you was true and >> finally said to myself I will just communicate with this executable inside >> my bundle. This works until

Re: Sandboxing and calling Launchctl

2012-06-24 Thread Rick C.
This helped me thanks! Unfortunately I wasn't try to launch my helper app via launchd so it was a bit different. But had to say thanks! :-) rc On Jun 1, 2012, at 9:30 AM, Alex Zavatone wrote: > If you haven't watched the video for Session 204 - "App Sandbox and the Mac > App Store" from th

Re: sandbox question about copying from bundle

2012-06-24 Thread Rick C.
nn wrote: > > On Jun 22, 2012, at 4:51 AM, Rick C. wrote: > >> Hi, >> >> In the non-sandboxed version of my app upon first launch I copied a helper >> executable from my bundle to my application support folder (standard >> location) and communicated with

sandbox question about copying from bundle

2012-06-22 Thread Rick C.
Hi, In the non-sandboxed version of my app upon first launch I copied a helper executable from my bundle to my application support folder (standard location) and communicated with it via nstask. Now I'm trying to sandbox my app and I found that when I do this it fails with a read-write deny (s

Re: nspopbutton short title possible?

2012-06-20 Thread Rick C.
ast I did this was with a segmented control and I remember setLabel: seemed to work just fine so this caught me by surprise too. But all is well now and thanks for the help! rc On Jun 20, 2012, at 11:22 AM, Graham Cox wrote: > > On 19/06/2012, at 3:20 PM, Rick C. wrote: > >> T

Re: nstableview reload with animation possible?

2012-06-19 Thread Rick C.
the time you call > beginUpdates/endUpdates. > > corbin > > On Jun 18, 2012, at 5:26 PM, Rick C. wrote: > >> Thanks I will take a look! >> >> >> On Jun 19, 2012, at 3:59 AM, Marc Respass wrote: >> >>>> What I'm basically trying

Re: nspopbutton short title possible?

2012-06-18 Thread Rick C.
Yeah that's what I was missing thanks for the time! On Jun 19, 2012, at 1:44 PM, Kyle Sluder wrote: > Take a look at -[NSPopUpButtonCell setUsesItemFromMenu:]. > > --Kyle Sluder > > On Jun 18, 2012, at 10:20 PM, "Rick C." wrote: > >> That's what

Re: nspopbutton short title possible?

2012-06-18 Thread Rick C.
19/06/2012, at 2:24 PM, Rick C. wrote: > >> Hi again, >> >> Is it not possible somehow to have the title in an nspopbutton to show a >> shortened version of one of the menu items? So for example if I have a menu >> item with the title "Advanced Mode" wh

nspopbutton short title possible?

2012-06-18 Thread Rick C.
Hi again, Is it not possible somehow to have the title in an nspopbutton to show a shortened version of one of the menu items? So for example if I have a menu item with the title "Advanced Mode" when choosing it I would like to set the title that shows on the button to "Advanced" but leave the

Re: nstableview reload with animation possible?

2012-06-18 Thread Rick C.
Thanks I will take a look! On Jun 19, 2012, at 3:59 AM, Marc Respass wrote: >> What I'm basically trying to do is call reloadData but with animation and I >> can't see how to do it? I know about removing/inserting rows with animation >> and I tried this, but I keep crashing and I would think

nstableview reload with animation possible?

2012-06-18 Thread Rick C.
Hi, What I'm basically trying to do is call reloadData but with animation and I can't see how to do it? I know about removing/inserting rows with animation and I tried this, but I keep crashing and I would think it's because I'm removing rows and inserting rows after my datasource has been mod

Re: setting preselected file for nsopenpanel

2012-06-11 Thread Rick C.
by accident). > > corbin > > On Jun 11, 2012, at 4:08 AM, Rick C. wrote: > >> Hi, >> >> Been through numerous posts on stack overflow without a solution so here >> goes: >> >> runModalForDirectory:file:types: was deprecated but in the docs it does

Re: setting preselected file for nsopenpanel

2012-06-11 Thread Rick C.
Dunn wrote: > This is a known limitation, as Lee Ann Rucker reported in the prior message. > > One work around is to use setDirectoryURL: and pass it the actual file (not > the folder). I believe that will pre-select it (sort of by accident). > > corbin > > On Jun 11, 2012, at

setting preselected file for nsopenpanel

2012-06-11 Thread Rick C.
Hi, Been through numerous posts on stack overflow without a solution so here goes: runModalForDirectory:file:types: was deprecated but in the docs it doesn't give the replacement for the file argument. How can we have a file preselected when running an open panel? Thanks, rc

Re: group row custom drawing nstableview

2012-05-25 Thread Rick C.
Was able to get it working thanks again! rc On May 24, 2012, at 12:10 AM, Corbin Dunn wrote: > Hi Rick, > On May 22, 2012, at 9:14 PM, Rick C. wrote: > >> Hi, >> >> I'm having some trouble doing a custom drawing for my group row in a >> view-based n

Re: group row custom drawing nstableview

2012-05-23 Thread Rick C.
Thanks Corbin for the reply. Ok I will continue with NSTableRowView and see if I can get the floating right this time. I'll let you know thanks again! rc On May 24, 2012, at 12:10 AM, Corbin Dunn wrote: > Hi Rick, > On May 22, 2012, at 9:14 PM, Rick C. wrote: > >> H

group row custom drawing nstableview

2012-05-22 Thread Rick C.
Hi, I'm having some trouble doing a custom drawing for my group row in a view-based nstableview. First of all I subclassed NSTableRowView is this correct? And if so the problem I'm having is to recreate the floating effect which normally happens automatically if using a standard NSTableCellVi

Re: nstextfield question

2012-04-29 Thread Rick C.
I think I got it working thanks for the help! On Apr 28, 2012, at 1:48 PM, Graham Cox wrote: > Use NSNumberFormatter as correctly suggested. You can set its > -positiveSuffix: string to "Days" and that's it. You're done. > > --Graham > > > > &

Re: nstextfield question

2012-04-27 Thread Rick C.
y find that the advantage of being > able to get control at virtually all stages of editing is worth it. I > certainly do. > > On Apr 27, 2012, at 12:12 PM, Rick C. wrote: > >> Hi, >> >> I might be getting sleepy and overlooking the obvious, but I have a pan

nstextfield question

2012-04-27 Thread Rick C.
Hi, I might be getting sleepy and overlooking the obvious, but I have a panel with a few text fields and I'm trying to figure out what gets called after entering a value into a text field and while it's still highlighted clicking it again? In my case when entering a value into one of my text f

Re: tips on managing group rows

2012-04-17 Thread Rick C.
Thank you all for the tips much appreciated! rc On Apr 17, 2012, at 8:50 PM, Alex Zavatone wrote: > I use a dictionary where all keys are the top level rows and the keys hold > arrays. > > On Apr 16, 2012, at 11:25 PM, Rick C. wrote: > >> Hi, >> >&g

tips on managing group rows

2012-04-16 Thread Rick C.
Hi, So I'm working on a view-based nstableview and for the first time I will be using group rows. Any tips on how to manage the data? What I mean is normally I can just return [dataArray count] and [dataArray objectAtIndex:row] for the required methods and that will get the job done. But si

window resizing advice

2012-04-10 Thread Rick C.
Hi, I have a small main window with a custom view that accepts drags, and once the drag is accepted I want it to resize larger and reveal a table view. In general I want to animate this but seems there might be a problem animating if the table view subview is already added? Should I: 1. Acc

Re: view-based nstableview advice

2012-04-02 Thread Rick C.
to do it as code-free as possible. Thanks for the help, rc On Apr 3, 2012, at 3:24 AM, Uli Kusterer wrote: > On 02.04.2012, at 08:58, Rick C. wrote: >> Just trying to make sure I'm on the right track here...so I'm doing my first >> view-based table view and I do like ho

view-based nstableview advice

2012-04-02 Thread Rick C.
Hi, Just trying to make sure I'm on the right track here...so I'm doing my first view-based table view and I do like how I can set a lot of things up in IB like text fields, etc. But I want to customize the rows (give them a gradient, etc.) so am I understanding correctly that I should drag ou

recreating lion fullscreen icon style

2012-03-28 Thread Rick C.
Hi, I'm working on a project where I might put icons in the top-right toolbar kinda like the fullscreen icon for lion or like the Mail icons in this window where I'm typing right now. My question would be what is the best way to put them there? I know how to get them to appear in the window f

Re: advice for creating these controls

2012-03-23 Thread Rick C.
Thanks again to everyone much appreciated! On Mar 24, 2012, at 2:44 AM, Lee Ann Rucker wrote: > > On Mar 23, 2012, at 3:24 AM, Rick C. wrote: > >> This is what I would expect too. But drawSegment:inFrame:withView: doesn't >> override the cell drawing from what I k

Re: advice for creating these controls

2012-03-23 Thread Rick C.
could still be an NSSegmentedControl. Getting a menu >> on a segment is just a matter of setMenu:forSegment: - the triangle would >> have to be part of the icon, because it doesn't do it for you. > > You're totally right. I had forgotten about that. > &g

Re: advice for creating these controls

2012-03-22 Thread Rick C.
just not quite as nice as my examples... rc On Mar 23, 2012, at 4:32 AM, Seth Willits wrote: > On Mar 22, 2012, at 7:14 AM, Rick C. wrote: > >> Just looking for an opinion what's the best way to create controls like this: >> >> http://cl.ly/191V3Z1C0m2k2U0V443x

advice for creating these controls

2012-03-22 Thread Rick C.
Hi, Just looking for an opinion what's the best way to create controls like this: http://cl.ly/191V3Z1C0m2k2U0V443x I initially assumed subclassing NSSegmentedControl, but then I was thinking maybe I can just subclass NSButton and put them together. Or maybe even make this out of a custom vie

Re: creating a favorites bar

2012-03-19 Thread Rick C.
Great thanks and yes I suppose scope bar is the more correct term... On Mar 20, 2012, at 2:23 AM, David Riggle wrote: > I wanted something similar recently (especially the drag & drop rearranging). > I didn't find anything suitable on the web and had to implement it all from > scratch. Despit

Moving connections to new object

2012-03-19 Thread Rick C.
Hi again, I'm recoding some older projects and I wanted to know in IB (Xcode 4) if I have an object of one type (let's say NSView) and I want to change it to a different type (let's say NSObject with blue cube) is there any way to automatically move over the connections as well? Or do I have t

creating a favorites bar

2012-03-19 Thread Rick C.
Hi, Any tips on how I might create a favorites bar similar to what Mail.app features? Thanks, rc ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at co

Re: updating old nsapplescript methods

2012-03-10 Thread Rick C.
Thank you Jerry and yes this was my mistake of reading only the class documentation! The rest is pretty clear thanks again! rc On Mar 10, 2012, at 9:54 PM, Jerry Krinock wrote: > > On 2012 Mar 10, at 01:07, Rick C. wrote: > >> I have a number of older nsapplescript metho

updating old nsapplescript methods

2012-03-10 Thread Rick C.
Hi, I have a number of older nsapplescript methods in a project that I would like to update to something newer. Although there are/were a few things that nsapplescript could do quite easily the non-thread safety is an issue and always dealing with quotations and having to escape them is a bit

Re: e: setAllowedFileTypes: (or similar) for NSPasteboard

2012-03-05 Thread Rick C.
2012 07:01:30 -0800 >> From: Jerry Krinock >> To: Cocoa-Dev List >> Subject: Re: setAllowedFileTypes: (or similar) for NSPasteboard >> Message-ID: <7c036771-17a3-44da-85ff-ff04dad10...@ieee.org> >> Content-Type: text/plain; charset=utf-8 >> >> &

setAllowedFileTypes: (or similar) for NSPasteboard

2012-03-04 Thread Rick C.
Hi, Sorry if I'm missing the obvious here, but I want to make a UTI array to limit what can be dragged onto my TableView. Is there not a way to do this like with an OpenPanel? I also see a containsPasteboardTypes: but this is only for UIPasteboard. Thanks, rc ___

advice for new project with resizing views

2012-02-27 Thread Rick C.
Hi, I need to work on a project where the main window is a view that accepts drops, and after the drop is complete the window will expand/resize to reveal a table view where I will show the needed data. An example would be this old appzapper app that's the first that comes to mind. I have not

Re: text field question

2012-02-25 Thread Rick C.
Great thanks everyone I think I got it! :-) rc On Feb 25, 2012, at 12:06 AM, Kyle Sluder wrote: > On Feb 23, 2012, at 5:38 PM, "Rick C." wrote: > >> Thanks Jan. What method do you call to make it accept the text? That's >> maybe what I'm looking for

Re: text field question

2012-02-24 Thread Rick C.
Thanks Jan. What method do you call to make it accept the text? That's maybe what I'm looking for... On Feb 23, 2012, at 11:32 PM, Jan E. Schotsman wrote: > > On Feb 23, 2012, at 7:56 AM, Rick C. wrote: >> >> I have a panel with a number of text fiel

Re: text field question

2012-02-24 Thread Rick C.
case I would only need to read these values once before the process starts so I wouldn't have to worry about the key focus issues... On Feb 24, 2012, at 6:17 AM, Keary Suska wrote: > On Feb 22, 2012, at 5:59 PM, Rick C. wrote: > >> I have a panel with a number of text fields wh

text field question

2012-02-23 Thread Rick C.
Hi, I have a panel with a number of text fields where a user should enter numeric values. These text fields are setup with Sent on End Editing so that if the user presses enter or tabs or changes text fields the value will be entered. The problem is sometimes a user just types in a value and

Re: iOS additional sharing options (context menu)

2012-02-17 Thread Rick C.
Thank you! On Feb 16, 2012, at 7:08 PM, Roland King wrote: > No there's no way to do that > > On Feb 16, 2012, at 7:02 PM, Rick C. wrote: > >> Hi, >> >> My research tells me no, but to be sure is there a way to add additional >> sharing options in

iOS additional sharing options (context menu)

2012-02-16 Thread Rick C.
Hi, My research tells me no, but to be sure is there a way to add additional sharing options in the iOS context menu? So for example if I'm in Photos and the options are Email Photo, Message, Print, etc. can I insert an additional option that would trigger my app? I know I can make it how I w

  1   2   3   >