« first day (795 days earlier)      last day (1361 days later) » 

2:38 AM
JAPANESE TIMEZONE, WAKE UP!
 
3:02 AM
what's up guys..
I've got a collection view with instantgram hastags
 
each hastag contains images
so when I click on hastag I should open first view which is specified with user icon , name and particular image linked for hastag..
I need to make sliding through views for all photos for particular tag
any idea how can I do it ?
I ended up with collection view, but my concern is how to sliding through views after click on particular hastag
 
user457812
3:20 AM
Anyone want $10 in account credits for Digital Ocean? It's a referral thingy, so obviously the implication is selling their stuff, but there you go.
 
user457812
That is, you have to sign up to get the $10 thingies.
 
Why do people post stupid stuff on my Facebook news feed...
 
user457812
Yes, why? They should sign up for Digital Ocean and spend $25 so I get $25 in credits.
 
5:06 AM
Now I remember why it's so quiet.
The Japanese are having freaking long holiday again.
 
5:27 AM
lol what!
6 months later they respond to my request
 
NICE
Hahaha
 
thats funny
 
I find that app reviews hardly impact on my sales.
in the short term at least.
 
eh, still makes me happy
 
yeah, of course!
I'm happy when someone review my app too
 
5:39 AM
i love how they said that the sound is really annoying!, i agree with her haha
 
i want to make some sort of horror game next or something i have all these ideas i just don't know which one is best >.<
 
I wish I have more time to do games.
and talent
 
it sucks working on your own as you have no one to discuss it to but also its is great because you can take all the time in the world and go at your own pace
 
well when you're young you can do anything
 
5:44 AM
i guess so, i mean i have 10 weeks off! i could for sure pull something off.
i mean i have to!
 
holy crap, 10 months off.
 
I've been craving to release another app on the app store
WEEKS enrico, weeks haha
2 months
 
then do it
lol
I have a notebook full of stupid things I wanna publish if I have infinite time.
well, finite.
 
its just all these projects i start i loose interest because i think its just not good enough
i'm going to go with this horror game as i did say when sprite kit integrated the lighting functionality i would create a horror game
 
 
2 hours later…
7:39 AM
i really need a source of income.
 
Selling apps isn't a very good source of income to 99% of developers.
Making apps for other people however... Is quite okay.
 
7:59 AM
but i'm only 16 like they'd hire me :/
 
Someone out there will, maybe.
 
i mean that looks awesome and all, but should i really be trusting myself with creating application for other people?
 
you seem to be in a hurry to make lots of money? what's up with that?
you should enjoy being 16...
 
i have things to buy anythings to do
its my girlfriend and I's anniversary soon and i have -$150, i need to also buy her a christmas present and i need to take her out more :/ watching movies every Friday is getting dull
i did work at a computer shop but i was horrible with dealing with them as i couldn't give them an answer straight away
 
There are adults who may make worse apps than you.
I should give you cheap date ideas.
 
8:04 AM
it's our 4th year together, oh what will i do haha
 
you've been dating her since you were 11 or 12?
geez....
 
HAHAHAHAHA
 
my parents didn't even let me out of the house when I was 11.
 
i mean i take her out to nandos for lunch, pizza so on but i need to take her to fancy places. as it doesn't happen very often
 
what's fancy to you?
 
8:05 AM
hahaha
 
Carls Junior?
 
like the places you have to make reservations or the places out in the city
Carls junior?
 
I had my first date when I was 16...
I feel so old. Blech.
Enrico, how old were you when you first went on a date?
 
Don't bother asking.
I wasn't as popular as you guys.
 
I never considered myself popular...
 
8:07 AM
i'm not popular
 
Mutch seems to be a ladies man.
 
0.0
 
Yeah, I think he must be.
 
oh noes, its just. it works. not like most people i know haha
 
8:09 AM
afrer a week off, good morning
 
morning
 
where have YOU been? people were asking about you.
 
i was sat on my sofa playing playstation for a week
 
so what are you thinking Enrico, I should try that freelance website?
 
and the world hasnt stopped, cant have been that importnt
 
8:12 AM
Mutch: Yeah, why not.
Just make sure you make yourself clear about how much experience you have and what you expect you can do.
Just be honest and tell them that you've been doing iOS dev for x months, you're in school, etc.
 
