« first day (1018 days earlier)      last day (1138 days later) » 

00:04
ok
I'm getting a 'new' one Wednesday
 
1 hour later…
01:16
@Gudiya wake up!
anyone wet their hands with watchOS2 yet ?
it's incredible, isn't it?
seems far better than watchOS1 and earlier watchkit
but still seems a bit too restricted on what developers can access and what not
I was wondering if anyone else tried watchOS2, is there any method or way now to access and stream the iphone's camera feed to the watch ?
Basically like what they are doing in watch's camera app
you could be the first!
and if you do it, please put it on GitHub so I can see how you did it.
tried a lot but cudnt find anything, not atleast any direct approach
 
1 hour later…
02:20
@MichaelDautermann is here
what were you doing for the past 3 hours?
sleeping, apparently
 
11 hours later…
13:23
booooooooring.
14:17
@MichaelDautermann is here
oh, NOW you decide to wake up again
14:28
yes
What are you doing it's so early for you
I'm converting a project from Swift 1.5 to Swift 2
and of course Apple will rev Swift up to 2.5 at some point in the near future. They're Apple. They'll do what they want to do.
It should be like that only.
Good Morning.
Hello Twitter expert.
Hello Michelle.
14:34
Michelle Obama
Who has chances of being the next US president?
Democrats have Hillary Clinton.
She's a big player.
Bernie Sanders is also making headlines as a more socialist/democratic candidate.
Conservatives have Ted Cruz, and a bunch of others.
Ted Cruz is very extreme though
Is she good? Hillary Clinton
Not really.
14:38
Extreme means
?
Zero tolerance for anything non-conservative
Anti immigration, anti government healthcare
Anti net neutrality
Doesn't believe/support Climate change.
That kind of stuff
lol
He should not become then
He's popular with older people/
Let me see how that monkey looks like
My great uncle loves him.
But he also calls Bernie Sanders a communist. because he doesn't see the difference between communism and socialism.
My uncle is very conservative.
I talked to him last week. Sadly, there is not much you can do.
It's hard to have a conversation because he is so adamant about his political beliefs
And what's sad is you think that, somewhere, somehow, you could find something about your party you don't like, or something you feel the opposite party does better. But literally nothing he said seemed to have a healthy outlook. All extremist nonsense mostly.
If you want evidence, here he is (Cruz) comparing Climate Change scientists to people who think the earth is flat
I personally don't like him much because of this:
'"Net Neutrality' is Obamacare for the Internet; the Internet should not operate at the speed of government," Cruz wrote on Twitter.
He should be thrown out of US
He won't.
What about Hillary Clinton? What is she bad at?
14:45
But he probably won't make it in the conservative convention.
They will pick a candidate among themselves. And he is a bit too extreme, even for them.
Hillary Clinton has been involved in some scandals involving money, I'm not sure about the specifics. She's also a bit old.
Christ Michael, why not actually write something.
I don't know that much about politics myself.
Hard to tell you what to do.
Looks like US needs me as the President
Just know your stuff. Some of our candidates are incredibly uneducated.
Or surprisingly ignorant.
Sarah Palin comes to mind.
14:48
What do we have to do for being a President Candidate?
Be a millionaire.
You wouldn't make it.
Media is very cruel, they'd slander you as soon as they could.
Go after your family, life here, business decisions, where you live. And use it to make you look bad in any way possible.
I couldn't even run.
I am half French. Even though I speak English fine, and I've got an American education, I'd be called not an american, or unpatriotic, ect.
Depends on what you represent too.
If you represent more socialist values. conservative news sites, etc, would especially go for you.
I don't know what counts as democratic or liberal media, (Maybe NBC?), but they might do it a bit too..
I will first get US citizenship then become President Candidate
They would say since you aren't originally from the US, that you're a communist, or that you're not really American. They would probably say you come from an enemy country, or something.
The more hardcore political news stations would, sadly.
Also, you need those millions to run a campaign. It's sad.
I guess you should do your own research
14:58
Obama had millions?
Yeah he did.
His party also helps him campaign.
If Hillary Clinton can be a Terminatrix, then she should become.
I am biased too. Since I find conservatives in this country to be supportive of ignorant or intolerant laws. Or laws that have threatened services I use. I guess I find myself more in line with socialist policies, ect. I find that from living in Europe, and my limited understand of how things work there, that their system is better for people in general. But like I said, it's just my take on things. You should feel free to do your own investigations and see where you lie.
I think Government should tax more and provide healthcare, public transportation, and other services free to citizens. That is an example of things typical of socialist countries. Conservatives would like less taxes, and that the government has little say in how they do things. This means that the states would each have more power to make their own laws and do their own stuff. This can be be good or bad for people.
Why is Healthcare so expensive?
15:07
I don't know enough to tell you.
In Europe though, you typically pay very little to nothing for treatments of all sorts of illnesses because the healthcare is taxpayer supported.
My mother was hospitalized for half a year.
She paid almost nothing.
The idea is that people don't often get injured, so the public can all pay taxes and everyone can get help when they need it.
I want all my money spent on Healthcare back
I also haven't yet received my security deposit from my previous apartment community
Can't help you there. I don't know much about that.
I suppose you could call and ask for it
Isn't that something you put down to reserve/hold room at the community?
Yes
I paid $994
Do they put that towards rent or anything?
I imagine they did not..
No, just as a deposit
15:16
Oh. I don't know what to do. I've yet to rent a place.
when will you?
Well. I have to rent in the fall to go to school.
So I will do that I guess.
Already had a deposit put down
I need to hear back from them telling me I got in.
Deposited where? School or for Apartment?
I sent them the required material (And I met the conditions they specified). I emailed them and they said they have received them. But no final confirmation email yet that I am enrolled for sure.
Deposite for apartment
I have to share with someone else though.
who?
15:20
IDK
Someone
Is it 2 bed?
The apartment has two beds, yes.
One room though, lol..
lol
Like a Hotel
Will the other person be a boy or girl?
Kind of.
It will be a boy. They said they only pair same genders.
Its good then
15:22
I guess it is, just depends who you get.
Most people are probably fine to room with. But you could always get someone unpleasant.
What is the total monthly rent for the room?
Like 400 euro
I think
I pay $1000
Do you share?
no
I no more like sharing
15:30
Well. I think I pay a little less because It is through a program designed to assist students. Also because I have to share, and the accommodations are very basic.
16:02
@Gudiya I have a problem.
I am setting an integer* inside a VC from it's parent VC. But it does not persist.
I have an integer. and I go
[myInstance setNumber: 5];
But it doesn't work.
myInstance.number remains what it was set to when initialized.
It makes absolutely no sense to me.
hmm
What is integer *?
hello everyone
Can you copy paste your property declaration and how you set it?
I put an * because I edited it as I read
*typed it.
And accidentally wrote BOOL at first
Sure.
Here's how it's declared: In GameScene.h
#pragma mark CXGameScene Numerical Properties
@property (nonatomic)int objectLimit;
I tried to add a gif and a video in the Asset Catalog but can't retrieve these..
( Xcode 7 )
16:11
When this class is first instantiated, it is set as follows:
// Set the Number of Nodes allowed in the Scene
[self setObjectLimit:5];
This works. It remains a 5.
However, the user can change this number in settings. Then return to this VC to see the effects.
When the user returns. I attempt to update this number.
It is done in ViewWillAppear
-(void)viewDidAppear:(BOOL)animated
{
    // Sync Userdefaults
    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
    NSInteger count = [defaults integerForKey:@"SceneObjectLimit"];
    NSLog(@"Setting Object Limit: %.0lu",count);
    [self.gameScene setObjectLimit:(int)count];
}
Well, I mean viewDidAppear
This prints the correct integer saved in the settings. But. It does not set it inside self.gameScene. The SKScene object that has the property I want to set.
I don't know why. I am doing everything correctly as far as I know.
How do you set the value in settings, can you show that?
Sure. Although I don't find that to be a problem, because I extract it just fine. (Note the NSLog there that I check to see if it got the right number).
-(void)sliderChanged:(id)sender
{
    [self.objectNumber setText:[NSString stringWithFormat:@"%.0f",self.objectNumberSlider.value]];
    NSInteger count = self.objectNumberSlider.value;
    [[NSUserDefaults standardUserDefaults] setInteger:count forKey:@"SceneObjectLimit"];
    [[NSUserDefaults standardUserDefaults] synchronize];
}
In Settings, the above method fires when a user moves the slider which changes a number.
Here's the thing. I am saving these NSDefaults fine. It's setting the property inside the GameScene class that doesn't work.
And I don't understand why it doesn't work. Because other Defaults are set with no problem. (I removed them from viewDidAppear to show the relevant one).
Can you change the property declaration to NSInteger from int and try?
Sure.
I have frequent trouble with this sort of stuff.
I also have a problem, for example, where setting a MutableArray in another VC turns up empty half the time.
It did not work.
First of all, I don't see any point in grabbing from defaults and then capturing it in an instance variable when it can always be publicly grabbed from defaults anywhere.
16:22
That's true.
But I need it to update every time you come back to this VC in case it was changed
Well.
Just access from defaults always. Whats the issue in that?
Because it will only get set once when the VC is initialized then.
Well
You want me to use NSDefaults as a property to be readily accessed/written to?
Because this number changes in game.
no, there should be no property
As you add and remove objects, the count increases and decreases
just access from defaults whenever you want to
16:25
Would it not make sense to have a local property for that.
I just don't understand why it's screwing this up.
no, because the same thing can be accessed from defaults. Make a method that returns value from defaults and use it
So when the object count increases and decreases, I should access defaults and save/load
hum
someone tried to retrieve non jpg/png files from the Asset Catalog in Xcode 7 ?
Here's the weird thing Gudiya.
This is the full method for ViewWillAppear
-(void)viewDidAppear:(BOOL)animated
{
    // Sync Userdefaults
    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
    NSString *switchState = [defaults valueForKey:@"ShouldDestroyObjectsOnImpact"];
    NSLog(@"Impacts Destroy Objects: %@",switchState);
    if ([switchState isEqualToString:@"y"])
    {
        [self.gameScene setShouldDestroyObjectsOnImpact:YES];
    } else {
        [self.gameScene setShouldDestroyObjectsOnImpact:NO];
    }

    NSInteger count = [defaults integerForKey:@"SceneObjectLimit"];
NSString *switchState is another Default used to set a property inside that scene.
And the method: [self.gameScene setShouldDestroyObjectsOnImpact:YES]; works..
@Owatch It should not matter if the value was changed in settings or not. You can always grab the latest value from defaults and show it in the view whenever you arrive in that view.
16:28
^ That's what I'm doing
@Owatch It should not matter if the value was changed in settings or not. You can always grab the latest value from defaults and show it in the view whenever you arrive in that view.
When I arrive in this view, (viewDidAppear) sets the latest value fromdefaults
Yes, but don't do in 2 steps. Do it just via defaults.
What are the two steps I am using?
Using both local and default variables to store the same thing?
You transfer from defaults to instance variable and then use instance variable
16:32
And you want me to use defaults only?
Since they both represent same thing and defaults can be accessed from anywhere, defaults can be used directly.
yes
Well, one of the defaults is actually a string. And is used as a BOOL.
So it would require some work to actively change that.
Not a lot. I could do it..
Okay then.
For some reason your suggestion does not make sense to me, although it is reasonable.
Okay. Here you ho
Why not?
I display a number onscreen that is the number stored in NSDefault
It is a SKLabel object. (A SpriteKit label).
How do I update that?
Lets say I go to settings, decide I want objectLimit to be 10 instead of 5. Then come back to the scene
Nothing will change. Because I set the label when the view initialized.
If I want to update it, I should access NSDefaults when ViewWillAppear/ViewDidAppear fires, and update it there.
I am basically doing the same thing
But it doesn't set the property in my case, which happens to be an integer.
wait 5 mins
16:37
Sure. I could also post an S.O question and see if anyone might know why this occurs.
First of all, yes you should refresh your label in view will appear
Grab the value from defaults and update the label
In doing so, debug 2 things:
And what if someone deletes an object in game.
1. Check if you get correct value from defaults or not.
I will need to grab the number in the label, make it an integer, subtract from it, save it back into a string. And set it to the label text property.
Right?
I don't know how you are showing in label. But the basic thing is you get value from defaults and show it in label.
If you get correct value from defaults and it doesn't show up in label, then issue is in your display part
16:43
I know I get the correct value from defaults.
I print it in viewDidAppear
Then where is the issue?
I think I found it..
I'm retarded.
I'm utterly retarded.
lol
Okay. The property objectLimit, which is an integer.
I claimed I was updating it, but it wasn't working in game right?
Well. It is updating (I think). I am just not updating the label
16:47
So it probably does change the limit. I just don't know it because I didn't see it occur.
I need to override the setter and have it set the label.
Okay, let me try now
Yep
A bit slow, since it's in ViewDidAppear. But yes it works
Put in will appear then
lol
Somethings off.
"Settings objectlimit = 9"
Go in game
Updates to 8
I'll sort that..
Do you know how to make a UISlider increment upwards?
Yes
Some people change it's transform
30
Q: how to put UISlider vertical?

MD.I want to put uislider in verticaly.i have no idea about this.so please help me for this.

17:05
GRRR
17:23
Hello Maximoo
Maximilian* :P
Maximoo
 
2 hours later…
19:40
an important part of my app is actually slower on my iPhone 6 on iOS 8...what?
compared to my 5C
You did it Matt!
My App is ready for Beta*
Pretty much
@MichaelDautermann is back
I fell asleep watching oWatch blather on about politics
19:52
lol
I am watching Boxing Match
On HBOSG
I don't need your negativity Michelle.
midget boxing!
Do you own a 5C Michael?
why do you ask?
It's a cheapest iPhone I can buy to replace my broken one.
Wanted to know if anyone owned one
19:57
Hello..
Does any one knows who can Hire me as a iOS Dev?
Just to get their take on it. Not sure how it holds up against the 5S.
What's your rate?
I know python/django REST API, Nodejs, Objective-C
I think @BrianS Was looking for someone the other day.
1K per month
as a full stack dev
1k per month..
19:59
1.000
That's pretty low..
How long have you worked with Objective-C?
2 years now
I kind of wanted to have someone go over my project and make sure it meets whatever requirements there are for iPads.
I think my App gets rejected if it doesn't run on iPads. Even though I designated it for iPhone.
20:00
It runs all devices?
My company just got Broke.
It runs fine on the 6, 6 Plus, 5S, 5, 4S
In the sim.
Ran fine on the 4S IRL till mine broke..
Crashed in the iPad 2 sim. I'll have to look back at that later.
why kind of app?
What do you mean?
What the app does?
It's just a game/educational App.
No networking involved. Loads in some stuff from plists for data, thats it mostly.
I can't pay anyone right now.
So I won't ask you to do anything
20:03
ohhh.. ok..
no prob
Just wanted to know if you had handled that sort of stuff before
(Fixing constraint issues mostly).
yeap..
Okay Cool.
I almost got a contrat with Open English
now about them?
What?
20:04
the issue is that my company went bankrupt and could not handle the app at that moment because it needed more devs.
You could try the StackOverflow Careers thing
if know anyone that could hire me for 1K per month ill be fine.
there they want the next Steve jobs as employee
Try it anyways?
They probably shoot higher than they want
Just hoping to get someone
20:08
lol
Gudiya.
I will hire you if
You have 20 years iOS experience
And 50 years Apple Watch dev experience.
pls
-minimum-
lol
20:38
and are also a time traveller
 
2 hours later…
22:23
Anyone have an idea of how to help me?
I can load to a certain VC from three different VC's. Two are menus that close out and pop to present it. One is the main menu which loads it.
I decided that to update NSUserDefaults, I'd put the update code in viewWillAppear.
There is a problem though.
If I load from the popup menus, it resets a property called Object Limit. Screwing up the App
Well, screwing up the scene mechanics.
Eh, I think I know a fix.
 
1 hour later…
23:44
NSOperation.. learn it
Watched the WWDC session on it, and was blown away. Then ran my app to my 4S and it was terrible. Added NSOperation for image downloading and caching, and its way better
Hey Mx
Lets say I have a limit on objects in a scene
The limit is 10
The user has 9 of 10 in their scene.
They go to the menu, make the limit 5.
Then they go back to the scene. Now we have a problem no?
yes
Reload them
Should I force remove objects, then update to the limit they wanted? Or should I tell them I cannot set the limit lower, and leave it as it is..
(Which means they have to remove objects to set it lower).
??
Sorry, I'm on the phone with my boss
Remove them all, and then reload it on viewWillAppear I think
What do you mean. . .
I have two options
1: Delete objects and set limit.
2: Don't delete objects, don't set limit. Tell user they have to remove objects
23:55
Do it yourself, not user
Okay.
:)
Users will love you
Also, look at NSOperation:O
I got performance so good
Before: Spikey, laggy app. Gets image from system every time it loads a cell
Now: Fast, smooth, grabs images from cache if its there

« first day (1018 days earlier)      last day (1138 days later) »