« first day (942 days earlier)      last day (1214 days later) » 

8:20 AM
Source kit 197% CPU Swift 99% CPU
nice
 
lol how is that even possible
 
i think thats on a per core basis
 
ok still though
 
yeah it wont compile my work now either
haha
this is like the good old days
When coders were coders, and tools were text editors
 
morning
 
8:26 AM
hello
 
still no official dates for the NSCoderNight
 
yes
that tuesday
21st
 
do we need to sign up on lanyard or just show up?
 
nah just show up
 
I just want to sleep
 
8:28 AM
me too
 
and wake up and eat and sleep again
 
im considering trying to break my sleep patteren before i go UTC +7
go to bed at 6pm UTC +0
wake up middle of the night
 
lol
I'm considering to take 3 months off to play some MMORPG.
 
will mean i wont suffer jetlag as much
and i can code in peace between the hours of 2 am and 9pm
Hmm well thats done it, i cant complile my codebase anymore
 
are you sure you consider that in peace
 
8:30 AM
Xcode just gets stuck an source kit goes over 200% CPU
 
hahaha wonderful
 
no hassle from clients is all teh peace i need
hmm not sure what to do
guess ll google it
hahah awesome this was the issue
22
Q: Swift XCode Index Freezing or Slow

ileonardMaybe this is just me experiencing such an annoying "feature": After upgrading from Xcode 6.0.1 to Xcode 6.1, things changed. Xcode 6.1 is forever indexing the project or compiling source files. The project is not a huge one. It just contains a bunch of Swift files and AWS SDK 2.0 Cocoapods in t...

which also goes against the docs
you know your in trouble when you RTFM and it is wrong.
 
it's a feature
 
lol
 
0
Q: How to get app receipt after purchase using test account in iOS

RanjitI am working with IAP, I want to get the receipt so that I can validate it. I have tried this -(void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction *transaction in transactions) { switch (transaction.transactionState)/...

hello all, can anybody help me out with above question
 
8:39 AM
It's a featured called "Free heater for those who use Swift"
 
i was jsut typing that
lol
 
How else would you get a very cheap 70 degree heating from your armslength
 
or you could live in australia
 
yea or that
 
or burn the building down
that is always an option to every developer
 
8:41 AM
I think mutch should start a youtube channel
 
i live in east London, that sort of behaviour is a slippery slope
 
why?
on what
 
soon i woudl have a beard and wear jeans so tight i would have to be a monk if i did that sort ofblogging like thing
 
@EnricoSusatyo please do explain
 
because I would like to see you do the frozen dance with the dress
 
8:47 AM
im not pewdiepie hahaha
 
you can be whatever you want to be
 
Enrico: Inspiring the youtube stars of tomorrow
2
 
can i though
i couldn't be the american president
 
you sure can
 
because I wasn't born on american soil
 
8:55 AM
not with that attitude no, but if you take Enrico's 12 step course you might be
 
oh boy!
I hope it's only five easy payments of $12.99!
 
so maybe you lead an army and invade making it your country
 
i think i'd rather work on making zombies so i could relive the walking dead
 
well 1 easy payment of $123.66 2 weekly payments of £54.99 and then a cumulative $15.67 weekly followed by one final payment of $NaN
So the zombie apocalypse was you .......
that also means you will likely end up being patient zero though
 
i wish
no no
i'd send it somewhere else
so i can survive :D
 
8:58 AM
yeah but you would be at the source
 
and fend for myself
no
i could set a zombie time bomb!
 
and if Resident Evil taught me anything, its the scientists that have a lab accident thats the real cause
 
and get out safely
then watch it spread
well i'll hire scientist
to have a lab accident
problem solved
 
Mutch95 Aka the Umbrella corporation
Mutch = Albert Wesker
 
There's mutch to learn about me.
 
9:00 AM
Like your Dna was the building blocks for the T-Virus
 
hahaha
sure was
 
LOLOLOLOLOLO
I AM LAUGHING MY ASS OFF
LOLOLOLOL
thank you for the entertainment this evening
 
watch out or my zombies might eat it
 
you are welcome
 
keep it close to you!
 
9:03 AM
oh im built to survive the zombie appocalypse
 
how so
list your top 5 survival tips
 
if im not caught in the first wave due to living in a massive city i can surviv
well i have all teh equpiment minus the crossbow, though i was going to get one in the summer
 
i have done survival training
know first aid
have no co dependancies
 
survival training in general
or for zombies lol?
 
9:06 AM
general
though we did go on a zombie paintball experience for a mates birthday
not sure that counts though
 
what was that like?
 
senpai
did you notice me
 
funny, my mates 5ft fiancee kicked an army bloke in the nuts and decked him
 
no they walked right past you enrico
 
Mutch
you should watch this
 
9:07 AM
What hahahahaha!
 
he was wearing body armour but no box and said "Going attack me"
wasn't expecting that
 
no one was
 
well
she really um hit the nail with the hammer didn't she
 
oh yeah, top marks
 
9:12 AM
that's how a real person would survive a zombie apocalypse
 
headshots only , Roshambo does not work on them
 
so when you were paint balling you head shot them ;)
@EnricoSusatyo it looks cool
but i think it needs a lot more features
 
