Re: Blog post announcements

2010-05-18 Thread Bill Hernandez
for making me aware of the problem. Sincerely, Bill Hernandez Plano, Texas___ 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

TIPS : Printing Apple Docs Selectively

2010-05-17 Thread Bill Hernandez
Bill Hernandez Plano, Texas ___ 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 your

TIPS : Using Add2Project to organize your projects more effectively.

2010-05-16 Thread Bill Hernandez
://www.journey-of-flight.com/bh_xcode/how-to/0016_Add2Project/index.php I also added quite a few items to the resources link at : http://www.journey-of-flight.com/bh_xcode/common/cocoa_programming_resources.php if you see any that I should add, please let me know. Hope this is useful Bill Hernandez Plano

SETUP : Regular Expressions - Easy Setup for RegexKitLite

2010-05-15 Thread Bill Hernandez
that make life much easier. Hope some of this is helpful. Best Regards, Bill Hernandez Plano, Texas___ 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

Re: SETUP : Regular Expressions - Easy Setup for RegexKitLite

2010-05-15 Thread Bill Hernandez
on the page, and took a couple of additional screen captures that shows what you shared. Correction made : http://www.journey-of-flight.com/bh_xcode/common/regex_kit_lite/regex_kit_lite_install.php Under : Some Feedback Best Regards, Bill Hernandez Plano

TUTORIAL: Generating Unique ID Strings

2010-05-14 Thread Bill Hernandez
this is useful Bill Hernandez Plano, Texas ___ 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

Re: TUTORIAL: Generating Unique ID Strings

2010-05-14 Thread Bill Hernandez
:14 PM CDT To: Bill Hernandez m...@mac-specialist.com Hey Bill, I just wanted to reach out and thank you for all of your absolutely fantastic Xcode tutorials with relation to Obj-C and Interface Builder. I had been a long time AppleScript Studio user (then had to move over to Windows

Re: TUTORIAL: Generating Unique ID Strings

2010-05-14 Thread Bill Hernandez
something I wrote temporarily. I have heard good things about GIT, and really need to see how that would work. More importantly how might be a good way to setup my workflow to take advantage of GIT. Thanks a lot for taking the time to help... Bill Hernandez Plano

Re: TUTORIAL: Generating Unique ID Strings

2010-05-14 Thread Bill Hernandez
to be cute. So it conveys sort of the same effect as if you were using animated GIFs of sparkly rainbows in the background of your site :) Thanks for the feedback ! Bill Hernandez Plano, Texas___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

More general question related to : How do you set the text in an NSTextView?

2010-05-09 Thread Bill Hernandez
This is a follow-up question of a more general nature related to : Re: How do you set the text in an NSTextView? On May 7, 2010, at 11:49 AM, Douglas Davidson wrote: On May 7, 2010, at 9:41 AM, Bill Hernandez wrote: [textView insertText:myString]; You don't want to call insertText

Re: Avoid drawing in half pixel

2010-05-06 Thread Bill Hernandez
can download the project at : http://www.journey-of-flight.com Topic: Cocoa - Flexibility of Working with Views Shows how to create Cocoa - Objective C window views, and how to dynamically display text and images... Best Regards, Bill Hernandez Plano, Texas This is a piece

Re: Avoid drawing in half pixel

2010-05-06 Thread Bill Hernandez
On May 6, 2010, at 9:00 AM, Bill Hernandez wrote: // +-+-+-+-+-+-+-+-+ // DEFINE AND INITIALIZE MAIN RECT VARIABLES // +-+-+-+-+-+-+-+-+ NSUInteger i = 0

Re: NSBox sizeToFit problem

2010-05-06 Thread Bill Hernandez
problem the other day and could not get it to work as I had hoped, so I gave up and did something different. I didn't reply earlier because I didn't have a solution, I just figured it was me. I thought when I get time I'll have to try again... Best Regards, Bill Hernandez Plano, Texas

Re: NSBox sizeToFit problem

2010-05-06 Thread Bill Hernandez
On May 6, 2010, at 10:34 AM, Ingvar Nedrebo wrote: But when trying that, I discovered that invoking sizeToFit twice in a row does fit the box around its contents without clipping, but tightly -- i.e., without any margins. I tried various permutations of sizeToFit and setContentViewMargins

Re: NSNumberFormatter not working for me ?

2010-04-15 Thread Bill Hernandez
On Apr 15, 2010, at 12:14 PM, Murat Konar wrote: On Apr 14, 2010, at 8:21 PM, Bill Hernandez wrote: The point is that NSNumberFormatter appears to me missing some flexibility in dealing with other than its own set of formatting converters, whatever the programmers thought they would need

Re: NSNumberFormatter not working for me ?

2010-04-15 Thread Bill Hernandez
Framework, I prefer to use what is available, but I also love and thrive on work-arounds... Thanks for clarifying and confirming my understanding... Bill Hernandez Plano, Texas ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: NSNumberFormatter not working for me ?

2010-04-14 Thread Bill Hernandez
... Bill Hernandez Plano, Texas I created a simple NSTextView that the output gets sent to: IBOutlet NSTextView *mainTextView; CALLED : NSString *phoneNumber; phoneNumber = [BHUtility bhFormatNumberString:strippedNumber withFormat:format]; [4751] strippedNumber = @1234567890 format

Re: NSNumberFormatter not working for me ?

