Re: OK - I must be missing something simple here.

2016-06-21 Thread Rick Aurbach
nav bar's rightButton with barButtonItems, but is this even possible in code? I'm missing something here. Or I'm not. Any ideas? Thanks, Alex Zavatone I think I must be a bit dense here, but why not just keep a dictionary of images an

Re: OK - I must be missing something simple here.

2016-06-21 Thread Rick Aurbach
> On Jun 21, 2016, at 3:14 PM, Alex Zavatone wrote: > > > On Jun 21, 2016, at 2:24 PM, Rick Aurbach wrote: > >> On Jun 21, 2016, at 2:00 PM, >> cocoa-dev-requ...@lists.apple.com<mailto:cocoa-dev-requ...@lists.apple.com> >> wrote: >> >>

Re: OK - I must be missing something simple here.

2016-06-21 Thread Rick Aurbach
> On Jun 21, 2016, at 3:40 PM, Alex Zavatone wrote: > > > On Jun 21, 2016, at 3:23 PM, Rick Aurbach wrote: > >>> On Jun 21, 2016, at 3:14 PM, Alex Zavatone wrote: >>> >>> >>> On Jun 21, 2016, at 2:24 PM, Rick Aurbach wrote: >>

Layout and Popovers

2016-10-20 Thread Rick Aurbach
problem? Must I explicitly resize the UITableView to fit the popover’s view? Is there any way to get the autoLayout system to do this for me? Has anyone else experienced a similar problem? Or am I just stupidly overlooking a completely obvious step that I really OUGHT to know? Cheers, Rick

Accessing the bundle of the call-site

2016-12-01 Thread Rick Aurbach
() would access the localized.strings file for the framework in which it was called. Is this possible? If so, can you give me a few pointers on how to make this work?? Thanks, Rick Aurbach ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Accessing the bundle of the call-site

2016-12-01 Thread Rick Aurbach
be impossibly tricky. (I haven’t tried it, but I expect that if I tried, for example, to parse out the module name from inside the locate() function, I’d get the name of the module it is located in, not the module of the call-site.) Sigh. I guess I should file a suggestion radar about it. Cheers, R

How to Validate CoreData attribute value for uniqueness

2014-08-30 Thread Rick Aurbach
newly-constructed catalogID. If the newly-constructed catalogID is (correctly) unique, the fetch will return nil. A non-nil result means that there is a duplicate. Does this sound useful in your environment?? Cheers, Rick Aurbach Aurbach & Associates, Inc. On Aug 30, 2014, at 2:00 PM, cocoa

Re: Date Picker

2015-05-18 Thread Rick Aurbach
popover? What did you try that didn’t work? That sort of thing would be greatly helpful in addressing your question in a meaningful way. Cheers, Rick Aurbach On May 18, 2015, at 2:00 PM, cocoa-dev-requ...@lists.apple.com<mailto:cocoa-dev-requ...@lists.apple.com> wrote: Message: 2 Dat

Swift Enums and CoreData

2015-07-06 Thread Rick Aurbach
h? If you had a problem like this, how would YOU tackle it? Since I’m a Swift newbie (well, I guess everybody still is, but I’m more so than most), I would appreciate any thoughts or suggestions for the best way to tackle this problem. Thanks. Cheers, Rick Aurbach Aurbach & Associates, In

Re: Swift Enums and CoreData

2015-07-06 Thread Rick Aurbach
On Jul 6, 2015, at 5:15 PM, Quincey Morris mailto:quinceymor...@rivergatesoftware.com>> wrote: On Jul 6, 2015, at 13:10 , Rick Aurbach mailto:r...@aurbach.com>> wrote: So my question: does this make any sense? If I was going to Swift-ify the Event concept, I wouldn’t use an

Re: Swift Enums and CoreData

2015-07-07 Thread Rick Aurbach
associated with the event. Cheers, Rick On Jul 6, 2015, at 6:29 PM, Quincey Morris mailto:quinceymor...@rivergatesoftware.com>> wrote: On Jul 6, 2015, at 16:21 , Rick Aurbach mailto:r...@aurbach.com>> wrote: Are you suggesting that we implement a custom fetched property No, I’m thin

Re: Tech update avoiding legacy code

2015-08-14 Thread Rick Aurbach
current SDK was, but with a deployment target of 5.1. And it uses ARC, GCD, and blocks. Not auto-layout. My memory isn’t that good about the differences between 5.0 and 5.1, but it is definitely true that 5.1 has a lot more capability in it than has been claimed in this thread. Cheers, Rick

