« first day (754 days earlier)      last day (1402 days later) » 
00:00 - 18:0018:00 - 00:00

12:08 AM
Well that's something
my JavaScript code is out-performing my Objective-C code
Eh, probably some JS optomization
 
 
2 hours later…
2:20 AM
Morning
 
 
3 hours later…
user457812
5:06 AM
@EnricoSusatyo 99% chance you're wrong.
 
At what?
lol
 
Hello
 
5:22 AM
Hi Max
It's lunch time.
 
user457812
At Twitter
 
user457812
 
Today widgets, ugh
 
user457812
I haven't found any.
 
user457812
 
user457812
5:34 AM
Have beatnik-y sort of music.
 
user457812
Also, Bus to Beelzebug, from the same album
 
MY today widget can change height, but can't be less than 100? WTF
 
6:17 AM
@nil You are an evil person.
 
user457812
It's hypnotic
 
user457812
Also, the first Quake expansion pack was made by Hipnotic
 
user457812
Hipnotic later became Ritual, the people who made stuff like SiN, FAKK2, etc. before drifting off into nonexistence
 
user457812
There, I've granted @EnricoSusatyo's one wish.
 
@nil FOR GOD SAKE FINISH THE SENTENCE
AND WHAT?!?!
 
user457812
6:32 AM
You never said anything about that.
 
I'm gonna kill you.
Well played.
How do you sleep at night?
 
user457812
Poorly.
 
user457812
Hard to sleep when I know there's work to be done on Rusalka.
 
6:46 AM
And also work to be done on your Twitter name.
 
7:35 AM
Size classes is weird.
 
the fact there is no way to render a pdf nicely on Android out of the box is hurting me
:_(
 
Aww
GitHub to the rescue?
 
7:55 AM
not really unfortunalty
there must be some liscence issue with adobe
though i am very tempted to write one that actually works and put it for free on github
danger there is maybe Adobe will cease and desist my company
not sure what the liscence is and reading legal gumpf isnt my strong point
 
I heard that's also the reason that Windows does not come with a PDF reader (like Preview on OS X)
 
 
1 hour later…
9:01 AM
@Maximilian You should take a look at this class: developer.apple.com/library/prerelease/iOS/documentation/UIKit/…
 
user1823693
9:34 AM
hello people
 
user1823693
 
user1823693
any idea?
 
9:47 AM
Hey guys
 
user1823693
hello @Mr.T
 
How are you?
 
user1823693
fine
 
user1823693
stuck but fine xD
 
user1823693
and you?
 
9:49 AM
fine and stuck too :D
 
user1823693
it seems it could...
 
user1823693
in what are you stuck?
 
you should post some code attached to your question, to get help!
 
user1823693
yes, well. The code i had wasnt working at all, so i deleted it
 
I am trying to set the title of a UIButton in Swift with "playButton.setTitle("Play", forState: UIControlState.Normal)" but it draw all to view but no title :D
tell me if you solved it by that post :)
Okay it displays the title, but only after first touch on it - strange
 
10:06 AM
@Dev2rights You there, hombre?
 
hm anyone a idea, why a UIButton with playButton.setTitle("PLAY", forState: UIControlState.Normal) does show the title after first touch only?
an*
 
where are you setting the button title, @Mr.T?
That line alone looks like it should be fine.
Unless you're setting it in the button event handler ;]
 
I'm setting it in a function called in viewDidLoad
it displays all but the title
ohh and I've added it to the view with "self.view.addSubview(playButton)"
crazy
when I NSLog the Button I get: <UIButton: 0x7fac58e51e70; frame = (0 0; 80 80); opaque = NO; layer = <CALayer: 0x7fac58e4fee0>>
 
have you tried to log titleForState: UIControlState.Normal ?
It might be a swift issue as it works fine in ObjC
 
10:22 AM
My brain is fried, maybe I should go home.
 