yea
it's still far from release
 
9:30 AM
my animations in the uitableviewcell slow my tableview :(
stupid issues
why cant u play nice
 
9:46 AM
OMGGGG
IS THIS THE END
I FIXED EVERYTHING THAT IS LISTED
IS IT NOW TIME TO SUBMIT TO ITUNES?!?!
 
Hi To all
 
wait wait
test it
 
can anyone tell me that if my app is running in background mode and suddenly my device is switch-off (turn off) than at that time any notification to track that event ? i just want to check it and apply some event on it. i search about it but not getting relevant answer.
 
In short if you app is running in background and you have done some processing you can check battery status in your function
 
Sir i need Device turn-off event
is it possible because i never face this kind issue ?
 
9:57 AM
Anjan, why are you always here before googling anything?
 
i already done enrico
but may be searching tags is differ so not getting proper solution
yes i agree sometimes i m here without googling because some urgent need but this is not urgent enrico and i search about it
 
10:14 AM
yeah test it
and then give Mutch some advice
and then tell me to stop trying to code in swift as it isn't finished
Why is there no swift Type name function
having to use Obj-c bridging again
i hinestly thought that i would be 100% swift
 
of course I tested it
 
i can see a lot of rewrites each time Apple release a new bunch of stuff in Swift
 
I think I will be 10% swift by iOS 9, 30% swift by iOS 10, and after that gradually making it 100%.
 
also
yeah i wanted to go 100% now though :_(
looks like im wasting my time atm and should o back to working on our game
im going to paste one line
let className: String = NSStringFromClass(aMangedObjectClass)
i want to do that in swift damn you
though that works fine
 
10:38 AM
I also reckon your approach is good Enrico
i might slow down and do a bit here and there every month and just keep reading the docs / keynotes / updates
if there ends up being a complete overhaul on Core Data with a pure swift implementation i will end up having to rewrite all this again
 
think Android handles changes a bit better then
 
JESUS I AM NOT FINISHED YET
 
10:53 AM
told you
 
11:31 AM
oh shit!
wasn't meant to post that no ahhhh ahahaha
 
11:45 AM
See if you took Enrico's course for winners these issues would not weigh you down
 
i know right
i need to acquire effort
 
12:14 PM
it is usually found in the bottom of a cup of your favorite stimulant
 
 
1 hour later…
1:35 PM
any1 here experience with animating arcs with the start and end angles?
 
arcs are usually calulated with bezier curves
look into how beziers work
 
I currently use: CGContextAddArc(ctx, center.x, center.y, radius, 0.0, _lenghtOfArc * _endAngle, 0)
to draw them
 
oh right that's just a circle segment then
then yes
done it several times
 
hmm maybe i just need the clockwise thing
 
ask a question
 
1:38 PM
trying to animate the circle from 1.0 to x
but it always animates from 0.0 to x
 
1.0 being ?
and in 1D?
 
oh the value used for the start and end angle
yup
 
use degrees / radians otherwise i have no idea what you mean ?
 
appearantly drawing an entire circle = StartAngle: 0.0, EndAngle: 1.0
 
it uses radians
im pretty sure
 
1:40 PM
true
 
do 0.0 - 360
in dgerees
and see if you can get a full circle
 
would you know how i could animate the circle from the end (being 1.0) to a value I calculated (x)
its not the clockwise option
still working on the clock thing with animations
 
do you not mean a value [x,y]
as like 1D makes no sens
or do you mean from N degres to n+delta degrees?
and what do you mean by animate
as drawArc only draws an arc
 
that is what I used to animate the circles
ofc refactored to swift
but I use a layer to animate a circle
the drawincontext method draws the circle
and since I animate time
I can easily calculate the end angle
 
so your trying to animate a pie slice getting bigger right ?
 
1:48 PM
e.g. 90 / 60 = 1.5 % 1 = 0.5
not exactly
not the radius getting bigger
just animating the circle as one would a progress bar
but increasing and decreasing as needed
 
no the radius would not get any bigger in that example
 
true
 
then just up the end angle by the percentage of loading complete
 
that is what I've done
 
so in degrees 360 / 100 * percent complete
and it would just rotate round
 
1:50 PM
but it's being annoying and not animating from 100% (60 minutes in my case) to 50% (30 minutes)
 
soudns liek your radians calculation might be off
 
to draw a full circle you need: CGFloat(2 * M_PI)
and what i simply do is use that value _lenghtOfArc * _endAngle
which could be 0.5
to represent 30 minutes
in the example I've given its represented as follow: CGFloat angle = num.floatValue * 2 * M_PI;
 
#define DEGREES_TO_RADIANS(angle) ((angle) / 180.0 * M_PI)
then try and test 90 , 180 and 270
as the end angle and see if that works around in quarters
oops
wrong define
there swapped it
 
2:12 PM
that's what I'm doing
I just suspect the values I'm giving it are wrong
you have to subtract hours from the minutes here
 
yeah i have done that with the method above
 
in your mind
 
just put it over percentages
then the input is irrelevant
no in client published code
this is trivial graphics work for me these days
 
no but I mean the 0 minutes, 15 minutes, 30 minutes, 45 minutes etc are all at the correct position
gsus how do I explain this
when I have already animated the circle once
it remembers that position yeah
 
yep
 
2:17 PM
then when I want to input a new value or want it to start from another position
 
then re render it , setNeedsDisplay or wharever its called
 
dunno if that would do it
could try
 
well its waht causes a UIView to redraw
if not it will only draw the first time
 
as you saw in the demo the animation triggers fine the next couple of times
so it's not that
i kinda just need to be able to remove the animation and start from scratch again
remove the animation or clear the layer, reset the value
w/e
 
oh so you are using UIView animations ?
 
2:21 PM
CA animations
CABasicAnimation to be precise
 
id use a soem custom update loop
NSTimer is bad but easiest
 
yeah I did this just to test it
it's gonna be irrelevant later on
gonna be updated from background
sync
 
well i wrote 3 games using the same stuff i jsut mentioned
and a reall y complex custom input method
 
what method is that?
 
the one i just mentioned
 
2:26 PM
ah ok
 
2:48 PM
every runloop is sacred / every runloop is great / and if a runloop is wasted...
borrden on the other hand is big in Japan
there is a song for everything
 
lol
 

« first day (942 days earlier)      last day (1214 days later) »