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
y generates 6 rows, one
> for each Item.
>
> I've tried many variations of the toObject and withKeyPath: values to no
> avail. I've looked through all the Key Value Coding and other Apple dev
> documentation and Googled like mad, but after 3 unproductive days I'
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 (ar
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 to the list.
Contact
rough using the debugger I found 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
our problems, but it was just
something I 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
}
I am missing something with either 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 t
ny people
had read the posts, but no replies were forthcoming. Sometimes it got pretty
discouraging, and a couple of days ago I found out about this forum, and this
was my first post.
Thank You very much for taking the time to provide your insights and help...
Bill Hernandez
Plano, Texas
http:
of a recent one.
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
H
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 fo
k because Bill Cheeseman is in fact so gifted 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 a
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 sh
x27;-'"];
NSLog(@"[4626] phoneNumber = %@", phoneNumber);
}
//
+-+-+-+-+-+-+-+-+
I tried changing the format to @"'('###')' ###'-'" but the results
every time I think I am making progress I realize it is
going to take 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
:
-- From what I can 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-
ert dates, and that
went very smooth.
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
NSString *theString = (NSString *)[numberFormatter
stringFromNumber:theNum];
NSLog(@"[4625] theString = %@", theString);
return theString;
//
+-+-+-+-+-+-----+-----+-+
eanup, 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 Hern
NSLog(@"[4625] theString = %@", theString);
return theString;
//
+-+-+-+-+-+-+-+-+
}
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
l the junk
non-digits have been stripped out...
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];
[47
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 (fl
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
to figure this out, because I am used to number2string
formatters that handle currency, as well as custom formats of all types.
Since I am learning the Cocoa Framework, I prefer to use what is available,
but I also love and thrive on work-arounds...
Thanks for clarifying and confirming my unde
ual post :
http://discussions.apple.com/thread.jspa?threadID=2421615&tstart=0
or you 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 dis
On May 6, 2010, at 9:00 AM, Bill Hernandez wrote:
> //
> +-+-+-+-+-+-+-+-+
> // DEFINE AND INITIALIZE MAIN RECT VARIABLES
> //
> +-+-+-+-+-+-+-+-+
>
.
I ran into the same 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...&qu
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
> setContentViewMarg
pup buttons work great, the Action Methods
trigger correctly, and the window is redrawn with the correct number of rows
and columns.
If you get a chance to look at it, the project download is at :
http://www.journey-of-flight.com/bh_xcode/how-to/0150_Drawing_in_Views/index.php
TIA,
Bill Hernan
I think I am having the same problem as :
Submenus - What am I not understanding?
I was hoping that someone might see what I am trying to do and perhaps offer
some ideas on a work-around, the ideas I've come up with are not pretty...
Thanks again,
Bill Hernandez
f, I
have been trying to document what I've learned :
http://www.journey-of-flight.com/bh_xcode/how-to/0010_IB_Outlets_and_Actions/IB_Outlets_and_Actions.php
Best,
Bill Hernandez
Plano, Texas
On May 7, 2010, at 9:33 AM, G S wrote:
> Hi all. I have a couple of tabs on my window, each o
{getter, setter} = {string, setString}
[textView setString:@"Welcome"];
NSString *myString = [textView string];
but I noticed I had used this at one point, and thought it was acceptable ?
[textView insertText:myString];
Thank you so much
n the learning process.
I love this list
Thank You....
Bill Hernandez
Plano, Texas
On May 7, 2010, at 11:50 AM, Gary L. Wade wrote:
> Try a different UI approach.
>
> One thing to consider is using an NSBrowser if you have lots of upper-level
> options and a good number of sub
http://www.journey-of-flight.com/bh_xcode/common/cocoa_programming_resources.php
TIA,
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 moder
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
On May 9, 2010, at 9:46 AM, Bill Hernandez wrote:
> and once the help window became available, up the Tasks section.
should have been :
and once the help window became available, open the Tasks section.
___
Cocoa-dev mailing list (Cocoa-
now.
Hope 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/U
Saw some of your work on your website... (and it rocks)
Date: May 13, 2010 12:58:14 PM CDT
To: Bill Hernandez
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
ia Apache on my OS X Server, and finally gave up
and I am using 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
t with a passion because it's both poorly
> designed and incredibly overused by people trying 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
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
d your comments to the notes 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,
://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
oadingResources/LoadingResources.pdf
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-dev-admins(at)lists.
seful
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
so
sorry, I won't be making any further posts.
Thank You 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
45 matches
Mail list logo