I have an application that has a table of various internet resources and
information on them. What I would like to be able to do is:
for (netResource *resource in anArrayOfResources) {
[resource updateInfo];
[resultsTable reloadData];
}
But it seems that the table refuses to
available,
getting a buffer and reading into it? I've searched the archives and
google, copy and pasted the code and it still returns errors or gets
results that don't make sense (no bytes available but they read in
fine).
Ashley Perrien
P.S. I know there are other mail frameworks out
After initiating a connection (getStreamsToHost) I don't get an
event that the input stream has bytes available, if I check it, it
returns NO but if I go ahead and read it anyway, I get the usual
banner.
It sounds like you didn't call -scheduleInRunLoop:forMode: ?
Covered. See below for
Really can't tell, because you're only posting isolated code
fragments, instead of complete and self-contained fragments that
show the entire context.
So here's the unadulterated method I'm trying to get working (not very
useful at this point but if I can get the reading right):
specifically should I be checking into or does anyone
happen to have a snippet of code that does the above?
Ashley Perrien
Random Quote of the day:
No prizes for predicting rain. Prizes only awarded for building arks.
___
Cocoa-dev mailing list (Cocoa
I'm very new to networking via cocoa and need to develop a small
port scanner application. The core of it is very simple, is address
1.2.3.4 listening on port X.
Does it have to be a Cocoa API? You should be able to use the Unix
BSD sockets API, which IMHO if you're looking for short and
)
simplify sorting.
Ashley Perrien
Random Quote of the day:
We're not surrounded, we're in a target-rich environment!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
how
many arrays the primary array has, I can't think of a way to nest the
loops if I don't know how deeply to nest them. Any suggestions on the
best way to approach something like this?
Ashley Perrien
___
Cocoa-dev mailing list (Cocoa-dev
Is there a way to get the color of a pixel or area of an NSView during
the drawRect method? I'll be tiling the view with a grid of random
colors but each tile is based on the colors around it. I'd prefer to
call something along the lines of:
NSColor *aColor = [myView colorAtPoint:
should
alloc and then later release things for tighter memory control. That
makes sense. Is there something similar with the above, is there a
back-end reason to property, synthesize and release things that were
created in IB?
Ashley Perrien
Random Quote of the day:
One way to get high blood
?
Other?
Scenario 2:
iPhone app (extremely simple, one view) again with data and a graph of
that data. when interacting with the UIView, how do I tell the parent
view that something needs changing?
Basically, what's the best way for an ivar object to communicate with
it's parent?
Ashley
got
some division involved, not sure exactly if that would work. I guess I
could just check the values myself (if point1 is +- .001 of point2)
but that seems kinda hackish.
What's the most common way of dealing with these types of problems?
Ashley Perrien
, blueColor, etc. I've also
tried one or two of the other ways to specify values and have had the
same problem. Any ideas on what's going on?
Ashley Perrien
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
a document based app if
that matters.
Ashley Perrien
___
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
Is there a fairly simple way of setting up a clock style looping of
numbers? Where 1-12 act normally but 11 + 2 would return 1 and so on.
I'm not doing time and would be dealing with ranges from 1 to 96, 77,
120, that type of range. Would also need to be able to handle partial
numbers
Does anyone have any tips on where to get a tutorial or walkthrough
explaining controller objects? I've read and done the example in
Hillegass' book at least 5 times and read over the Apple docs about
bindings and still have a VERY tenuous grasp as to what they
(NSObjectController) are,
In the original example, myNum was being passed as a argument rather
than having a message to sent to it and itÂ’s often not safe to pass
nil objects as arguments.
Hmmm... well, what's the function it's passed to going to do with it,
other than call a method on it? If it's doing anything else,
into the
error message condition. Any suggestions?
Ashley Perrien
___
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
and an array is retained and neither
are released. I know that for the very small and simple apps here, it
doesn't really matter but how and where would you go about releasing
those objects? If they shouldn't be released, why not?
Thanks for any enlightenment.
Ashley Perrien
create all the actions and outlets in IB and let
it create the class?
Ashley Perrien
Random Quote of the day:
If you understand what you're doing, you're not learning anything.
-Abraham Lincoln
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
Usually, when I have the trouble described by the OP, I have some
typos in my .h files for the classes.
Which was the problem here, only noticed it a few minutes after
sending the email. I think I'm just forgetting some basic syntax
peculiarities. Sorry for the clutter.
Ashley Perrien
21 matches
Mail list logo