user1823693
mine is too, but i have 6 more hours here xD
 
Lol, then you should drink some caffeine.
I can't believe I gulped 3 cups of coffee today. I don't want to be a 4 cups drinker.
 
user1823693
drink? better in vein xD
 
@CaptainRedmuff okay will check the state
NSLog("(playButton.titleForState(UIControlState.Normal))") output is: Optional(PLAY)
NSLog("(playButton.state)") output is: C.UIControlState
NSLog("(playButton.state.toRaw())") output before touch: 0
NSLog("(playButton.state.toRaw())") output after touch: 1
 
10:33 AM
thats odd
looks like the default state for the button isn't being set
perhaps a bug in swift
 
Ok, I am going home for real, goodnight all.
 
gn8
@CaptainRedmuff
sry
done a pastebin: pastebin.com/s1C32Fk5
anyone an idea?
 
10:56 AM
so its a bug?
can anyone please check?
0
Q: UIButton title not displaying

Midhun MP I just started developing in Swift. I created an UIButton dynamically and added it to the View. My issue is the view is not displaying the button. My Code: var button:UIButton = UIButton(); button.frame = CGRect(x: 100, y: 250, width: 100, height: 50); button.setTitle("Midhun", forState: UICo...

okay fixed it lol
 
user1823693
what was the problem?
 
issue: playButton.setTitle("PLAY", forState: UIControlState.Normal | UIControlState.Highlighted) seems not working correct, so I replaced it by playButton.setTitle("PLAY", forState: UIControlState.Normal) playButton.setTitle("PLAY", forState: UIControlState.Highlighted)
 
user1823693
LOL
 
yea lol
swift is new and buggy or? or is that | not implemented in swift?
 
user1823693
i think i preffer to stay in obj-C
 
11:07 AM
well I know now what to take care of ... so ... go on using swift :)
thanks for your help @all :) see u later guys bye
 
user1823693
well, i think Apple will not let me to choose xD
 
haha you can use Obj C now... I think they will leave it there until iOS 10
till*
 
user1823693
lets see!
 
okay have to go - byebye
ohh is yours working now?
@oPi
 
user1823693
yes, by now im working in objC with SUP
 
user1823693
11:11 AM
(SAP middleware)
 
okay perfect
and your Encryption and Decryption?
 
user1823693
wronf
 
user1823693
im really stuck
 
user1823693
what i did about this was on JAva
 
user1823693
i had the tools
 
user1823693
11:21 AM
sometimes this language is like ikea
 
@oPi then probably this code will help you through: stackoverflow.com/a/10223275/1414315
its like to go @coffeeToGo :D
 
 
2 hours later…
user1823693
12:59 PM
thank you @Mr.T :)
 
user1823693
yes, i saw that, the problem is that i have the rpivate and the public key as strings
 
user1823693
1:13 PM
hello people. Im looking to this example: http://stackoverflow.com/questions/10222524/rsa-implementations-in-objective-c/10223275#10223275
i have a doubt about this:
how do i do if i have the public&private keys as strigns?
 
Could I possibly ask you guys a question about background fetching?
And more importantly, will I maybe get an answer?
 
user1823693
try xD
 
How do I know if the background fetching is working?
It works if I manually simulate a background fetch
 
user1823693
what do you mean with background fetch?
 
user1823693
are you calling a ws?
 
1:18 PM
but I've been waiting for an automatic one to occur for quite a few minutes now, do I have to wait for one to occur or is the manualy background fetch working enough indication to assume it's working?
@oPi yeah
I turned on background modes in capabilities
 
user1823693
how are you calling it?
 
checked background fetch
well, I'm waiting for applicationperformFetchWithCompletionHandler to be called by ios
i also set the minimumbackgroundFetchInterval in applicationDidFinishLaunchingWithOptions
Roughly how quickly should I expect ios to wake my app?
 
user1823693
tecnically, it depends on the time the transaction with the WS is done
 