Problem creating or opening a Core Data database

2012-11-02 Thread Rick Aurbach
r techniques which could be used to examine the >> data model and locate (and fix!) the error which is leading to this problem. Cheers, Rick Aurbach President and Chief Engineer ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Ple

Suggestions Please - Lookup Lists in Core Data

2012-11-03 Thread Rick Aurbach
be some increased processing costs. What are your experiences? Cheers, Rick Aurbach Aurbach & Associates, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Con

Re: Dumb ARC question

2012-12-27 Thread Rick Aurbach
e to refer to it via a strong property, and it's fine. > > I thought ARC worked the same in both cases (that is, retained the object on > assignment and kept it around until the last reference was gone, even if via > a regular ivar) > > A bit of googling co

How can I get rid of this warning message?

2013-01-21 Thread Rick Aurbach
w do do this, but how do I go about removing this warning message? Ideally, I'd like to do this on a file (or occurrence) basis, so that I can make sure that other similar usages are similarly safe. Cheers, Rick Aurbach Aurbach & Associates, Inc.

Re: How can I get rid of this warning message?

2013-01-22 Thread Rick Aurbach
Timer and hence is known to return void. Therefore, using the #pragma to turn off this message is safe. Thanks for the insight. Rick Aurbach Aurbach & Associates, Inc. On Jan 21, 2013, at 2:45 PM, Greg Parker wrote: > On Jan 21, 2013, at 12:20 PM, Rick Aurbach wrote: >> It appears

Re: UIViewController question

2013-03-23 Thread Rick Aurbach
Up to you. > Really just swapping out data, views themselves aren't necessarily different > as data changes. Additional view controllers might not be necessary. > > > Sent from my iPhone > Why not make the detail view one big multipage-wide view embedded in a UI

Re: Cocoa-dev Digest, Vol 10, Issue 195

2013-03-23 Thread Rick Aurbach
to iOS 6. So the real question is whether the OP wants customers who still own the original iPad. Not everyone can afford to replace a device like an iPad quite that quickly. And remember that unlike iPhones, there are no subsidies or exchange plans to make the device more affordable. Rick

Re: UINavigationController

2013-03-25 Thread Rick Aurbach
I'd opt for NEITHER. Try using a single storyboard to maximize the ability to wire together the navigation segues in IB. Rick Aurbach On Mar 25, 2013, at 2:00 PM, cocoa-dev-requ...@lists.apple.com wrote: > Message: 6 > Date: Mon, 25 Mar 2013 09:12:51 -0600 > From: koko &

Re: UICollectionViewCell

2013-04-11 Thread Rick Aurbach
ied self.sampleImage = [UIImage imageNamed:@"earth.png"]; Cheers, Rick Aurbach Aurbach & Associates, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

iOS UI suggestions wanted - Date Picker

2013-04-16 Thread Rick Aurbach
screen for easy selection). I would be interested to hear from anyone who has encountered a similar situation and has implemented a solution which they find satisfactory. Cheers, Rick Aurbach Aurbach & Associates, Inc. ___ Cocoa-dev maili

Re: iOS UI suggestions wanted - Date Picker

2013-04-17 Thread Rick Aurbach
Alex, You have my attention, I don't really understand what you're suggesting. How would a gradient overlay to the selection-list UITableView aid the user in scrolling to a particular date or making a selection? Could you elaborate?? Rick Aurbach On Apr 17, 2013, at 8:50 AM, Ale

Re: Can't keep disabled UIBarButtonItem text white

2013-07-10 Thread Rick Aurbach
tems (that are also disabled) are hidden > and shown depending on the app state. I use -setItems:animated: to do this. > When I do, I see them flash white, then dim to the disabled color. > > Is this a bug? Is there a workaround? > > Thanks, >

Re: Can't keep disabled UIBarButtonItem text white

2013-07-10 Thread Rick Aurbach
ng here, but my guess is that grayed text is the default text attribute for the disabled state, unless explicitly overwritten. Rick Aurbach On Jul 10, 2013, at 5:53 PM, Rick Mann wrote: > I'm building it in IB. > > On Jul 10, 2013, at 15:46 , Luther Baker wrote: > &g

Re: Can't keep disabled UIBarButtonItem text white

2013-07-11 Thread Rick Aurbach
sable the control. This idea here is for the text attribute for the disabled state to be set after any animations, etc. have completed. On Jul 10, 2013, at 6:10 PM, Rick Mann wrote: > > On Jul 10, 2013, at 16:07 , Rick Aurbach wrote: > >> Well, since a UIBarButtonItem is a

