« first day (1130 days earlier)      last day (1026 days later) » 

LGL
12:12 AM
This is What I receive
reason: '*** -[__NSArrayM objectAtIndex:]: index 3 beyond bounds [0 .. 2]'
I did search non of them works for me
 
@LGL
Any chance you can help with me something quick?
 
LGL
Whats up
 
Awesome
This delegation again
just messaged you over skype
Got it?
 
LGL
yeah i don't check skype a lot
wait
 
LGL
12:20 AM
Ugh I need to buy a RAM this iMac is becoming Slow
 
Lol same here
I got 8 but sometimes its not enough haha
 
LGL
I got 4
and Im developing Social App on it lol
And play music 24/7
and never shut it down
 
iMac pretty amazing
 
LGL
Yep
 
Macs generally very reliable computers
 
LGL
12:22 AM
True True
 
 
2 hours later…
2:09 AM
@LGL
Solved man
lol
 
 
1 hour later…
LGL
3:15 AM
@roimulia nice, Delegate or Notification?
 
3:26 AM
Know anyone who is hiring iOS dev? I ask 1.500 USD per month.
 
 
3 hours later…
6:41 AM
I thought you had a big paying job in Canada, Eddwin?
 
any idea
hi I need a help. In my app I want to zoom the image which is inside the scrollview and draw on the image, but when i'm trying to draw the image get scrolled
 
I don't see a question there.
 
want to draw over the zoomed image which is inside the scrollview
 
so, why not add a subview on top of it?
 
I want to draw on the Image. But when I try to draw the image get scrolled
 
6:55 AM
why does the image scroll?
 
because it is inside the scrollview
 
why not stop scrolling while drawing?
 
thanks michael i'll try
 
I'm always glad to help!
 
:)
 
7:13 AM
well it's just you and me here @borrrden
 
Is Swift written over Objective-C
 
it's usually written underneath Objective-C
 
Will apple stop using Objective-C for its bottom or core layer?
and turn it to swift only?
for ease of programming
and security
 
yes, Apple is very clear about it.
Apple is not a secretive company.
and they make their plans known well in advance.
 
I want to learn Apple app development. I also learn swift but I don't want to continue learning swift. As I am more comfortable with C/C++. I am also building android apps in C++.
 
7:16 AM
maybe you can build iOS apps with C++??
 
Is that possible?
 
92
Q: Is it possible to program iPhone in C++

Dmitri NesterukI'm all for language diversity, but Objective C is insane. So I'm curious: is it possible to code iPhone apps with C++ while using the Cocoa API, etc?

 
I searched on stackoverflow. They say you can learn Obj-C which is very much similar to C/C++
 
6
Q: Pure C++ for iOS apps

siaoooIs it possible to use only C++ to create iOS apps? Is there any downside to that? I read somewhere that you have to use a mix of objective C and C++ if you want to use C++ that bad.

 
@MichaelDautermann if I learn Objective-C now. Currently, I am in college. Are there chances that I'll be jobless in future?
Once everyone switches to swift
 
7:20 AM
if you know any way to program well (C++, Swift, Objective-C, etc.), you will never be jobless for long.
unless you are like me and you make sarcastic comments to your boss too often.
 
Ohh....lol
So, I can continue learning Objective-C. One thing however I don't understand. How on earth will Apple ever change its core Objective-C layer to swift. I mean android kernel is written in C. Java can't replace it. Java is for application layer.

I don't know much but I assume that low layers of IOS/OSX are written using C/C++/Objective-C ?
 
yesss, you are exactly correct.
and maybe in a few years, more parts of the OS (watchOS, tvOS, etc.) will be done in Swift.
but Swift is changing too much lately for the OS people to write the underlying pieces of the OS using Swift.
it's still too new.
 
I see.
 
Morning.
 
7:26 AM
Thanks for the help Michael. I don't like much abstraction which Swift provides. I might wanna work in low-level for few years.
Afternoon
Owatch
 
