« first day (724 days earlier)      last day (1432 days later) » 

12:00 AM
@nil Did you solve this?
 
user457812
12:17 AM
Yes.
 
Restarting Xcode?
Btw how good are you in Haskell?
 
user457812
No and not at all.
 
So how did you solve that above Xcode stupid behaviour?
I am kinda desperate for testers.
 
user457812
12:46 AM
By fixing the code.
 
Wait, what was wrong with that code?
Actually, what is the error message telling you?
(trying to tell you)?
 
user457812
1:01 AM
What it's saying is that NSNumber isn't a subtype of NSDictionary.
 
user457812
Because it for some reason thinks I'm assigning an NSNumber to an NSDictionary.
 
user457812
Again, the compiler occasionally just screws up completely.
 
I can't believe I am working with Max's open source code.
And the code is just.... Amazing.
He really is just a type of person who just wants to get something work without looking at future consequences.
 
@EnricoSusatyo lol what?
MLAlertView?
 
Yes.
I can rewrite this in an hour or two.
Or I can spend that time monad sandwich for lunch
 
1:14 AM
haha
I think he should've used iOS 7 custom view controller transitions + modal style, to start with...looks like he's using UIWindow.
 
Double semi-colon. Facepalm.
And magic numbers. Magic numbers everywhere.
 
Easy mistake to make
 
I really can't read his mind, what those 280, 40, 44, 0.986 are for.
 
omg
static numbers?
I'm not talking to Max anymore
3
 
>.<
Lots of them. Lots.
I don't mind if it's just 1 or 2 per method, I understand.
 
1:19 AM
Even if certain parts of the subviews frames are static, use a constant somewhere so you don't have to change it every, single, time, a size value changes
 
YYYYYYYYYESSSS
Or even to let other people know what those numbers are.
 
Why this: NSMutableArray *otherButtons = [[NSMutableArray alloc] initWithCapacity:[otherButtonTitles count]];
 
More importantly, why this: CGRectMake(0, (i*40)+0.5, 280, 40);
 
He can also avoid writing self so much by using the automatically generated instance variables _...
 
I DONT UNDERSTAND WHAT IS 40 AND 0.5
WHY + 0.5? LOL
 
1:22 AM
0.5 distance between the buttons 40 is the width
Don't ask me why I know that
 
too be fair, max's code is a lot better than other code I've seen by people doing it longer than he has...
Like the code posted from the people Laddu works with
 
LOL
I guess he'll be good in a few years. He's still young.
I have an intern about a few years older than him. I think he used to be like Max.
 
I think we all probably used to be like Max
Max has been doing iOS longer than I have but I think I've been programming in general longer than he has...made similar mistakes at one point or the other
we're around the same ages I think
wait a minute
people have been contributing to that code and no one tried to tidy it up?!
 
LOLLLLL
No one likes to clean up. Everyone likes to party.
 
