There are also a couple of wiki-book projects on
Learning Cocoa.
Here are links:
http://en.wikibooks.org/wiki/Programming_Mac_OS_X_with_Cocoa_for_beginners
http://en.wikibooks.org/wiki/Programming:Cocoa
> Date: Wed, 21 May 2008 12:33:12 -0700 (PDT)
> From: Erik Buck <[EMAIL PROTECTED]>
> Sub
pp Store.
Yes, Apple could add a third category of 'subscription' apps but there
are so many edge cases that it's just adding unnecessary complexity
for the users. If your going to subscribe to a service for months or
years, then a $1 startup fee really isn't a very big h
it lost as to how to
go about reproducing it never mind fixing it.
Any advice would be most appreciated.
Cheers
Harry
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Conta
Cookies/Safari Cookies.bundle/Contents/MacOS/Safari Cookies
Everything else except for this input manager seems quite standard, so
I suspect this could be the culprit. For now I'm going to wait and see
if I get any more crash reports in this vein before I investigate any
further.
Thank yo
I have placed a NSSplitView inside a NSScrollView in code.
However, when the user resizes one of the views so part of it outside
the NSScrollView visible bounds, the NSScrollView does not display
the scroll bars.
Is this not possible?
Thank you,
Harry Sfougaris
addSubview:vw3];
[splitVw setAutoresizingMask:NSViewHeightSizable];
[scrollVw setDocumentView:splitVw];
Thanks,
Harry
On 15 Οκτ 2009, at 8:53 μ.μ., Kyle Sluder wrote:
On Thu, Oct 15, 2009 at 1:31 AM, Harry Sfougaris
wrote:
I have placed a NSSplitView inside a NSScr
don't allow that, as stated earlier.
or
b) Add some kind of 'tolerance radius' inside which the mouse down event
must happen, which would make it possible to initiate a drag via the
less-than-precise control a touchscreen is.
This is with
2009-11-01 20:09:17.748 MediaShow[10005:150b] Button 8192 pressed down 0
Which makes it a tad difficult to differ between them. This is developing
against 10.6.
Thanks,
Harry
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
initiate a drag at all. Developing against 10.6 SDK.
Harry
___
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
7;s Owner from the controller so I can
communicate w/ my class during -awakeFromNib?
TIA,
-harry
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mode
it the same
behavior with the new window "under" the open panel.
I also note that the default About panel support has the same ordering
issue.
What needs to be done get my new window on top of the panel, and receiving
key/mouse events?
TIA,
-harry
t it looks reasonable.
Hope that helps.
Harry
http://inquisitivesoftware.com/
On 31 Gorff 2009, at 14:00, MATSUMOTO Satoshi wrote:
Dear Jerry Krinock,
On 2009/07/31, at 21:43, Jerry Krinock wrote:
Activate Finder. Select a subject document file. In main menu click File >
Get Info. In the Info
e most part you can treat them
like a normal application. Make sure you mark the header files that
you want to be made as public, and accessible to the outside world.
All in all, frameworks aren't that scary.
Harry
http://inquisitivesoftware.com/
On 19 Awst 2009, at 01:05, Gevik wro
http://inquisitivecocoa.com/2009/04/05/key-code-translator/
for my version of what I think your trying to achieve. Be warned,
there are a few gaps in my implementation (like F numbers for
instance), but that shouldn't be that hard to add.
Harry Jordan
http://inquisitivesoftware.com/
On 19 Awst 2009
d an explicit reference to this in the
documentation, I think the position in the array of each UCKeyOutput
is equivalent to it's keyCode. Then you need to read UCKeyOutput's
bytes (14 and 15) to find out how to decode it's Unicode character.
Hope that's more what you we
Hi I have a screensaver which I'm building, I have created a
'configure sheet' accessed by the 'options' button in 'system
preferences>screensaver'.
In IB I drag WebView onto my 'configure sheet', then when I test the
screensaver the 'options button' fails to open the sheet.
If I delete t
;
[NSApp endSheet:[sourceTableView window]];
[[sourceTableView window] orderOut:self] ;
...
I guess I would have expected that #2 or #3 would have resulted in a sheet
on my main application window. What obvious detail did I miss?
TIA,
-harry
_
when I moved the code fragments to the
-applicationDidFinishLaunching delegate
I assume then that only when the app is really running can I start to
manipulate sheets
-harry
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
I have a simple text view that will display its text information with an
ellipses on the right (end) if the string is too long for the view. Nice,
but...
How can I tell NSTextView to use a "front" or "middle" ellipses for viewing
purposes?
-h
___
Coc
gt; NSLineBreakMode using -setLineBreakMode:.
Thanks a bunch! The hint led me to "Breaking Lines by Truncation" in the
"Rulers and Paragraph Styles" doc. Within that are some very useful code
fragments illustrating what to do.
I'm off to the races,
-harry
__
while([inputString isMatchedByRegex:regexString]){
range = [inputString rangeOfRegex:regexString];
inputString = [inputString stringByReplacingCharactersInRange:range
withString:@""];
}
'inputString' is a 5mb text file, Activity Monitor shows that memory
I had already tried an NSAutoreleasePool but came across issues, it
released inputString so as useless for the next iteration. So I tried
keeping it around with...
if (inputString != nil) {
[inputString retain]; /* Keep match around.
"NSMutableString", good idea, I think that will work, will try that
thanks.
And thanks everyone else.
On 6 Feb 2009, at 00:16, Shawn Erickson wrote:
On Thu, Feb 5, 2009 at 3:39 PM, harry greenmonster
wrote:
'inputString' is a 5mb text file,
Since inputString is lar
I cant help but think the preferable way Objective C should would is
to send a release automatically to the receiver of a product of itself.
inputString = [inputString myMethod];
Its fairly clear in this situation that the original 'inputString' is
not wanted and needs to die, and would see
management is just that - manual - you don't want to
compiler automatically releasing stuff for you.
Bryan
On Feb 6, 2009, at 5:24 AM, harry greenmonster wrote:
I cant help but think the preferable way Objective C should would
is to send a release automatically to the receiver of a
Forgot to add: As long as the returned type was the same. So
instead.. inputString = [inputString StringFromMyMethod];
On 6 Feb 2009, at 13:32, harry greenmonster wrote:
Yes, memory management is a weak point of mine, which I'm currently
trying to resolve. Last time I had any use f
On 6 Feb 2009, at 14:18, Steve Sisak wrote:
If you use an Objective-C 2.0 property (rather than a variable) and
specifying retain semantics, you'll get that behavior -- with a bit
of overhead.
Ah interesting, just the kind of result I was hoping to obtain from
asking dumb questions. In my
dragging 2 (or more) elements into the view, if I simply click on
the table. Boom.
It is wierd that iff there is only 1 element in the table view, then all is
ok.
The stack is added below.
Appreciate any suggestions,
-harry
OS Version: Mac OS X 10.5.5 (9F33)
Report Version: 6
Exception Type
its
elements? Likewise for NSTableView? Seems like that would be a valid
assumption. Eg, when we did our leak test we concluded we had to [array
removeAllObject] before we [array release]. This just doesn't seem right...
-harry
___
Cocoa-dev mailing
not seen
that before
I am sure that I will trip/stumble abit more before the issue of object
retention/ownership becomes second nature to me.
Appreciate your help!
-harry
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi
ted in my controller class. So I assume that magically my controller
has become the "data source" for the table view.
I have read something about a "field editor" - could this be the clue to my
rquirements listed above?
-harry
__
oller.
>
Of course its magic ;-) Else how can I explain this to my wife?!
Sho'nuf, the controller had the definitions as you said. And I did them. The
book I am walking thru has had me doing so many things that am forgetting
most of them (and certainly did not understand them anywat) along th
I wish to dynamically load (from URL) byte array data, convert to
cocoa datatypes, and use in an UITableview.
So many ways to skin a cat, so before I proceed I was wondering what
methods you would recommend for the job?
___
Cocoa-dev mailing list
Data shall be obtained via http as utf-8 served by Java
DataOutputStream.
The data consists of int's and utf-8 strings
Other than iterating through byte by byte, does cocoa have any
convenience methods to communicate or extract such data?
Speed of data transfer is of high priority, what w
t
change the behavior.
I am obviously barking up the wrong tree. Should I subclass NSTableView, and
intercept keys (keyDown)? I am seeing some list topics where folks have done
that.
Comments welcome,
-harry
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
t the same thing be done for an NSTextView? Ie, override the
keyDown: method to get the "delete" functionality that I was striving for
above?
Comments appreciated!
-harry
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
ultiple items?
That was not the objective; in fact, multiple selection (via the mouse) is
working just fine and as expected. I was simply surprised that Cmd-A was not
working.
As you can probably tell, I am tromping in a lot of new territory...
Comments appreciated,
-harry
__
I'm setting up my constants in my app, and have come across a problem.
I wish to have a standard UIColor to use for all titles in my app but
I get the error "error: initializer element is not constant" and for
obvious reasons , but my question is: How am I 'supposed' to implement
a single g
I was wondering if anyone could shed light on this strange error that
occurs, sometimes, (never when I'm actually trying to reproduce it) when
clicking in the application menu while running a modal Open Panel.
#00x816f5d36 in mach_msg_trap
#10x816fd373 in mach_msg
#20x81915c4f in CF
Hi, I'm currently writing an app for iphone that downloads large
tables of text and images , and my server outputs big endian.
How significant would the extra processing be to convert to small
endian on the iPhone?
I'm sure most of you would recommend doing the conversion on the
server si
only affected my app, when it was running 64bit.
So problem solved, but I'm not sure how or why.
On Mar 26, 10:32 pm, Nick Zitzmann wrote:
> On Mar 26, 2009, at 2:33 PM, Harry Jordan wrote:
>
> > I was wondering if anyone could shed light on this strange error
> > that occurs,
41 matches
Mail list logo