Feeling uncomfortable this morning.
All my joints ache a bit, still drowsy. :(
Also, I have no tea or anything, so I've just got water to drink. Not that pleasant.
Tastes strongly of plastic
 
maybe buy a new bottle?
 
Could do that.
But does anyone want to drink water when trying to wake themselves up in the morning?
 
0
Q: When is Background Fetch not operating and Keychain in background is nil

DavidSo, in my app, I utilize Background Fetch. I also use the Keychain with this for authenticating sessions and requesting data from my backend. It seems as though Background Fetch is never called when the phone is locked. Is this the case? Further, I was under the impression that when using Keych...

Seems like my Background Fetch works when it fires... but... still not sure about if it fires when phone is locked.
Hey guys, just curious... whenever you're debugging your app and you run it on your device. If you terminate the app, do you get an error? With Background Fetch, I'm getting nil error because it does a Background Fetch
 
7:47 AM
Normally not.
But if I close the App (Not through Xcode), I do get an error.
 
@Owatch yeah, exactly that. That said, I'm pretty sure yours is a SIGTerm catch.
or something like that, which is perfectly normal.
 
I usually try to drink diet coke when I want to keep awake for a while.
it is tremendously unhealthy, tho
 
That does work.
But you come down pretty hard when it wears off too.
At least I get pretty exhausted.
 
8:13 AM
NSBundle is failing to loaddd
whyy
 
how is it failing to load?
 
Dunno. It just says 'not loaded' and the load method returns false.
 
what kind of NSBundle is it?
 
What kind?
 
well... NSBundle can be a few different things.
is it an app?
is it a plugin?
 
8:18 AM
Oh.
It's not an app
It's just a bundle containing some classes and nibs.
 
riiiiiight.
it's not an app.
how are you trying to load the NSBundle?
show me.
 
+ (NSBundle*) load:(NSString*)bundlePath {
		NSBundle *bundle = [NSBundle bundleWithPath:bundlePath];

		if(bundle.isLoaded) [bundle unload];

		[bundle load];

		return bundle;
}
eh
 
did you do a nil check on whether bundle comes back valid?
or is bundle nil?
 
It's not nil
 
try using loadAndReturnError: and let me know what the error is...
 
8:23 AM
Wow.
Just fixed a keychain bug I had in the simplest way.
 
Wow what?
oh... that's awesome!
 
Turns out... I can't just overwrite values for keys while changing the accessibility.
I need to delete the original key and set another one in its place.
Thank you, device log for showing me the way.
Now, I don't know if it is the way iOS intended, but whenever I kill my app by swiping up in the app switcher, it fires off a background fetch. Whatever though
 
8:42 AM
well @mattsven ?
 
@MichaelDautermann oh nice, I'll give that a shot
somehow missed that method
 
oh, now you decide to wake up
 
:P
 
WHAT ARE YOU DOING MATT
 
oo
an application crash
 
8:44 AM
IT'S 4:44 AM
 
..err
 
I'll put you to sleep myself..
 
Multiple async processes in my Background Fetch... and I have to sync my completionHandler...
 
> The bundle couldn’t be loaded because it is damaged or missing necessary resources
@MichaelDautermann
 
well... that seems like a useful hint, doesn't it?
 
8:53 AM
yes...
it appears a framework that the bundle is using isn't available, maybe
 
Why are you up so early anyways
 
who, Matt?
yeah, why are you up so early Matt?
 
Any way to know how many current http requests are going on via my app?
I can build it myself, but... maybe there is a built in.
NSURLSession or something.
 
3
Q: seeing http requests that ios app makes

nuwayI'd like to see the request / responses that an iphone app makes. I mostly work on web apps, and I can use firebug / fiddler to see them. But how can I see incoming/outgoing traffic of an iOS app, if im running it on my wireless?

 
Guys, I have a tableview in my view controller and I have filled the cells dynamically and I have implemented all the methods but the DidSelectRowAtIndexpath doesn't work
any clues ?
where I might be going wrong ?
 
9:03 AM
set your delegate.
 
I have set that too
 
show me how.
 
Make sure you actually can select.
 
I have connected the referencing outlets
both
datasource and delegate
 
can you select rows in your table?
 
9:05 AM
ya when i tap on
it gets tapped slightly
it
i tried setting breakpoint
on didSelectRowatIndex method
but the function is not called
when the cell is tapped !
didSelectRowAtIndexPath method
 
Tomorrow I'll get up at 4:30.
Be awake for class
 
haha lolz
 
In other words, I just learned about dispatch_group_async... and it is epic
er rather, in other news.
 
9:23 AM
any solution to my problem ?
 
I think David is doing a good job helping you figure this out
don't give up!
 
You're so mean Michael.
To be honest Rizwan, nobody is really actively working on your problem. Apparently you set up everything correctly and it doesn't work. Since UITableView's aren't awfully complicated, I don't know what else to recommend looking at. It's likely something implemented wrong, or you're using UITableView's in some unconventional way.
 
Make sure 100% the dataSource and delegate are hooked up to the tableView
It can be annoying, but you have to be 100% sure
@RizwanAhmed
In other words, I just used the dispatch_group_... stuff I learned about and it is beautiful. 100% beautiful
 
I finally figured it out
 
9:35 AM
Idk why I keep saying In other words instead of In other news.
lol
 
it was due to the TapGesture recognizer
    tap.cancelsTouchesInView = false
adding this code works
 
I see
You have a tap gesture in your cells?
Honestly, still quite shocked by how awesome dispatch_group_... methods are.
Its like I just opened a whole new world
 
wat
> dyld: Library not loaded: @rpath/Pods_PKA.framework/Pods_PKA
Referenced from: /var/mobile/Containers/Bundle/Application/51D1D077-29C1-4921-B0C3-2B1B740E72B1/PKA.app/PKA
Reason: image not found
(lldb)
lol
> _BSMachError: (os/kern) invalid capability
 
10:37 AM
0
Q: joins in coredata using Objective C

ManjuHow to make inner joins,outer joins(left,right,full) in core-data. I have done it easily in sqlite db using sqlite c based APIs But I couldn't find any resources on how to do it using core-data in Objective C. Basically I have a need to query CoreData that involves relation between more than thr...

 
10:58 AM
@mattsven what about this?
Colors are there just as placeholders, but the button functionality has been moved
Maybe offload one to the cell? IDK
 
11:12 AM
lmao, looks awful. But I want it to be functional first.
 
 
1 hour later…
12:19 PM
@MichaelDautermann Lol well apparently it was just you :-S
 
 
3 hours later…
3:05 PM
Hello guys
 
3:57 PM
Is anyone have experiance with nested async call?
I yes could you take a look at my question?
0
Q: Get notification from nested async call with dispatch_group_async

DudiSo I have situation when I've want do some async stuff, post status on Facebook and get notified when it's done posting. I was hoping that dispatch_group_async will do the job but now I hit the wall. Here is how at this moment logic look like. Func func saveAndPost() { //1. save disp...

 
4:20 PM
I'm thinking about locking some how queue when I'm waiting from request...
 
LGL
4:32 PM
Wow, I create a really nice UI. can't wait to release this app.
 
Mhm.
Any screenies for me?
Still nothing on the website LGL
Just a sign up.
 
@LGL what kind of app?
 
It is a confusing app.
I think I'd have to use it to really see what it does.
The website for it is thehappens.com
 
site looks nice:)
 
4:53 PM
so nobody didn't do similar stuff with async calls?
 
LGL
@Owatch I not going to update anything on the site yet, but once the app is release I will update the site, I'm working on the site also it will look so much better
@Dudi is anonymous social app. And thanks
 
@LGL now I'm signed so can't for your UI :)
 
