« first day (442 days earlier)      last day (2498 days later) » 
04:00 - 12:0012:00 - 22:00

12:01 PM
@sac You're going wrong by only setting the values of one dictionary rather than creating a new one every time you want to add something to the array.
 
hey guys.
can u help me ? i have one problem
i searched a lot on google but have not got any solution or logic to that.
 
@Abizern When the model was created we dint really feel the need for a reverse relationship and this was done almost a year ago and back then it worked fine on iOS6. We also make use of NSFileProtectionComplete to create the DB
@Sandy Whats ur problem?
 
@satish There is no reason not to have an inverse for all relationships. How else is CD supposed to know how objects are related to each other. CD is not a database. It's an object graph. You need to have relationships for a complete graph.
 
sac
@Abizern: so what do you propose i go for then ?
 
@abi
 
12:05 PM
@sac As I said; create a new dictionary each time you want to add something to the array.
 
sac
@Abizern: you mean to say i add this line inside the for loop : dict=[[NSMutableDictionary alloc]init];
 
Yes.
 
@Abizern So you reckon not having a inverse relationship is the reason why the DB does not get saved? But the behaviour is not consistent, most of the times it does get saved, this happens mostly the first time
 
sac
i tried this but same result as before
 
@satish I don't know. You say your code is vast - that's a smell. Not having inverse relationships in the data model is another smell. Fix the things that are obvious and then see what happens. But without knowing the specifics of your code I'm just guessing; and that's not an effective way of debugging.
 
12:09 PM
@satish actually i have two rectangle both can be move , rotate and outer one rectangle can be resize and inside one can be scale using pinch.Now what i have to do is when inside rectangle move towards the edge of outer rectangle it should get notify if edge match rectangle (less that 5 px from outer rect edge ) i should get notify.
 
@Abizern thanks.
 
sac
@Abizern: what do you now propose then .its still giving the last entry in console when i NSLog the dictionary at the end
 
@sac What does your new code look like?
 
 
Ok sure
 
sac
12:11 PM
sory by mistake ssend you the wrong url
 
@Sandy Through pinch you want to get move the yellow image?
 
@satish , for horizontal and vertical postion i solved that prob.But when outer rect is roted then i cound not solved it
@satish through Pan gest i am moving it
 
Ok
 
using pinch scaling yellow one
outer one rect is crop rect for crop image.
@satish, should i tell my logic?
 
@Sandy outer image frame is constant right?
 
12:14 PM
no, that can be resize
outer one
while moving the yellow rect if the yellow edge reaches just before 5px before outer rect from any on edge it should snap to fit from that edge to outer rect edge .
@satish did u get that?
 
@sac Your code is very hard to read. For future reference, it's okay in Objective-C to use long, descriptive names. Have you tried stepping through it in a debugger to see what is happening?
 
@Sandy yes
 
@Sandy Have you tried putting an observer on the frame property of the yellow rectangle?
 
no
i did not get
 
@Abizern interesting.. you talk about a UICollectionView with only one column?
 
12:20 PM
u
can u explain?
 
@GabrieleDelmonte Yes.
@GabrieleDelmonte You define your own layout to have rows and columns as you wish. There is no reason you have to have more than one column.
@Sandy do you know what KVO is?
 
yes
 
sac
@Abizern: ok i got it. i would improve on that . and yes i have looked in the debugger only- in console i have debugged and checked but no sucess. n what do you mean by descriptiveand long . should i use short ones or long?
 
Then put a KVO observer on the frame property of the yellow rectangle, it will tell you when the frame changes, and you can do what you want within that.
 
@Abizern Ok.. i'll try. It's possible to fit content size of a uicollectionview cell or i have to calculate the content height in case of dynamic text?
 
12:22 PM
@Sandy have answered lets try that once
 
@sac Not NSLog debugging. Breakpoints and stepping through.
 
and check these links
2
Q: How to find out what view a touch event ended at?

DecoI wish to drag a UIImage on to one of several UIButtons and have it repositioned based on which button I drag it to. The problem I've ran in to is that UITouch only records the view where my touch began, I'd like to access the view my touch ends at. How can I do this? Code: -(void) touchesBega...

 
sac
hmm . i am chekng it only will let you know .... and please tell me should i use short names or long .@Abizern
 
thanks I wil try
 
12:50 PM
@GabrieleDelmonte The cells should be able to tell you their size.
@sac Long names. q_id and q_id2 will mean nothing to you in a couple of month's time when you go back to your code.
They mean nothing to me now.
 
@developersaremad welcome
hello Room
 
hi guys
can you please help me
 
@developersaremad I am developer and I am wise :)
shoot
 
0
Q: Resize content of UIImage

developersaremadPlease check the attached images in order to understand the issue in brief. Please note the size of the X character and the circle character . The images for both the characters are equal in size , but due to the shape of the second character it appears a bit smaller. I know i can use another im...

oh really
 
@developersaremad I am developer and I am wise :)
 
12:57 PM
ok
 
@all Anybody can help me store data in coredata, I am successfully saving in ios 6 but not in ios 7
sny small change I need to change, The code is commonly used one thats y I have not mentioned here my code
 
@satish
8
Q: Core Data and iOS 7: Different behavior of persistent store

