Is there any way around manually providing the height for a table header view?
If I simply provide a title string for the header, UITableView is able to
compute the height itself. But if I use a UITableViewHeaderFooterView and set
the textLabel and detailTextLabel, I also have to set the height
Thanks for all the suggestions and improvements. I will see what is the best
way for my app to implement these.
- Koen.
On Aug 5, 2013, at 2:41 PM, Jerry Krinock wrote:
> As Jens explained, your does not have a clean answer.
>
> Doing a HEAD request is "optimal" (huge reduction in network tr
As Jens explained, your does not have a clean answer.
Doing a HEAD request is "optimal" (huge reduction in network traffic) if you
can accept NO answers from a tiny percentage of sites which will won't return
data to a HEAD request, even though they will return data to a GET.
On Mon, Aug 5, 2013, at 10:12 AM, Steve Mills wrote:
> We have a view subclass contained in an NSScrollView. After certain
> operations (such as changing the view scale) we need to change the scroll
> position, which we do via scrollPoint:, which in turn calls display on
> the view instead of setNe
We have a view subclass contained in an NSScrollView. After certain operations
(such as changing the view scale) we need to change the scroll position, which
we do via scrollPoint:, which in turn calls display on the view instead of
setNeedsDisplay:YES (which makes sense for simply scroll events
You might take a look at some of the Apple sample code like FunkyOverlayWindow
It does not do this exactly but does show how to place a view over other views
and draw things. If I recall correctly.
Sent from my iPhone
On 2013/08/04, at 23:44, Nick Rogers wrote:
> Hi,
>
> I have a column of
On Aug 5, 2013, at 4:10 PM, Steve Mills wrote:
> Ah, you're right. I was thinking overlay window as an alternative too.
Seems a bit heavy-weight. Overlapping views should work these days (turn on
layer-backing) or just manually create your own CALayer. That way you don't
have to muck with chil
On Aug 5, 2013, at 7:50 AM, Koen van der Drift
wrote:
> How can I check if an URL on a remote server is valid and exists, without
> loading the website first?
That depends on the type of URL. It sounds like you mean HTTP. Basically the
answer is “you can’t” — the only way to check for existe
After some more searching and trying out, I came up with the following:
NSError *error = nil;
NSHTTPURLResponse *response = nil;
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:
myURL];
[request setHTTPMethod: @"HEAD"];
NSData
How can I check if an URL on a remote server is valid and exists, without
loading the website first?
I tried [myURL checkResourceIsReachableAndReturnError: &error], but that always
returns false, even for a very common URL such as http://www.apple.com/.
That gives me @"NSCocoaErrorDomain" - cod
Fantastic! I knew these forums were useful. I’ll delve into that and see
if I can make that work. Thanks.
There should only be one page, but the pieceInfo is under the page level. I
won’t be editing it (other than size and baseline) — I just need to identify
it. The original program edits it.
On Aug 4, 2013, at 12:56:06, Ken Thomases wrote:
> I don't think that will work because the containing view will draw behind the
> contained views.
Ah, you're right. I was thinking overlay window as an alternative too.
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
On 5 Aug 2013, at 18:21, Igor Elland wrote:
> Since you’re getting some result, I’ll assume you’re doing this in Cocoa,
Correct. I should have mentioned 10.8.4
> not CocoaTouch (that only really supports English). In this case, I don’t see
> why you need the lexical tagging, when the lemma tag
Since you’re getting some result, I’ll assume you’re doing this in Cocoa, not
CocoaTouch (that only really supports English). In this case, I don’t see why
you need the lexical tagging, when the lemma tagging would suffice and should
yield the expected result without your need to post-process th
I am trying to use NSLinguisticTagger with German.
Has anybody ever tried this and found it usable?
E.g. "Ich motivier dich" ends with Verb, Pronoun (ok).
But: "Ich motivier dich." ends with two Adjectives (wrong).
And "motivier" is a Number, "motivier." is an Adjective (both wrong).
What I am tr
15 matches
Mail list logo