LGL
Type "Yik Yak" in App Store, but it's on steroid version and better UI and some unique feature. Thanks
Gosh I have to create the API's afterword.
 
It's showing me "whisper", is that correct ?
 
LGL
Yik Yak - Your Local Feed by Yik Yak, LLC
https://appsto.re/us/_bHKR.i
 
5:03 PM
Not avalible for poland :(
 
LGL
Yeah that's what I thought Google it
 
When will theHappens be available?
 
LGL
Instagram made $3.14M in september
@Owatch Very soon, aiming for the next month
 
Will theHappens allow me to share my toenail collections?
 
LGL
It actually can ;)
But remember is controlled by People, so if they don't like your post, your post get deleted
 
5:10 PM
Right, and if I don't like their deletion, I can undelete it.
 
LGL
nope, there is majority voting system that control it.
Is all up to people, your community
 
But some votes are more equal than other votes, right?
 
LGL
Yes
But if you get up vote your post value goes up
This is just small part of it I share. Just be patient @Owatch lol
You have 24 hours to up vote your post from your community, if not it get removed.
But there is a cache, it doesn't mean if you get all down vote your post is removed.
 
Ello :)
 
Huh.
Now, about these less equal votes.
If I don't like them, can I segregate them into a part of your app, say, for less equal votes in general?
 