FrankZpI'm preparing an update for a Core Data based app for fixes with iOS 7. I use Xcode 5 and iOS 7 SDK GM. However I realized a different behavior of the persistent store (which is a UIManagedDocument): Prior to iOS 7 builds there was only one file persistentStore in the documents folder (sometimes ...

 
@Mayur Thanks For Your support, I have seen this I have tried in this way but no change
 
@satish ok what problem you are facing ?
 
@Mayur Actually I am getting data using webservices and storing it in core data
 
1:03 PM
ok
 
but second time login and try to see that data its not there
 
@satish Without code, I'm not going to guess.
 
Bye all @Abizern Bye
 
@DivineDesert Bye. Enjoy your weekend.
 
Thanks !
 
1:06 PM
bye
 
pastebin.com/veUk78qH like this I m taking backup
 
@DivineDesert B.bye
@Mayur afte long time.. dude..
 
@AppleMap you changed name ?
 
@Mayur what is my name ?
@Mayur u know my past name ??
 
no
 
1:14 PM
@Mayur to fir esa kyu kaha bhai ??
 
0
Q: Resize content of UIImage

developersaremadPlease check the attached images in order to understand the issue in brief. Please note the size of the X character and the circle character . The images for both the characters are equal in size , but due to the shape of the second character it appears a bit smaller. I know i can use another im...

 
becoz muje confusion hua
 
okok.. no worries
kaha the tum ... after long time... u come in this rooom ..
 
Okk
haan
actually muje Stack walo ne nikal bahar kiya tha :)
 
opppsss.... bt y ?
 
1:16 PM
vo jaise bhagwan ram ne 14 saal ka vanvas gaye the vaise :)
 
hahahahahahahaa
 
reason bhale koi bhi ho mere liye to vanvas hi tha
;)
 
hmm....... kitne time ka tha ??
 
3 month
 
@satish That has got nothing to do with Core Data saving?
 
1:19 PM
Core data saving is common way Jus I am taking a backp there
 
@AppleMap its called positive attitude dude ;)
 
[context save:&error]
like this only
 
@Leena @Lucy hi
 
@Mayur nice.. good i like it
 
hello
 
1:20 PM
@Leena hiii
@Leena busy ?
 
@satish Does this return YES?
 
mat pucho
:)
 
@Abizern Any how Thank You man For taking this much responcibility for my question, actually Problem is with me, I m not able to express clearly
Yes
 
And how are you seeing if the data has been saved?
 
I am printing in nslogs
 
1:21 PM
@Mayur oky..:)
 
@satish What are you printing in NSLogs?
 
2:00 PM
why app store apple id not editable ?
 
@MoorthyTheBoss It's the current ID you are using. Why do you want to change it?
 
2:16 PM
@Abizern its our old account
we want to install software in new account which is with credit card
details
we added that new account every where
but no changes happen this text field
i tried this one also
but no change
 
Go to supportprofile.apple.com. Sign in with the old account details and unregister the device. You will then be able to register it again with the new Apple Id
But be aware, that all the App store software you bought using the old account will probably not run under the new account.
 
@Abizern ok thank you...
 
2:33 PM
@Abizern i have large no of data in database Now when i try to load it into table it takes 10-12 seconds of time.
can you suggest me some thing which could help me to reduce the load time
 
@Mayur Core Data?
 
@Abizern no SQLite database
 
You're on your own, then.
Thats' why I use Core Data and NSFetchedResultsController. They are designed to work efficiently together with tableviews.
 
@Abizern so you mean core data will load data faster than SQLite ?
 
Yes it does, because of faulting and relationships it loads only what it needs when it needs it.
CD isn't a database, it's an object graph.
You are probably doing a query to get all the data you need for your tableview at once, but CD does lots of little and specific queries.
 
2:41 PM
@Abizern thanks for these valuable information
 
It's fairly common knowledge. Why do you think so many people use Core Data instead of direct SQLite? Nobody I know in real life uses SQLite directly for iOS or OS X. And I know quite a few developers in real life.
 
@Abizern ok
 
NP. Why do you think I bang on so much about Core Data? It's frakking awesome!
 
hmm
 
 
2 hours later…
4:25 PM
@DivineDesert
 
5:00 PM
@DivineDesert
 
 
1 hour later…
6:16 PM
@SumitSharma @IronManGill hie
 
@DivineDesert hi maam
:)
 
@DivineDesert hie
 
hello how are you @IronManGill @SumitSharma ?
 
me gud.... and U?
 
@DivineDesert im fine mine nice to talk to u .... hw r u ?
 
6:35 PM
I am good @SumitSharma @IronManGill
no not diwali
 
okie
vry slow in replying....
r u busy?
 
just relaxing
 
u shud sleep anyways :P
 
great!
i thought you are going to release a super app this diwali - speacially for iOS&
 
hehe
no
 
6:43 PM
okay!
 
@DivineDesert how can i upload a project to the svn repository in xcode 5 ?
]
 
7:20 PM
xcode 5 I never used @IronManGill
 
 
2 hours later…
9:38 PM
_________________________________________________________________________
 
04:00 - 12:0012:00 - 22:00

« first day (442 days earlier)      last day (2498 days later) »