i signed up, just to see what type of jobs people are offering
 
I have a friend who used to work there.
Most of the things in there are ridiculous, like they expect you to duplicate Flappy Bird in 3 days for like $300.
I think that's worth at least $1,000. I wouldn't do it for less than that hahaha.
 
bahaha, could totally do that xD
 
But yeah, as a beginner you'd have to suck up to the crappier pay first.
 
i don't care atleast i am obtaining an income
 
8:15 AM
The bright side is by the time you're 18 you'll probably be much more experienced in this stuff.
 
they really don't specify what they want
 
If you just work at Woolies you wouldn't get this experience.
What do you mean they don't specify?
 
That is dodgy lol
 
thought so, and how is it published, do they do it or i?
 
8:18 AM
What do you mean?
Publish to the app store? Ask them.
 
are there other websites that provide this type of service?
 
@Mutch95 Yeah, start from there.
Or something like that.
Maybe bid a few projects, like 4 or 5? See which ones you like.
My friend fixed a 1 line Javascript bug for $50 lol.
 
hi @MichaelDautermann How are you ?
 
I'm doing quite fine over here Moorthy The Boss.
although I wish I were 16 again
just like Mutch.
cause then I would be a ladies man.
 
8:34 AM
i think someone is jealous haha ;)
 
ha ha
Mich i want to implement some software development methodology in one of the start up in india. Can you suggest some useful notes.
its product based company not doing service ..
 
you mean like Agile?
 
Also
"Agile programming methodologies" #Dilbert http://t.co/tri1y86xxr
 
user1823693
8:48 AM
hello
 
user1823693
im having a trouble with a UILabel
 
user1823693
0
Q: troubles calculating tha max label height

