I think you can call selectRow: inComponent: animated: in viewWillAppear to
achieve an initial selection
Op 19 Jan 2015, om 21:58 heeft Alex Zavatone het volgende
geschreven:
> iOS UIPicker first display issues.
>
> Hi. Some of our users are having problems with the UIPicker when its
> i
Op 24 Nov 2014, om 19:01 heeft Jens Alfke het volgende
geschreven:
>
>> On Nov 24, 2014, at 9:30 AM, Diederik Meijer | Ten Horses
>> wrote:
>>
>> I get no errors, but no results from the parser either. I haven't tested
>> against didStartElement, be
Verstuurd vanaf mijn iPhone
> Op 24 nov. 2014 om 05:15 heeft Jens Alfke het volgende
> geschreven:
>
>
>> On Nov 23, 2014, at 1:06 PM, Diederik Meijer | Ten Horses
>> wrote:
>>
>> When I just pull in the feed’s contents using a NSURLConnection, it w
Verstuurd vanaf mijn iPhone
> Op 24 nov. 2014 om 04:13 heeft Keary Suska het
> volgende geschreven:
>
>> On Nov 23, 2014, at 11:06 AM, Diederik Meijer | Ten Horses
>> wrote:
>>
>> I am having trouble getting useful data from this url on some, b
Hi list,
I am having trouble getting useful data from this url on some, but not all, iOS
devices: https://www.taxpublications.deloitte.co.uk/tis/dtp.nsf/pub1.xml
The feed has this opening tag:
When I just pull in the feed’s contents using a NSURLConnection, it will show
up on some, but not al
Hi list,
I have a UIWebView inside a UITableViewCell that simply won’t scale the page to
fit on iOS8. I have set it to scale pages to fit in IB and have also tried
setting it in code, but it simply won’t do it.
The UIWebView depicts a JPG image located at a web location.
I had no trouble with
ch based on the actual content gives the best results. It's more
time-consuming though...
Verstuurd vanaf mijn iPhone
> Op 21 sep. 2014 om 08:42 heeft 2551 <2551p...@gmail.com> het volgende
> geschreven:
>
>
>> On 21 Sep 2014, at 13:38, Diederik Meijer | Ten Horses
&
sep. 2014 om 08:24 heeft Diederik Meijer | Ten Horses
> het volgende geschreven:
>
> I do a lot of text data mining and need similar functions a lot. I would
> start on a word by word level, to have whatever it returns be more meaningfull
>
> Verstuurd vanaf mijn iPhone
>
>
I do a lot of text data mining and need similar functions a lot. I would start
on a word by word level, to have whatever it returns be more meaningfull
Verstuurd vanaf mijn iPhone
> Op 20 sep. 2014 om 19:43 heeft Scott Ribe het
> volgende geschreven:
>
>> On Sep 20, 2014, at 11:13 AM, 2551 <2
Has been like this for about 15 months, before that you could change at will
Op 18 Sep 2014, om 19:25 heeft Rick Mann het volgende
geschreven:
> I learned yesterday that you can't change the screenshots in the App Store
> after your app is approved. Has this always been the case? It seems l
Are you calling synchronise too when you're writing?
[[NSUserDefault standardUserDefaults] synchronise]
Verstuurd vanaf mijn iPhone
> Op 10 sep. 2014 om 07:43 heeft "Rick C." het volgende
> geschreven:
>
> Thanks for the help. So I have double-checked and the info in question that
> is no
Thanks Jens, will try all that over the coming days
Op Jul 4, 2014, om 11:13 PM heeft Jens Alfke het volgende
geschreven:
>
> On Jul 4, 2014, at 1:24 PM, Diederik Meijer | Ten Horses
> wrote:
>
>> I have no experience with this sort of thing, hopefully I can make
That's very promising, thank you!
I have no experience with this sort of thing, hopefully I can make that work
with NSURLConnection or -Session..
I'll look into the documentation on NSURLProtocol
Thanks again to you both!
Op Jul 4, 2014, om 10:01 PM heeft Jens Alfke het volgende
geschreven
OK thanks everybody!
Op Jul 3, 2014, om 10:54 PM heeft Jens Alfke het volgende
geschreven:
>
> On Jul 3, 2014, at 1:33 PM, Diederik Meijer | Ten Horses
> wrote:
>
>> So I guess I somehow need to handle DNS Lookup / IP resolving myself, is
>> there anybody here
geschreven:
> Firefox doesn't resolve start.rental either.
> Neither does Chrome.
>
> On Jul 3, 2014, at 12:58 PM, Diederik Meijer | Ten Horses wrote:
>
>> Take start.rental as an example, has a live server on the dot rental TLD,
>> but no standard browser will resolve
Wait, so it's not a real DNS server, or what? I suppose in that case you'd have
to take the URL and look up the domain yourself, then feed the raw IP address
to WebKit instead.
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.d
Exactly, any ex
ug report was closed as a duplicate of radar:10252476. We have a
> corporate TLD that does not resolve in safari, unless you prefix it with
> http:// so that Safari doesn’t treat it as a search term.
>
> Paul
>
>> On Jul 3, 2014, at 9:22 AM, Jens Alfke wrote:
>>
>>
&
mijn iPhone
> Op 3 jul. 2014 om 18:22 heeft Jens Alfke het volgende
> geschreven:
>
>
>> On Jul 3, 2014, at 6:52 AM, Diederik Meijer | Ten Horses
>> wrote:
>>
>> The issue being that the TLD (think for example: domain.law, with law being
>> the TLD
4, at 6:52 AM, Diederik Meijer | Ten Horses
>> wrote:
>>
>> The issue being that the TLD (think for example: domain.law, with law being
>> the TLD) is accessible through a DNS server, but since the TLD is not
>> officially registered with ICANN, standard browsers do n
Dear list,
Is it possible to have an iOS app connect to a web server through a domain name
that uses an alternative TLD (top level domain name)?
The issue being that the TLD (think for example: domain.law, with law being the
TLD) is accessible through a DNS server, but since the TLD is not offi
Keyboard appears in response to a html input element getting focus? If so,
adding a javascript scrollTo may work. When the element gets focus, calculate
its y position in the webview and call scrollTo with relevant coordinates.
Maybe all in javascript, which makes it fast and lightwight. Do you
s, it does seem strange I need these steps to have a normal
UIAlertView experience in my use case, so I'm still very interested in helpful
feedback!
Op May 15, 2014, om 8:23 PM heeft Diederik Meijer | Ten Horses
het volgende geschreven:
> Hi David,
>
> Many thanks for your qui
have…
To me it seems the view hierarchy is slightly complex, but not to any kind of
extreme.
Many thanks again,
Diederik
Op May 15, 2014, om 6:53 PM heeft David Duncan het
volgende geschreven:
>
> On May 15, 2014, at 8:42 AM, Diederik Meijer | Ten Horses
> wrote:
>
>> De
Dear list,
I implemented a very straightforward UIAlertView.
For some reason, on iPad, a light rectangular appears behind the alertview,
here is what it looks like:
http://www.tenhorses.com/apps/alertScreenshot.jpg
What makes it strange is that that light rectangle is not visible when I take a
Thanks Andy and Jens!
Op Apr 30, 2014, om 10:07 PM heeft Andy Lee het volgende
geschreven:
> On Apr 30, 2014, at 3:21 PM, Jens Alfke wrote:
>> On Apr 30, 2014, at 8:20 AM, Diederik Meijer | Ten Horses
>> wrote:
>>
>>> Now here is the problem: although the JS
ing into this error,
> they’re working with JSON data that really does have garbage at the end. Is
> it possible that you’re doing something like appending a null terminator or
> something else non-printable so that when you look at the data then it all
> seems OK?
>
>
>
Hi all,
I have Googled this issue for hours and tried various solutions suggested at
Stackoverflow, but can't seem to solve the following problem.
I am pulling JSON from here:
http://www.tenhorses.com/apps/meijburg/dotTAXDataHandler/dotTAXtaxNotesAPI.php
Both JSONLint, http://jsonformatter.cur
Can you post your code please?
Op Nov 26, 2013, om 9:16 PM heeft Bryan Schmiedeler
het volgende geschreven:
> I am trying to write an HTML email using Objective C.
>
> I have the HTML all done, now I am just putting it into mutable string line
> by line. I am using / to escape when I need a
Not if your UITableView has only one section and you use the section's header
view in the way Marcelo suggests. Sections headers scroll up to the top and
then remain there - visible - while additional cells scroll underneath it…
Op Nov 27, 2013, om 4:30 AM heeft Rick Mann het
volgende gesch
Is it possible to reverse the issue? Keep the original object (living on the
main thread) untouched, make a copy for algorithm processing as an async task,
then, when done, update the original object from the copy that may have been
changed during async processing? Or will that cause the exact s
Hi Jason,
Don't be too disappointed. This is exactly what The Lean Startup (a good read!)
is all about and I am pretty sure quite a few of us have run into a situation
like this ourselves. I was thinking about your remark on the radio buttons. I
could be wrong, but I think it is the only contro
Diederik Meijer | Ten Horses wrote:
>> The web service returns the list lightning fast, but in order to get the
>> count number added to each of the >300 articles html header, I am
>> looping through the list and call NSString's
>> stringByReplacingOccurancesOfStri
Dear list,
I have an iOS app that loads a local html file into a UIWebView.
The content is quite large, about 1MB, it is the full text of a law.
By tapping a button, users can reveal the number of published court rulings for
each of the law's articles.
As this data changes frequently, a list t
tasks, to manage CPU usage...
Verstuurd vanaf mijn iPhone
Op 20 aug. 2013 om 23:45 heeft Ken Thomases het volgende
geschreven:
> On Aug 20, 2013, at 4:32 PM, Diederik Meijer | Ten Horses wrote:
>
>> An itemStore object creates a worker object (property of itemStore object)
>>
Apologies, no need to respond, I have just fixed this..
Op Aug 20, 2013, om 11:32 PM heeft Diederik Meijer | Ten Horses
het volgende geschreven:
> Dear list,
>
> I have the following structure:
>
> An itemStore object creates a worker object (property of itemStore object)
Dear list,
I have the following structure:
An itemStore object creates a worker object (property of itemStore object) that
hold a weak reference back to the itemStore object;
When the worker classes is done, it sets the itemStore object (of which the
worker class itself is a property) to nil.
Call resignFirstResponder in the textViewShouldReturn delegation method…
In addition: have a tap anywhere in the screen outside the textView call a
dismiss as well
Op Aug 13, 2013, om 12:18 PM heeft "Gerriet M. Denkmann"
het volgende geschreven:
> I have an app with a textView on an iPad.
>
The way is handled something similar is by first calculating the label size for
the dynamic string (which you probably need anyway), then using the returned
value in the heightForHeaderInSection (or recalculating it with a method call),
followed by calling reloadData on the tableView. The code b
On ZD Net:
Apple hack conducted for the greater good of research
By Charlie Osborne, 5 hours ago
A security researcher has stepped up and shouldered the blame for taking down
Apple's Dev Center --all in the name of blowing the whistle on bugs.
Verstuurd vanaf mijn iPhone
Op 24 jul. 2013 om 19
Seems to be equal on iPhone and iPad
Verstuurd vanaf mijn iPhone
Op 15 jul. 2013 om 13:18 heeft Koen van der Drift
het volgende geschreven:
>
> On Jul 15, 2013, at 7:14 AM, Diederik Meijer | Ten Horses
> wrote:
>
>> Isn't the standard 44?
>> Then 2 rows
Isn't the standard 44?
Then 2 rows would be 88, or am I missing something?
Op Jul 15, 2013, om 1:08 PM heeft Diederik Meijer | Ten Horses
het volgende geschreven:
> Won't, setting the row height in
>
> - (CGFloat)tableView:(UITableView *)tableView
> heightForRowAt
Won't, setting the row height in
- (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
return something;
}
and then multiplying that something with 2 work?
Add headerView/footerView heights if needed..
Op Jul 15, 2013, om 1:02 PM heeft Koen van
I am not entirely sure whether this is as clean as it can be, but this is
working for me. Might be a starting point, please give me feedback if this can
be improved..
In your Objective-C class, put in appropriate method:
NSString *path = [[NSBundle mainBundle]
pathForResource:@"javascript
One way is to animate the UiTextField upwards in the didBeginEditing delegation
method and down again in the shouldReturn.
Verstuurd vanaf mijn iPhone
Op 29 jun. 2013 om 00:44 heeft Julius Oklamcak het
volgende geschreven:
>> I'm looking for "something" OR some method that knows how to change
Thanks Robert and Quincey, that's very helpful!
Op May 29, 2013, om 8:26 AM heeft Quincey Morris
het volgende geschreven:
> On May 28, 2013, at 23:37 , Diederik Meijer | Ten Horses
> wrote:
>
>> 1. With ARC, do we still have to worry about string1 leaking in the
&
May I add two questions to this enlightening thread?
1. With ARC, do we still have to worry about string1 leaking in the following
scenario?
@property (nonatomic, copy) NSString *string1;
…..
self.string1 = @"Hello";
string1 = @"Hello hello";
string1 = @"Hello hello hello";
2. How do the stron
Have you tried loading a NSAttributedString? It's iOS 6 only, a quick search
implies you can set
kCTSuperscriptAttributeName to specific ranges in your string...
Verstuurd vanaf mijn iPhone
Op 9 mei 2013 om 14:04 heeft Koen van der Drift het
volgende geschreven:
> Right now I am using an UI
Thank you Nick, that works perfectly!!
Op May 8, 2013, om 5:20 PM heeft Nick Zitzmann het
volgende geschreven:
>
> On May 8, 2013, at 8:51 AM, Diederik Meijer | Ten Horses
> wrote:
>
>> I am implementing a UIRefreshControl in an app that runs on iOS 5.1 or
>> hi
Hi,
I am implementing a UIRefreshControl in an app that runs on iOS 5.1 or higher
and want to test if the device is running iOS 6, because this is an iOS 6
feature.
I'd like to avoid detecting the iOS version in runtime and use a
respondsToSelector route instead.
I am getting no compiler erro
I don't agree, blocks are very powerful.
I am using Xcode 4.6 and in a project that uses ARC it was throwing warnings
when a block reference to a property caused a retain cycle. This is how I found
it and why I mentioned it in another thread in the first place.
I haven't tested it extensively,
An additional thought: when you put references to the presentingVC's properties
in the completion block you may get retain cycle warnings. This is caused by
the fact that blocks keep strong references to objects. Passing data back to
the referring VC could also be done in viewWillDisappear, coul
Dear list,
I need to create a grouped array from a simple array, it then populates a
grouped UITableView. Below is my code, which works fine (the project uses ARC).
But I'd like to know if there is a quicker or more efficient way to do this,
with less code. If so, please let me know.
NSArray
> The forward declaration is used to tell the compiler: "The word MyClass
> represents a class. I don't give you the implementation yet, but it
> represents a class, and the implementation will be provided later".
…and this allows you to create a property for an instance of that class in the
.h
Maybe I'm missing the point, but you can set the keyboard type in the
storyboard settings for it.. Or do you need to change it programmatically for
some particular reason?
Op Mar 13, 2013, om 6:51 PM heeft Alex Zavatone het volgende
geschreven:
> Hopefully, this will be a more constructive
I agree with Charles. I only work with iOS and have apps that actually take
screenshots in runtime triggered by IBActions. I have no experience with
detecting it, but would be suprised if detecting that a screenshot was taken
would be impossible to do.
The good thing about Charles' suggestion is
55 matches
Mail list logo