« first day (704 days earlier)      last day (1452 days later) » 

12:32 AM
Good morning, internet.
Anyone has any ideas about this:
0
Q: Comparing String.Index values

JumhynIs it possible to compare two String.Index values in Swift? I'm trying to process a string character by character, and several times I need to check if I am at the end of the string. I've tried just doing while (currentIndex < string.endIndex) { //do things... currentIndex = currentIndex...

 
 
1 hour later…
1:36 AM
I'm three points away from 20k :p
 
1:47 AM
Awww
I want 20k too!
 
2:11 AM
Good morning everyone
 
GOOD MORNING
BRB LUNCH
 
user457812
3:08 AM
My power's back, so that's a plus.
 
3:30 AM
Creating safari-style autosuggest for UITextField was easier than I thought it'd be
@AlbinJoseph trying to understand what you asked gave me a brain hemorrhage. I'm typing this from the hospital
 
user457812
3:43 AM
Wouldn't doing that just be a matter of throwing a tableview down and refreshing it as needed?
 
3:58 AM
Today I learned how to say "grasping at straws" in Japanese
It's surprisingly literal
"Relying even on straws"
 
You don't know that English phrase?
It means when you have run out of good arguments or connections and you start trying to create them out of thin air
(in order to save your reputation, etc)
Apparently it can also mean to do so to save yourself from actual danger (i.e. grasp at straws to pay the bills), though I've never heard that usage
 
I've never heard that in English.
I've heard "the straw man"
 
4:18 AM
English likes to use phrases involving straw haha
 
Hahaha
Btw I see you had a nice Saturday, borrrden.
Played watch dog, was it? =P
 
4:35 AM
I did quite a bit of that
But also worked a bit on an iOS project
I also had a cold so that was not so fun
 
Speaking of iOS project
Are you very familiar with UIImagePicker?
I dabbled a bit on the weekend.
I'm wondering how customisable it is. It does not like it's very customisable, so if I am to write like an Instagram app or another camera app with custom buttons, I don't think I can use that class.
(not trying to be help vampire, just venting)
 
Not that customizable
we had a big problem with it showing the status bar in our status bar-less app ><
 
I see.
I want to put a few buttons and move the camera window around a bit, and that's what I found last weekend.
So I guess I would want to write my own camera class? >.<
Unless someone here knows a GitHub library that already does that.
A GitHub library that is not 2 years old, that is...
 
4:50 AM
@nil Safari uses two auto completions 1.) tableview 2.) chrome-esque auto-suggest, where you can continue typing and it displays it's guess as for the rest in the textbox as well
the 2nd one is what was more difficult to implement as Apple doesn't present a built-in way to do it
 
user457812
Hm, seems like you could update the field's value provided you were careful about keeping the caret/selection
 
6:46 AM
Interesting behavior that I didn't notice differing between iOS 6 and 7
CGRectIntegral with size 0 will force a CGRect to have a height of 1
This caused some problems for my program ><
 
7:21 AM
Any body knows about Pre-Actions build script in Xcode?
 
7:44 AM
Not the correct question to ask
 
Actually I am not able see the output of the script that I have added in Pre-Actions build phase
Even not a simple echo
People are saying we can see it in console.app. I also tried that.
 
8:03 AM
Make a stack overflow question about it
 
Yes. I thought if somebody could reply me quickly.
 
I don't ever use that feature. If you want to run a script you could do it in the "build phases" section
 
 
2 hours later…
9:54 AM
hi
I am star working on calendar app but i want to know which procedure is best for this type of app
if you have any idea then share with me
 
what do you mean which procedure?
how about a development procedure
it mainly involves writing code to achieve the desired effect
 
Careful not to simplify things too much
Good development also involves a solid planning period
 
10:17 AM
I said it involves, I didn't say it solely comprises of
 
"mainly involves" ;)
 
yes :)
not the same
 
It's a topic of opinion, but I'm just expressing mine
 
in fact exactly what I've been doing the past few weeks is solid planning
 
I think the main part should be shared between planning and coding hehe
I wish my company would allow more time for it
 
10:19 AM
I am the person allowing time for it
:)
finally I am in a high enough position
 
Although mostly I was just adding on to a cynical answer with a cynical followup
 
what I'd like you to tell me is how much would it cost for two to stay in Tokyo for a week or two
plane tickets are alright, but accommodation has stellar prices
and were we to visit Japan, which bits are must see?
I'm thinking Tokyo, Kyoto, Himeji
 
I'm not as useful as I used to be at this :p
What kind of accommodations are you looking to book?
 
well I'd be travelling with my wife and she has higher expectations than couch surfing
or backpackers' inn
 
A regular, if a bit small, western style hotel will run you about 6,000 yen a night I think
A guest house will be cheaper, but more spartan (shared facilities, etc)
3,000 yen a night or so
This is my personal preference when I travel, as I don't spend much time in the room anyway
 