-[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Rick Aurbach
ual file name (i.e., change either the filename or the argument to exactly match) I get a correct result on both the actual and simulated devices. Cheers, Rick Aurbach Aurbach & Associates, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Opening custom files (iOS) from web

2017-03-20 Thread Rick Aurbach
pp in AppDelegate::application(_:open:options) is never triggered. So just setting the mime-type doesn’t seem to do enough. It appears that I’m missing something, but I don’t know what. Can anyone point me in the right direction? Cheers, Rick Aurbach ___

Using Storyboard References as objects

2017-10-04 Thread Rick Aurbach
his on the web I haven't been able to find it.) Does anyone have any clues or pointers that I can use without causing my app to be rejected by the AppStore? (And yes, I know I can just try it and see what I get, but I thought I'd ask you folks before I did

Can I generate a segue this way?

2018-06-06 Thread Rick Aurbach
o you think? Cheers, Rick Aurbach ___ 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 cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Re: Can I generate a segue this way?

2018-06-07 Thread Rick Aurbach
. Thanks again for the help. Cheers, Rick Aurbach > On Jun 7, 2018, at 12:18 AM, Ben Kennedy wrote: > > On Jun 6, 2018, at 11:14 PM, Rick Aurbach wrote: > >> Working with a storyboard, I add a Tap Gesture Recognizer, connect it to the >> label, and connect the segue to t

Re: Cocoa-dev Digest, Vol 10, Issue 612

2013-09-24 Thread Rick Aurbach
// Folder >MainStoryboard_iPhone. storyboard >InfoPlist.strings > > Do I duplicate the whole folder "en.lproj" or just the > "MainStoryboard_iPhone. storyboard" file in the folder? > > I can't se

Re: Storyboard won't instantiate my class

2014-02-13 Thread Rick Aurbach
problem (i.e., a problem with the instantiation of the object. Please accept my apology. Cheers, Rick Aurbach On Feb 13, 2014, at 6:23 PM, Kyle Sluder wrote: > On Thu, Feb 13, 2014, at 01:53 PM, Rick Aurbach wrote: >> Notice that the storyboard recognizes that the label ought to in

Subclassing and private methods

2014-05-07 Thread Rick Aurbach
unnecessary code in my subclass. But before I do so, I’d like to survey what people think, how they approach this problem, etc. (This is sort of like the undefined selector issue that has been discussed recently, but seems to me to be a slightly different wrinkle.) What do you do?? Cheers, Rick

Re: Subclassing and private methods

2014-05-07 Thread Rick Aurbach
On May 7, 2014, at 2:33 PM, Charles Srstka wrote: > On May 7, 2014, at 2:24 PM, Rick Aurbach wrote: > >> I am using a CocoaPod that ALMOST does what I want it to. It appears that I >> can get the desired behaviors by subclassing it (creating a category is also >>

Re: How does a UIButton perform a seque?

2014-06-25 Thread Rick Aurbach
collection view is likely to be the one which receives the -prepareForSegue, it should know the tag encoding it set when the cells were created. All knowledge of what is what is localized in the managing controller and no special knowledge is required. Cheers, Rick Aurbach Aurbach & Associ

Re: Converting Database to Core Data

2014-07-11 Thread Rick Aurbach
ore Data auto-generates a .h file for the TransactionEntry table that defines methods which don’t exist in Core Data. (This is an old, well-known problem. Google “Core Data Ordered Set”.) You can read more about this problem at http://cypressnorth.com/programming/nsinvalidargumentexception-with-n

Re: Confusion about screen resolution

2020-02-22 Thread Rick Aurbach via Cocoa-dev
inch. (I.e., a typographical point is 0.0139 inches or 0.353 mm). Recalling that screen sizes are measured diagonally, the diagonal of a 1680pt X 1050pt rectangle is 1981pt (or 27 inches). I conclude that your Mac has a 27-inch screen at a resolution of 123 X 123 px/in. Cheers, Rick Aurbach

Re: Confusion about screen resolution

2020-02-22 Thread Rick Aurbach via Cocoa-dev
Transposition type indeed! Thanks for catching it. (If you check my calculations, I was clearly using 72 pt/in) Cheers, Rick Aurbach 8233 Tulane Avenue St. Louis, MO 63132 eMail: rla...@icloud.com Phone: 314/721-7987 “The single biggest problem in communication is the illusion that it