5:16 PM
@Dudi I just learned about dispatch_group_... yesterday but got it working for what I need
 
LGL
@Owatch nope you don't have any control over the votes, only 1 vote and your vote.
 
@Dudi I answered your question
 
Huh, no systematic way to control these 'lesser votes'. :<
Would you go as far to say that these less-equal votes are responsible for our economic hardships lately?
 
IQKeyboardManager is fantastic... but I have a bug now T_T
 
LGL
@Owatch Maybe, but the voting system will not be complete. there is so much to it.
I think I have to see user respond in App. This is why i might hold on deleting post after so many negative votes.
Where everyone buy RAM for iMAC?
 
5:29 PM
Don't forget to buy yourself a soldering iron along with the ram.
 
LGL
lol why?
 
@David I've read your answer and that got me thinking about passing dispatch group and using enter and leave instead of blocks. I have one idea and I'll give it a try when I'll be back in home. Thanks :)
 
@Dudi Well, you'd still be doing your async calls but whenever the calls trigger their callback, you can leave and use notify. It works wonderfully. I learned about it yesterday.
I use it for my Background Fetch where I make multiple data requests from my backend
and I need to know when to trigger the completionHandler
 
5:44 PM
I think call enter before this whole request for Facebook account. Then call leave when it fail or another request will finish. This should work as I want.
 
@Dudi yep, put enter before the whole block of async calls, and then handle accordingly inside.
 
I have better idea, I'll add completion handler. Then this whole code should looks better
 
:). Just don't overthink it. dispatch_group_... can handle whatever you need in your case. Don't need to think about other cases
using KVO, etc.
 
Yea i use KVO once for this kind of job with bool flags. I do not recommend that approach :)
It's shame that in my office there is no others iOS/swift developers
 
LGL
6:30 PM
 
I want an iMac.
Went to look at some today.
Expensive AF.
Plus, the 21` is kind of underwhelming.
1080p screen, poor specs...
 
LGL
Im looking at them now
I could Buy the iMac Now, But I want that PRO
Only sheet $5,868.16
 
Yeah..
Btw
Ever owned a Mac mini?
 
LGL
6:46 PM
Yeah Long time ago
 
Only thing I could kind if afford
Are they good ?
What, a duel core for $500...
Fuck that
My phone has more cores
 
LGL
lol yeah don't waste your money on Mac Mini, Wait until you can effort iMac. or MacBook Pro
 
I have a MacBook Pro now, just small being a 13'. Also a 2013 refurb.
Love it, just wanted something bigger to look at, small screens are straining
 
LGL
Well You should be good
True, iMac are good
Mac Pro are beast
 
Yeah
Maybe an external monitor
 
LGL
6:54 PM
I had all of them except Mac Pro
 
Would be better
 
LGL
I just want something with no freezing, something super fast that can handle Premier Pro, Adobe After Effect and these type of Applications.
Since when?
 
I want something large that is easier on the eyes to look at, performs nicely and won't wear out my other stuff
:>
 
LGL
I understand, better spotting stuff right? yeah just get Adapter and screen Until you can effort iMac or PRO
When a few average iPhone user (Not Developer or Designer) says "I love the App Design". Then you know you have a good UI.
 
 
1 hour later…
LGL
8:22 PM
Who made this youtube.com/…
lol
 

« first day (1130 days earlier)      last day (1026 days later) »