10:24 AM
is it possible that Y6000 amounts to £35?
 
And as a bonus, the innkeepers are usually very knowledgeable about the local area
Yeah, about that
 
that's cheap mate
 
That was how much I paid when I stayed at Toyoko Inn
A business hotel
Well if you want to spend a bit more for a Japanese style hotel you can go up to about 14,000 per night
It felt pretty luxurious to me
 
that's still alright
£80
 
I doubt you will regret it, but it will require a good bit of research if you travel around
These kinds of places are not usually chains
Also if you go to a more rural area the English level drops exponentially
It's summer and wicked hot in Kyoto right now
35 or 36 every day with 70% + humidity
 
10:28 AM
so if flights cost around £1000 each, plus we stay for 3 weeks = (20*~£60 = £1200) plus other expenses it's still around £4k
I thought it would cost more
 
They won't cost that much if you come this month
August is outrageously expensive
 
I'm not coming this month :)
 
Round trip to New York costs about $2,000 and change, while in September it's $1200
 
so weather-wise which month you'd recommend?
 
Gosh, September will have a good number of typhoons
In the beginning anyway
 
10:31 AM
spring? sakura blossom time?
 
Spring is a popular time to come
That also means a bump in prices
 
I work for a travel agency now
 
Otherwise, I recommend coming when it's cold and going to a hot spring
 
I get discounts
 
My favorite one is in Hokkaido
 
10:32 AM
Hokkaido, nice
 
I went there a couple years ago during summer break.
 
one of the first islands I've conquered
it was back in 1256 I think
 
Good ramen, a beer museum, and fresh seafood
 
good ramen and fresh seafood is what I want
beer I can't have
I'm not eating seaweed though
 
And this
Jingisukan (ジンギスカン, "Genghis Khan") is a Japanese grilled mutton dish prepared on a convex metal skillet or other grill. The dish is particularly popular on the northern island of Hokkaidō and in China, Thailand. == Etymology == The dish is rumored to be so named because in prewar Japan, lamb was widely thought to be the meat of choice among Mongolian soldiers, and the dome-shaped skillet is meant to represent the soldiers' helmets that they purportedly used to cook their food. In 1918, according to the plan by the Japanese government to increase the flock to one million sheep, five sheep farms...
Going home though
If you have questions ask tomorrow :p
Bye
 
10:34 AM
ok, cheers
 
 
2 hours later…
1:00 PM
Hello everyone :)
Hey anybody have idea about mixing a track playing in background with input of microphone in iOS
I have successfully done this but the result is of very low quality.
I have downloaded the track I am playing in background.
I tried this code but not working it gets crashed.
developer.apple.com/library/…

If anybody have any idea please let me know or share a link to good blog.
 
user457812
 
user457812
'Lo.
 
user457812
I get to go to work in an hour. Well, I leave in less and it starts in a little over, but roughly an hour.
 
user457812
I can only imagine what will go horribly wrong
 
2:05 PM
well done on the job front man
it wil be fine
though always a nerve wracking experience
 
 
4 hours later…
6:12 PM
Does anybody know how to write out a bitmap file from a UIImage? I'll create a question if somebody out here has a clue.
 
7:08 PM
Whats going on
 
7:38 PM
Don't you guys love it when you end up with a selector like this:
calculateVolumeFlowOfVelocity:withUnits:thruA:withDimensionsInMeters:toUnits:
 
:O
@PawanSharma Doing both at the same time isn't going to end well
 
 
2 hours later…
9:43 PM
Custom keyboards still do not work with the latest beta at all. Thanks Apple for this exciting vacation since nothing works anymore
These betas are really downgrades basically each time
and i get that there is issues with a beta, like when keyboard names are not correct or the popover is a wrong direction on the keyboard. but when the full keyboard does't display at all, Im just wondering what they are doing! How can they claim there are bug fixes when there is no keyboard to fix now! If this doesnt work in beta 6 I'm going to lose it lol
 
10:04 PM
Hello people...
 
Hi all
 
11:01 PM
Stuart Little
 
11:23 PM
Can anyone help me with this question?
It has a 50+ bounty ending in two days
0
Q: Why is xcodebuild not building dependencies when testing?

Ethen A. WilsonWhen I run xcodebuild, it crashes. It seems that it is not compiling the test target's dependency, which is the main app. The test target is called NiknikTests, while the app's target is called WTATest3. Ld build/UninstalledProducts/NiknikTests.xctest/NiknikTests normal i386 cd "/Users/ethen...

 
11:39 PM
Ethen are you on iOS 8?
I need to see If this issue is just me or if people are assholes and don't want to reply to my thread. nobody else is posting about it but I have no idea why my device won't use custom keyboards anymore
 

« first day (704 days earlier)      last day (1452 days later) »