user1823693
are you reaching the ws?
 
If I trigger the background fetch manually, yes
 
user1823693
1:22 PM
could i see your code?
 
what part of it exactly?
 
user1823693
where yo make the request and where youre handling it
 
the webservice call is working perfectly
 
user1823693
the problem is that the handler dont get trggered
 
this function:
func application(application: UIApplication, performFetchWithCompletionHandler completeionHandler: (UIBackgroundFetchResult) -> Void)
{
    // some code
}
 
user1823693
1:27 PM
oops, i have no idea about swift
 
Only gets called if I manually trigger a background fetch
ah
 
user1823693
anyway
 
user1823693
 
np
 
user457812
Just want to point out, @oPi's avatar is basically a swastika.
 
user1823693
1:30 PM
fuck @nil, ive never seen it til now :/
 
user1823693
lets change it
 
user1823693
done
 
@oPi No, but thanks anyway.
 
user1823693
im sorry @overactor
 
@oPi ios is weird.
 
user1823693
1:49 PM
nah, its not. The problem is that "complex" operations hasnt a good library
 
@nil lol
 
hello programmers
 
hi
 
user1823693
hello
 
hi
 
2:04 PM
can someone help me with some hint in iOS....
 
I can try
 
on one condition im triggering alertview., this scenario repeats in loop.So alertview also triggers x times., can i stop alertview with 1 time instead of x times.?
 
user1823693
put a break; instruction in the condition you show the alert
 
user1823693
for(..) { if(...) { [self showAlert]; break; } }
 