o PiIm having troubles calculating the max label height of a group of labels. I have the following code: -(double)calcMaxHeight:(NSDictionary *)fields withFont:(UIFont *)font { double maxRowHeigth = 0; NSArray *keys = [fields allKeys]; for(NSString *key in keys) { NSDictionary *d...

 
i sent off 2 bids 0.0
makes me feel nervous as i don't know how big of a task this may be
 
what kind of task is it? is it a game?
 
user1823693
no, a pdf generator
 
8:56 AM
ones a game that has bugs, another is well also a game with bugs .-.
 
o Pi, you can get your answer from here:
2
A: SizeWithFont deprecated in IOS7

Michael DautermannYou have to use sizeWithAttributes:, using something like: UIFont *font = [UIFont boldSystemFontOfSize:17.0f]; NSDictionary *attrsDictionary = [NSDictionary dictionaryWithObject:font forKey:NSFontAttributeName]; CGSize size = [tempStrig sizeWithAttributes:attrDictionary];

so both games are already built and have bugs?
 
yep
 
Beware, in the wild out there the codes are so messy.
I was once faced with having to fix a code that is supposedly for one of the biggest credit card companies... The variable names were button1, button2,... all the way up to button25.
 
you aren't meant to use numbers in variables arn't you!?
 
You're meant to make variables human readable.
 
8:59 AM
haha... did you rename them
its looks so bad on my end because everyones days is 1 or 2 mine is 10.
lol
 
I had like 2 days to do it, there's no way I can rename all of those lol.
lol, is your price cheaper?
 
can't you refractor names?
yep it is
 
Omg
Why is this archived lol
> Obj1->SetGetSet(Obj2->GetGetSet())
OMGGGGG
 
closed by a mod because it didn't fit the Q&A format...
 
user1823693
9:05 AM
Michael it doesnt work
 
how did it not work?
 
user1823693
still the same issue
 
user1823693
the same size is calculated
 
you also have an answer in your original question.
try that one.
 
user1823693
yes, i did too xD
 
10:00 AM
Okay smart people, I need your help.
I have @property(strong, nonatomic) Object *o;
Then I passed this [ConvenienceClass setupSomething:o];
 
At this point, o is nil.
 
lost me on the second line, lol
 
In [ConvenienceClass setupSomething:o];, I alloc init o, but how come it still came back as nil?
 
maybe in the setupSomething method?
not passing the correct object?
and isn't it NSObject, or are they different?
 
10:03 AM
Pretty sure it's passing the correct object, then I see it being allocated, then once it exited setupSomething scope, it's nil again.
I think I misunderstood the retention of this object on that scope.
I thought ARC would know that some other class is retaining o.
 
alright, now you really lost me. do you just mean the scope of the value isn't accessible?
 
So, this is what's in setupSomething
-(void)setupSomething:(Object *)obj {
   if(obj == nil) { obj = [[Object alloc] init];
}
After that if statement, obj is not nil.
Then after the last }, it's become nil again.
But this obj is <strike>retained</strike> strongly referenced by another class.
 
so its releasing the value
make it return the type of obj
 
Damn, HTML does not work here.
Yes, I tried just returning obj and it worked. But I need this method to have this layout.
 
i thought once a method was complete all values it obtained within the method were release expect those referenced outside the method itself
 
10:10 AM
Exactly, obj is retained because I called it from another retaining class.
 
so if i was to declare an object within a method, which is essentially what you're doing when you create a parameter for a method. the values is obtained but then released once the method is complete
 
<s>test</s>
I DONT KNOW
In theory it shouldn't be released because it still has strong reference.
 
so then you are forced to either 1. return a value or 2. create a property within the class that method exist and store the value of obj within the instance of that property
but it is. so just find a work around, i never understood fully how strong and weak worked
wait
 
Ok, here's also the crazy thing.
 
when was the variable obj ever declared with a strong reference?
 
10:13 AM
-(void)setupSomething:(Object *)obj {
   if(obj == nil) { obj = [[Object alloc] init];
   obj.property = @"test";
}
 
that is the variable obj in the method setupSomething
 
If nil obj is passed there, when it comes out it will be nil, but if an allocated object is passed there, the property will still say @"test".
 
because the value of obj in setupSomething:obj is never set with a strong reference D:
the value of obj is always going to be released because it is only created within the method, so the scope of obj is only in setupSomething isn't it?
 
So I'm calling that from this:
[SomeClass setupSomething:self.obj];
And remember, self.obj is strong.
@property(strong, nonatomic) obj;
 
Hello :)
 
10:17 AM
but setupSomething: isn't declared in the current class you call that statement
You have two variable called obj
one with the scope only of setupSomething: and one that is a property
 
does anyone know what is the best way to customize a header section in a ui tableview ? I mean creating a custom one or the default one can be customized ?
 
Jack: What do you mean?
 
I think he means create one programatically?
 
Mutch: Hmmmm, I don't see why declaring setupSomething in another class would make the parameter lost the strong reference.
 
@EnricoSusatyo do you get what I'm saying though
 
10:19 AM
Not really.
 
well i have a tableview and i want to customize the header for sections, is it possible to customize the default one , or i'll have to create a new one ?
 
You can customise the default one.
 
the strong reference is only for the variable obj in the class you declare the statement SomeClass setupSomething:self.obj];
you create another variable in the other class within setupSomething:obj which only has a scope of it's own method
 
so is there any way to get the view for that ?
-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section i know about this method, but this creates a new one ...
 
Yes, you can use that method to create what you want.
If you just want to change the label, use titleForHeaderInSection.
 
10:21 AM
ok, got it then, thanks :)
 
@Mutch95 I don't see how that will made me lose the strong reference.
 
because the strong reference is only to one variable, they are both separate variables
they are two separate variables
well from where I'm coming from they should be two separate variables
replace the variable obj in setupSomething:obj and then access self.obj in the other class you'll still be able to access it because they are separate variables
 
ok, i have one more question regarding view, is it a good practice to create a view in a xib for something like that, header of a section, and lad it when you need it , or is considered a bad practice ?
 
It's better isn't it @EnricoSusatyo?
 
Hmmm, I don't know Mutch, that doesn't sound like how it works.
Jack: It's up to you.
I've been mixing up those two.
But lately having storyboard and Xib has been biting me actually.
 
10:25 AM
ill find an example enrico
 
I'm thinking to just use code from now on.
 
yes, but sometimes is harder to do things in code, than you would do it in xibs ...
 
the answer from bbum specifically
 
Jack: yeah, I admit xibs saved me lots of time.
But it also screwed me up a few times.
@Mutch95 Woah, thanks a lot.
That makes sense.
I guess I am doing it wrong then.
 
am i right? or is it something else because i honestly feel like i am right
 
10:31 AM
I should just rewrite this.
LOL yeah you are right.
 
just make it return instead :P
 