2010-04-14 Thread Bill Hernandez
On Apr 14, 2010, at 5:25 PM, Greg Guerin wrote: Your code formats strings (more specifically, characters in strings). It does not format numbers, as such. This is the work-around that I did because I could not make do with NSNumberFormatter. By number I mean a binary numeric value

NSNumberFormatter not working for me ?

2010-04-13 Thread Bill Hernandez
I am calling a method that I pass a phone number string 1234567890 and should return (123) 456-7890 but sure enough, that is not what is happening... Any Ideas ? Bil Hernandez Plano, Texas I created a simple demo below : $ clang_gen --- shows : ** BUILD SUCCEEDED ** Build and Analyze shows

Re: NSNumberFormatter not working for me ?

2010-04-13 Thread Bill Hernandez
); } // +-+-+-+-+-+-+-+-+ I tried changing the format to @'('###')' ###'-' but the results were the same. Bill Hernandez Plano, Texas___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: NSNumberFormatter not working for me ?

2010-04-13 Thread Bill Hernandez
a long time... Thanks for trying to help... Bill Hernandez Plano, Texas ___ 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

Re: NSNumberFormatter not working for me ?

2010-04-13 Thread Bill Hernandez
see it should work out or the box ??? NSNumberFormatterBehavior10_0 The number-formatter behavior as it existed prior to Mac OS X v10.4. Available in Mac OS X v10.4 and later. Bill Hernandez Plano, Texas Here's the rest... NSNumberFormatterBehaviorDefault The number-formatter behavior set

Re: NSNumberFormatter not working for me ?

2010-04-13 Thread Bill Hernandez
. Used almost identical format functions except using dates, instead of numbers, and they worked as expected... Puzzled ? Bill Hernandez Plano, Texas ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: NSNumberFormatter not working for me ? [SOLVED]

2010-04-13 Thread Bill Hernandez
, convert middle names to capitalized middle initials with a period on the end, convert state names to short state initials, etc. In this case the formatter strips out everything except digits If anybody is interested in these formatter methods, I can post them. Thanks again, Bill Hernandez

Re: NSNumberFormatter not working for me ?

2010-04-13 Thread Bill Hernandez
; // +-+-+-+-+-+-+-+-+ } I came up with a better work-aroundthat I posted to the forum. Take a look at it, it really works very well, and is not limited to phone numbers. Thanks a million for trying to help me... Bill Hernandez Plano, Texas

Re: Best book for learning Objective c and cocoa

2010-03-31 Thread Bill Hernandez
at writing, and explains things so well, this is going to be a really great book. I am very excited to have found it, and if you hadn't asked the question, I would have not made the trip to Nerdbooks, and would have missed this book. Boy, talk about the Butterfly Effect. Best Regards, Bill

Re: Tooltips over buttons ?

2010-03-25 Thread Bill Hernandez
On Mar 24, 2010, at 11:53 PM, Jerry Krinock wrote: On 2010 Mar 24, at 21:10, Bill Hernandez wrote: I've looked for a couple of hours trying to find a simple example on how to implement tooltips over three graphic buttons. Most of the IB info I found during my search is very old. I am

Tooltips over buttons ?

2010-03-24 Thread Bill Hernandez
. Thanks for any help... Bill Hernandez Plano, Texas___ 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

applicationShouldTerminateAfterLastWindowClosed Document-based Project Help?

2010-03-23 Thread Bill Hernandez
not having the right class, or probably with the Nib Window connections. I'd be grateful for some help. Bill Hernandez Plano, Texas Steve Herman1 wrote: So, instantiate a DocAppDelegate object in the MainMenu.xib instead. The File's Owner in that file represents the application so you can control drag

Re: applicationShouldTerminateAfterLastWindowClosed Document-based Project Help?

2010-03-23 Thread Bill Hernandez
to provide your insights and help... Bill Hernandez Plano, Texas http://www.journey-of-flight.com ___ 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

Re: NSComboBox problem in 10.6.2

2010-03-19 Thread Bill Hernandez
, but you might take a quick look... Best of luck, Bill Hernandez Plano, Texas___ 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

Re: NSComboBox problem in 10.6.2

2010-03-19 Thread Bill Hernandez
the mismatch. I don't know if you might be having the same problem, but you might take a quick look... Best of luck, Bill Hernandez Plano, Texas___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: NSComboBox problem in 10.6.2

2010-03-19 Thread Bill Hernandez
ran into. Bill Hernandez Plano, Texas___ 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 your

Re: Cocoa Newbie Thread/Memory Problems

2010-03-17 Thread Bill Hernandez
On Mar 16, 2010, at 4:38 PM, Dave wrote: - (NSString*)makeURLString:(NString*) theBaseURL ForDate:(NSDate*)theDate UsingDatabse:(NString*) theDatabaseType Dave, Does it matter that UsingDatabse is misspelled ? Good Luck, Bill Hernandez Plano

Re: Programmatically binding Core Data to dynamic NSTableColumns

2010-03-17 Thread Bill Hernandez
documentation and Googled like mad, but after 3 unproductive days I'm hoping someone here can help. Bill Hernandez Plano, Texas ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Programmatically binding Core Data to dynamic NSTableColumns

2010-03-17 Thread Bill Hernandez
On Mar 17, 2010, at 2:17 PM, Bill Hernandez wrote: (It's in an if statement, so it binds to either numberData or stringData as appropriate.) Michael, Sorry I missed the part about the if statement... I am running into a similar problem, the log shows the data (array of dictionaries