for (int i = 0 ; i < filescount ; i++ ) {
[self retrievefiles];
if (i == 0){

[alert show];
}
break;
this is what im using...until file count 0, it repeats..
 
user457812
2:12 PM
Use an operation queue.
 
user457812
Then, upon completion of the queue, do a thing.
 
user457812
Or a dispatch group.
 
k.,nil.thanks...
is there any other possible way to do...
 
Does anyone know how I can cerate a logfile in ios?
Can't seem to find any documentation
 
user1823693
2:30 PM
@overactor in objective c:
NSString *documentsDirectory = [NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString *fileName = [documentsDirectory stringByAppendingPathComponent:@"yourlog.log"];
if(![[NSFileManager defaultManager] fileExistsAtPath:fileName])
[[NSFileManager defaultManager] createFileAtPath:fileName contents:nil attributes:nil];
NSFileHandle *file = [NSFileHandle fileHandleForUpdatingAtPath:fileName];
[file seekToEndOfFile];
[file writeData:[content dataUsingEncoding:NSUTF8StringEncoding]];
 
user1823693
@user3923716 the break inside the if
 
yup
 
user1823693
youre writing it outside xD
 
o pi i dont know ...sorry for stupid question...how to upgrade ios7 app to ios 8
 
user1823693
i didnt started with it
 
user1823693
2:39 PM
so dont know
 
So many broken rules
 
2:56 PM
@enricosusatyo I know of it:P and use it all over Flow
Pretty much done with extensions on iOS 8
 
3:15 PM
@oPi Use pastebin for large snippets of code, please.
@Dev2rights Sorry. I was in a meeting otherwise i'd have laid the smack down.
 
hahah
 
I can't seem to move anything to the recycle bin.
 
neither me
 
Guess I don't have the privilieges
 
i was trying to do it and i should have been more useful and said please use gist e.t.c.
 
3:17 PM
Whilst you're here... ;]
 
do go on :
 
Have you combined meshes in unity before?
with CombineInstance?
 
i havent but my business partner has
as in for faster rendering and less render passes right ?
 
I couldn't get it working last night
Was wondering if it was perhaps a pro feature
but that would seem odd considering its all done programatically.
 
if i remember rightly if you have static objects i.e. not prefabs then it autmatically puts there polys into a single render pass
 
3:18 PM
I was actually trying to use it to generate terrain in a naive way
I don't have game objects :[
Just another object that creates it's own mesh
 
well its done on the hardware level as i think for static objects the mes data is jsut sent to there rendering pipleine and rendered in one go
ahh so from a script you mean ?
 
yeah, from a script
I want to generate some terrain but I don't know how many verts/tris etc
 
you will need to log that out
 
So I was generating each "tile" and then trying to merge the meshes all into one
I got it working but only for one "tile"
 
are you generating it on the fly at runtime or once before the game rins
 
3:20 PM
I was trying to do it in the editor rather than runtime
 
can you not just generate one large mesh out of the tiles ?
then render that
theoretically that would work
 
created a editor script with a "GENERATE" button that appeared to be working until I started fiddling with things
That would work
 
so take a colection of tiles make 1 super mesh and render that as a whle
 
but I don't know how many verts etc so I don't know how to allocate a Vector3[] with an unknown size
I was using List<Vector3> and then vertices.ToArray() which returns Vector3[]
I don't know C# all that well so it was just a first stab at something whilst I got to grips with it
 
well when you generate can you not make many generated objects all keeping track of there number of verts and then use that generated data to make a larger mesh ?
i know if you generate the mesh on the fly it isnt possible
tbh C# isnt the issue its more how unity handles its rendering which is unique to the things i have learned previously tbh
 
3:23 PM
Well, I had it working for 1 tile so I know i'm on the right track
I guess I need to sack off the idea of merging meshes
Something to try tonight :]
A very brute force approach but it's only for learning purposes
Thanks, @Dev2rights.
 
usually brute force is best
 
Good to know i'm on the right track at least.
 
tbh its best to play around with unity and see what you can get out of it
and you may find what works on one platform isnt so great on another
if your targeting mobile though you are always hitting OpenGLES lower down the chain
 
I'm just learning for now
Have an end game/goal in mind but it will be a long time before I need to worry abut target platforms :P
 
its stilla good idea to know how OpenGLES works better
ive read a lot of bad advice on the unity forums
and a lot of out of date advice
exxentially you want to try and keep your rendering passes down to a minimum
so rendering your terrain with a single light and seeing if what you do increases or decreases the render paths is good
i got some good fps increases on iOS and Android with that aproach
 
3:35 PM
I'm fairly familiar with OpenGL/-ES
I took the approach of ignoring unity/unreal etc and tried to write my own entity component system
got a fair way in before I realised quite how monolithic that task would be
now i'm just revelling in the fact that I know unity does everything I need
I just need to learn the scripting language which really shouldn't take all that long if I put my mind to it
I agree about the bad/outdated advice however
I spent about 20mins last night reading a thread on the unity forums before I realised it was from unity 3.x about 2 years ago
 
user1823693
@CaptainRedmuff sorry
 
3:51 PM
Right. I'm outta here. Thanks for the chinwag, @Dev2rights.
Laters, folks!
 
 
2 hours later…
5:23 PM
hi
hello @Guilherme
 
hi
 
can you help me with some suggestion...
 
maybe
 
wondering what to do...i wrote an app for ios 7 and now 8 released..actually my app is for enterprise program. Is there any way that helps me to make it work on both for ios 7 and ios 8. or i have to write app again on xcode 6 targeting both ios 7 and ios 8.
 
no, you don't need to re-write your app
some adaptations may be required though
just open your project on the new Xcode. the iOS 8 SDK should be automatically selected, but your deployment target should be set to 7.x
 
5:38 PM
k thanks..i heard uuid is no more on ios8.?is that true?
 
you're not supposed to use it since iOS 7
but I don't know if it is permitted for enterprise apps, however. for that scenario they may allow
 
NSString *uuid = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
 
you'd better check on dev center
 
are we not supposed to use that?
 
00:00 - 18:0018:00 - 00:00

« first day (754 days earlier)      last day (1402 days later) »