1:29 AM
Yeah, just checked. Been doing iOS (and by iOS I mean this app I'm working on) 1 year, 5 months, 17 days
And a good portion of that is JS I wrote to wrangle UIWebView. 1733. I am damn proud of those 1733 lines.
Refined my JS skills too
 
I am proud of you too, son.
 
Thank you, Obi-Wan Kenobi.
I have trained long and hard in the ways of the Jedi
2
 
1:49 AM
You said long and hard.
 
At first I was like "yeah, I did" and then I couldn't breathe
 
2:45 AM
Question...
For anyone who's still here - @EnricoSusatyo?
 
About to go to lunch.
Putting on shoes now.
 
9 here o_O
k, l8tr
 
12:46pm here, 46 minutes pas lunch time :p
 
3:11 AM
Lately my code has been working on the first try...that's how I know I'm doing something wrong
 
 
4 hours later…
7:32 AM
windows touchdevelop is shit.
 
 
6 hours later…
2:00 PM
word
 
is
Have you ever tried this?
25
A: Set a default font for whole iOS app?

Hugues BRThere is also another solution which will be to override systemFont. Just create a category UIFont+SytemFontOverride.h #import @interface UIFont (SytemFontOverride) @end UIFont+SytemFontOverride.m @implementation UIFont (SytemFontOverride) #pragma clang diagnostic push #pragma clang d...

 
Interesting, wasn't aware of that method
Wonder how stable it is - not really what categories are for.
 
Lol, exactly.
I am about to do this but I'm scared.
 
I think the more stable alternatives are swizzling & UIAppearance
 
Can I do UIAppearance for this purpose though?
I don't think so.
 
2:04 PM
manually?
won't work in every case though... :/
 
Noooooooooooo
I did something like this manually before lol
It's a big big pain in the butt
 
2:18 PM
Just finished brushing my teeth
 
great :p
How will you solve your problem?
 
I guess I will swizzle the thing
Then I am onto another problem if I do that
I want some of them to use a diff font lol
But I will figure it out
 
wonder how this works github.com/tombenner/nui
 
> UIFont+OpalFont.m:17:1: Category is implementing a method which will also be implemented by its primary class
Argh
 
heh
 
2:26 PM
Hmm I don't like that solution
I have everything laid out already and the designer now just told me I need to change the font on all the pages
lol
 
3:08 PM
What do you guys think of this self-answered question? The answer is written in a blog-like style, mixing problems, failed attempts and solutions. I find it very difficult to read (and I do not agree with some of the solutions)
1
Q: How doing String-Programming in Swift

j.s.comI started with Swift in May 2014 and I had no background knowledge from Objective C and not even from C++. The last time, I programmed was end of the 90th with LightScpeed Pascal and LightSpeed C on Apple Macintosh. Now after looking over the Swift language, I decided to start programming again. ...

 
I hate iTunes app reviews
 
Make it easier/more prominent for them to give feedback.
Also create a social media presence
 
@MartinR That looks pretty horrible.
 
I thought you weren't talking to me Matt
I just hate them because Flow is all 4-5 star reviews, the SAME exact code is in my iDownloads app, 1 star reviews, doesn't download any files people say
they are fucking lying, i can download anything in it.
 
Did you try downloading porn? Because maybe that's what they're after.
 
3:11 PM
@Maximilian sarcasm
@Maximilian LOL
 
We should be able to respond, and if it is a true 100% fake review we should be able to report it to be removed
lol Enrico yes that works
 
Imagine though...the taskforce required. People would report any review with < 5 stars
 
EVERYONE, MAX LOOKED AT PORN ON HIS IPHONE!!!
STAR THAT MESSAGE SO EVERYONE CAN SEE
 
well then they should have a blocking service, if a developer is reporting true reviews then they can't report ever again on that account
but if its something fake, remove it lol
Lol Enrico.
Liars
 
I want a refund too.
 
3:15 PM
@Maximilian LOL
Sounds like a bunch of kiddos
Or just entitled Apple users...
 
I have had no issues with the app. Downloads as much as Flow can. They are just stupid
 
Or people tying to find porn and failed.
Maybe you didn't visit enough porn sites.
 
Probably have shitty internet
 
Looking at 1 porn is not enough you know.
Half of the internet is porn, they said.
 
You test it Enrico
Go download Australian porn
 
3:17 PM
woooow
 
lol
 
you guys might have an obsession with prawns
 
I don't want to test it I just want my money back.
 
I need to go to Apple today and get a new charger
the light doesn't glow anymore
 
Anyway I have to sleep, goodnight all.
 
3:20 PM
Subclassing UITextField is a pain
 
no its not
 
Listen to the man who wrote double semicolon and (i*40*25, 90)
 
lol
 
 
2 hours later…
user457812
5:44 PM
So far, Mac OS 10.10 has been pretty stable, not counting graphical/UI issues
 
Just saw this stupid commercial for Cortana, It was annoying. Did its voice assistant vs Siri, and said Siri couldn't do anything. I just did some of the stuff it said Siri can't do. Is there not a rule about lying to people?
Says siri can't remind you when you go somewhere, lies! I did it
 
user457812
6:06 PM
I got bored and started reading RFC 4122 because I was bored.
 

« first day (724 days earlier)      last day (1432 days later) »