« first day (505 days earlier)      last day (1798 days later) » 

6:05 PM
hi all
 
hi
 
@Vladimir how do you do?
 
fine thanks :)
 
@Vladimir ok good :)
 
@spokane-dude Is this an iOS question?
 
6:10 PM
@Vladimir is it possible to store audio and video files in coredata? if possible mean how?
 
@abe.iDev, it is probably possible, but large chunks of data should be stored in separate files
 
@Vladimir ohh ok. can u tell the way to store it?
@T-X hi
 
in core data?
 
T-X
hi
 
there's "Binary Data" type for managed object attribute
 
6:15 PM
I just had a chicken chopseuy :)
 
T-X
I am eating 2 laddu.
 
ok do u know the limitation of core data?
 
Bot
should delegates be weak?
 
T-X
yes
 
yes
 
6:19 PM
@abe.iDev for storing large chunks of data? dunno, the fact that storing them in databse is bad idea is enough for me
 
if it is iOS 5 and if your ARC is ON
@Bot
 
Bot
weird... for some reason when I set my sideMenuDelegate to weak, my side menu button stops working
 
@Vladimir ok thanks.
 
Bot
so basically any releation from child to parent should be weak but parent to child should be strong
 
T-X
@Bot Yes, otherwise it will cause retain cycles and hence memory leaks.
 
Bot
6:21 PM
shouldn't cause memory leaks if using arc though right?
i had all my stuff pretty much strong and didn't notice a mem leak in profiler
 
T-X
No, ARC just automates retain, release, autoreleases for us with some optimizations. No memory leaks are not guaranteed.
 
@Bot just ignore memory leaks even if you see them, ARC will take care of them
 
T-X
A retains B and B retains A back. Object will go away when all strong references to it go away. In this case how will A and B get deallocated? Both are strong pointers to each other. They both are simply saying to each other - I will go away when you go away. Thus, nobody goes away resulting in leak.
 
Bot
i like hanging out... i'm fine if they don't go away
we will just have a party
 
watch my answer to this @Bot
2
A: Tracing Allocations Test Results - look good or not so good?

sree charanI believe that you are using ARC, and if you are using ARC, there is no need of bothering about the heaps, it will take care of everything. Here are the 9 simple points from the doc's to be in mind while using ARC ARC imposes some new rules that are not present when using other compiler modes. ...

well, we wont be here for the party, i will be crashing to bed in some time
Dinner time
 
T-X
6:34 PM
I am also going to bed. Good night. See you all tomorrow. Bye.
 
Hello there
I have a litte issue ... I get "this class is not key value coding-compliant for the key <UILabel>". I get that, if I would like to make a class for a special tableview cell class
 
@Mr.T Your IBOutlet connection is wrong
 
I altready checked all the connections in IB
 
Bot
@Mr.T you are trying to set a class variable of UILabel. Check your key / value. Do an NSLog just before you set the value and do one after
 
okay I'll check that a secound
 
6:57 PM
hi all
 
no, the problem appears
well, I will describe what I've did:
 
ok
 
I've added a new File witch is a subclass of tableviewcell
 
good.. what is the purpose of that
 
than I've created an xib file for that class also
and in that xib file I deleted the view and put in an uitableviewcell
and in that some labels
for testing I reduced it to one label
 
7:01 PM
@RehatKathuria hi
 
than I would like to set the data of the tableview in the class with the tableview in it.... "cell.tableCellTitle = [NSString stringWithFormat:@"Project Title"];" and then I get "this class is not key value coding-compliant for the key tableCellTitle."
 
how much memory space allocated for one app?
 
@abe.iDev you mean me?
 
yep
 
I use ARC mode...
 
7:07 PM
@abe.iDev Hello, bud.
 
7:19 PM
Okay.... :D I will do it on the old way without ARC :))
I thought it would be better :))
 
7:30 PM
@RehatKathuria yes
 
7:44 PM
I've got an Objective-C (ARC) codegen question that's not really worth filing a bug or an SO question about, so I came here...
NSString *__strong *arr;
void release_array() {
for (int i=0; i < 20; ++i)
arr[i] = nil;
free(arr);
}
The important part of the inner loop looks like this, with clang -O3:
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movq (%rax,%rbx,8), %rdi
movq $0, (%rax,%rbx,8)
callq _objc_release
incq %rbx
cmpl $20, %ebx
jne LBB0_1
Why does clang feel the need to reload (%r14), i.e., the value of "arr", every time through the loop? Is there actually the possibility that arr[i] could alias arr?
I would expect the type system to take care of that.
 
8:05 PM
good night to all..........
 
9:03 PM
Yo!
Anyone around?
 
Bot
sup
 
Hi everyone, I am getting following error: No visible @interface for 'NSURL' declares the selector 'stringByAppendingPathComponent:' Following is the statement: NSString *storePath = [[self applicationDocumentsDirectory]
stringByAppendingPathComponent: @"FailedBanksCD.sqlite"];
 
9:26 PM
@SidP that means that your applicationDocumentsDirectory method returns NSURL, and you expect NSString
 
@Vladimir hi I have tried NSURL *storePath but it doesn't help.
 
@SidP, yes because problem is not in your storePath variable. Problem in applicationDocumentsDirectory method
you expect it to return string and it returns nsurl
 
ok so what should I modify here in my code?
 
@SidP, you can use URLByAppendingPathComponent instead of stringByAppendingPathComponent - then you should make your storePath NSURL type and later adjust your code accordingly.
Or you can convert NSURL to string using path method: [[[self applicationDocumentsDirectory] path]
stringByAppendingPathComponent: @"FailedBanksCD.sqlite"];
Or you can change applicationDocumentsDirectory method to return string
there's plenty of options
 
@Vladimir thank you very much. will have to research on ur options now as m new to objC 1 week :P
 
9:37 PM
np :) you're welcome
 

« first day (505 days earlier)      last day (1798 days later) »