Hmm, thanks for the answer, i though is a bad practice or has been depreciated with all the new iOS 8 and storyboards ...
 
awesome, that makes me feel really awesome mwahahaha :P i'm right. for once.
omg haha that's gotten me really happy for some reason
 
I taught you something hehehe.
oh no i have an assignment due tomorrow
 
10:34 AM
LOLLLLL
what assignment?
 
graphics... its a horrible subject. lol the teacher leaves the class room every lesson
 
honestly the whole year, the only class i've learnt something is Maths... and i don't do all too well in it getting a b-. all the other classes are focused on assignments, you honestly don't learn anything... its just assignment after assignment
 
I see
Actually, reading bbum's answer second time, now I'm not sure why Obj-C behaves this way...
 
because creating a parameter creates a local variable to its method
 
10:40 AM
yeaaaahh but they are just a reference?
so going back to this
-(void)setupSomething:(Object *)obj {
   if(obj == nil) { obj = [[Object alloc] init];
   obj.property = @"test";
}
How come we can still see obj.property if I'm passing non nil object
but not if I pass a nil object
 
ohhhh i see what you mean
the parameter is a reference towards the variable you pass
 
Yesss
 
but i thought it copies the variables values into the parameters value, thus not effecting the passed variable
 
user1823693
its a value, not a reference. For a reference it should be -(void)setupSomething:(Object **)obj {
 
see i told you :P
 
user1823693
10:42 AM
i think xD
 
so we were both right in our own way i guess, if thats correct it just means the method was declared incorrectly enrico
and then you can continue doing what you planned to do
 
Okay that is ridiculous lol.
I see that that's what bbum said, I had to do (Object **)obj
But that is weird.
 
user1823693
why?
 
its a pointer, so it refers to the variables memory location that you pass in the parameter thus effecting the passed value
well thats how i think it works
makes total sense to me
 
No, but an Objective-C object itself is a pointer.
So why do I have to pass pointer of a pointer?
This is why we declare objects with a * but primitive types with just int i = 0;.
 
user1823693
10:46 AM
because on -(void)setupSomething:(Object *)obj youre defining a new Object pointer
 
exactly^!
 
user1823693
then, the function you cant handle obj. You have to handle *obj which is the pointer to a pointer
 
so now it creates the new object but it also is a pointer to the passed object
 
user1823693
and thats the original Object pointer
 
Ahaha yes!
@EnricoSusatyo how easy would this be to make?
because if you think it's possible, ill do it for $150
 
10:53 AM
@Mutch95 I think that'll take you 2 or 3 days.
 
i should totally do it then?
 
I kinda understand the object thing, but it's still a bit of a weird concept in Obj-C.
Yes you should
 
Quick question, how would i access contact and so on to allow me to send messages from the app and so on
 
user1823693
i think its the same concept as in C
 
Mutch: There's a lot of code to do that in Stack Overflow.
@Mutch95 If I was to suggest you, once you've done this and they like your work, add them on LinkedIn, Twitter, etc, then change your LinkedIn header to something like "Looking for short term iOS dev contract", easy money ;)
I wish I'd done that when I was 18.
 
11:01 AM
what is LinkedIN?
i probably won't be able to receive the payment as when adding my pay pal it must have credit card credentials...
 
11:16 AM
You don't know LinkedIn?
It's like Facebook but to get jobs instead of friends.
 
lol what
thats probably why because I'm still in school
 
user1823693
its not the fist time i get an offer through that web. You should start making your net asap
 
net?
 
user1823693
contacts net
 
please explain
 
user1823693
11:30 AM
as much contacts more visibility. Paricipate in groups conversations
 
which website is this for?
 
user1823693
as more visibility more options to get an offer
 
user1823693
linkedin
 
i'll consider it, i still have study to do and so on
meh i signed up haha
 
11:45 AM
how does it work exactly?
these are full time jobs
 
user1823693
at first start adding all people you know who is working on the same area than you
 
user1823693
then look for groups about what youre interested
 
you do know i'm only 16 right?
 
user1823693
oh, no. Didnt know
 
user1823693
hahaha ok, nevermind
 
11:49 AM
haha i thought i was a little too young for a full time job during school :P
 
user1823693
yes, maybe xD
 
user1823693
btw, i found what was going wrong in the question i posted
 
i didn't know you posted a question. Anyway what was the solution?
 
user1823693
this is the question and whats wrong: stackoverflow.com/questions/26710268/…
 
i'm not even capable of reading that tonight haha sorry, so sleep deprived
 
user1823693
11:54 AM
thats not good
 
no not really, you said you found your solution didn't you?
 
user1823693
in what country do you live?
 
Australia
yourself?
 
user1823693
Spain
 
Nice
 
user1823693
12:00 PM
...what time do you start school?
 
8:20
why?
 
user1823693
its little late for you xD
 
10:02? haha
 
user1823693
ah, ok. I thought it was 12 hours of difference
 
I don't go to be till 12 or so
otherwise i song have enough time to do everything
dont* not song
 
 
2 hours later…
1:53 PM
Anybody have experience on (ios) epub reader. if yes, pls reply
 
Anyone knows how can I read .mht files in an iOS app?
http://stackoverflow.com/questions/26592512/how-to-read-mht-files-in-an-ios-application
 
2:11 PM
@Ramdy: Are you reading a pdf file?
 
3:05 PM
hello
 
3:28 PM
Anyone here have experience with Sockets? Specifically GCDAsyncSocket
 
Just ask the question on Stack Overflow, paste the question here and people who knows how to answer will answer.
 
@EnricoSusatyo: Any idea on how to read .mht files in iOS?
-2
Q: How to read .mht files in an iOS application?

Umesh KumarIn my iPad application, I should either be able to open or view a .mht file or convert the .mht file to a .html file and then view it. This feature should be possible as "OliveOfficeBasic" app in the Appstore has the same feature available. So my question is, is there any 3rd party library availa...

 
I don't know, but reading any files in iOS should be the same.
 
3:44 PM
I tried with the sample pdf reader applications. They were able to read pdf files, but not the .mht files.
 
I think you should edit the question and make it clearer.
 
Don't know whether iOS supports in reading .mht files
Have now made the question more simple and clear :)
 
user1823693
hello again
 
user1823693
im still experiencing some problems with this
 
user1823693
any idea?
 
user1823693
3:50 PM
0
Q: troubles calculating tha max label height

o PiIm having troubles calculating the max label height of a group of labels. I have the following code: -(double)calcMaxHeight:(NSDictionary *)fields withFont:(UIFont *)font { double maxRowHeigth = 0; NSArray *keys = [fields allKeys]; for(NSString *key in keys) { NSDictionary *d...

 
user1823693
4:04 PM
@UmeshKumar try opening the MHT in a webview
 
Not able to do that
The file isn't supported. Tried with sample .mht files as well
 
user1823693
well...there is a library, but isnt free: chilkatsoft.com/mht-objc.asp
 
user1823693
also you could make your own library
 
@oPi: Have tried with that library already. But it doesn't give me the output file.
 
user1823693
4:19 PM
wow...
 
user1823693
so, im lost about this
 
user1823693
why do you need mht? client specs?
 
Yep
 
5:18 PM
so, i've got a webview that's setting itself to be the width of the device. acutally, the webview's size is correct, it's content is not scaling. I'm setting webView.scalesPageToFit = Yes
this is going to make me blow my brains out
full disclosure: the UIWebView is a property on a UIViewController. In the viewController's viewDidLoad I am setting self.webView.scalesPageToFit = Yes. In autoLayout it is checked as well
and constraints are set (in autoLayout) to UIViewController's view
 
5:52 PM
had a question..
is the facebook app entirely built native or is it a hybrid somehow along with some web technologies?
 
0
Q: Can't set a region in Swift for iOS application

deniI'm rather newbie to Swift programming language, and I have some troubles with the building an iOS application. The code is simple: import CoreLocation import UIKit import WebKit import MapKit class ViewController: UIViewController { @IBOutlet weak var mapView:MKMapView! override func...

 
6:39 PM
hi there
 
7:29 PM
hi there!
 
 
1 hour later…
8:50 PM
freelancer.com.au/projects/Graphic-Design-Mobile-Phone/… how would i find internet services that allow me to search lyrics?
 
9:39 PM
Mondays are like iTunes updates: Nobody fucking looks forward to dealing with them.
 
I've used EchoNest's API before, but not their lyric part
 
I'm back
 
 
2 hours later…
11:49 PM
@Gudiya that's nice.
 

« first day (795 days earlier)      last day (1361 days later) »