« first day (1423 days earlier)      last day (1517 days later) » 

3:56 AM
gud mrng all
 
4:21 AM
Good morning...
 
hello @BhavinRamani
good morning
shall we start
 
@Ranjit yes
 
ok I will send you the project
@BhavinRamani
just run the project and scroll
it will crash
 
@Ranjit ok I will tell you after I got something
 
ok thanks
just ping me
 
4:36 AM
ok
@Ranjit It's done
 
oh great
what was the issue ?
 
just add this

override func shouldInvalidateLayoutForBoundsChange(newBounds: CGRect) -> Bool {
return true
}

in FlowLayout.swift
 
hey that will have performance issues
did you scroll and check?
 
it will be very slow
 
4:47 AM
have you tried?
 
not tried, but invalidating layout, will be slow right. but anyways, let me try it once again
 
@Ranjit remove your print from FlowLayout.swift class
 
ok doing
 
@BhavinRamani
 
@pooja_1205 yes
 
4:52 AM
i hv to send post data on server in json object
my format i snot coming right
 
@pooja_1205 please explain more
@Ranjit have you checked?
 
@BhavinRamani
 
2 mins, xcode got hanged
 
i hv to post json array in parameters to a post request
 
@BhavinRamani, thanks
i just checked its not slow
thanks a lot
 
4:59 AM
@Ranjit I have posted answer in your question
 
i will accept the answer
 
@pooja_1205 which error occurs?
 
@BhavinRamani, I want to add this collectionView to scrollView, is that possible?
 
no error format is not comming correct so not getting response @BhavinRamani
 
@Ranjit I think put tableview or collectionview in scrollview is not good idea
it will create scroll issue
 
5:02 AM
then how to go about it
can we disable scrolling of collectionView
my requirement is that, I have scrollView with some subView
s
 
@pooja_1205 have you check in postman?
 
now this tag collectionView should go as part of the scrollView
 
@Ranjit yes can try atlest at once
 
ok let me try and get back to you
 
5:28 AM
@pooja_1205 ?
 
not done @BhavinRamani
not getting response
 
/bot
 
@pooja_1205 can you give me your url and parameter?
 
@BhavinRamani what is postman , can send me link ?
 
Hi
can any one suggest , the best
method for
ios Live blur ?
without using UIvisualEffects ?
 
@BhavinRamani pastebin.com/vsUBqeUV
PLZ CHECK THIS
 
@pooja_1205 give me url
 
5:58 AM
@BhavinRamani
 
check it
@BhavinRamani
 
@pooja_1205
 
i hvnt seen that @BhavinRamani
 
6:13 AM
posted on July 02, 2016 by Johann

SectionScrubber is an open source UI component from Bakken & Baek providing a custom collection view scrubber with a label that indicates the name of the currently displayed section in a collection view. When you pan over the scrubber you can quickly scrub between different sections, and customize the title shown within the scrubber. The […]

 
yes @BhavinRamani
this is wat i m getting
 
@pooja_1205 Then you have to ask your api developer to that why this message is returning to me.
 
they r saying that i m not giving json parameter in right format
@BhavinRamani
now u can delete that
 
6:29 AM
@pooja_1205 Delete option is not displaying :(
 
6:42 AM
hi everyone .
 
hi bhavin
i have a query
would u help me out
 
i have to use two AFNetworking versions in one project
to this question
but i did'nt understand what i have to do
 
6:56 AM
@BhavinRamani, I cant get it working
what you suggest?
 
@Ranjit added scrollview?
 
yes
collectionview scrolls
but content of second section is only half visible
 
2 hours ago, by Bhavin Ramani
it will create scroll issue
 
ok @BhavinRamani, so what you suggest?
 
what do you want to do with that view?
 
7:07 AM
see on top of collectionview, I want to show some data
and as user scrolls, the top data should also be scrolled
i wan to show info like address , phone number and image
 
follow a few tag......
this one?
 
ok you can consider that
so what if, follow a few tag, should be scrolled
how can that be achieved
@BhavinRamani, did you get the problem?
 
ok
@BhavinRamani, do you think its possible?
 
7:25 AM
@Ranjit do you want label that in every section?
 
which label?
 
follow a few tag......
 
nope
 
only on first section?
 
yes
 
7:26 AM
@BhavinRamani hi
 
oh you are suggesting to add the label to the section header?
 
need one help related collectionview
 
but then how can you limit it to only first section
 
I want to update cell size of collectionview without reload the collectionview. How to do?
@BhavinRamani
 
7:27 AM
if you hide it for second section, then how to mange the height part @BhavinRamani
 
- (void)viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
[yourCollectionView.collectionViewLayout invalidateLayout];
}
 
@BhavinRamani when this method will be called.Can you explain me?
 
When do you want to change size of item?
 
and how it will work
 
44
A: Resize UICollectionView cells after their data has been set

Ignatius TremorI think your are looking for the invalidateLayout method you can call on the .collectionViewLayout property of your UICollectionView. This method regenerates your layout, which in your case means also calling -collectionView: layout: sizeForItemAtIndexPath:, which is the right place to reflect yo...

 
7:32 AM
I check this but did not get this so I ask here
 
reloadItemsAtIndexPaths
 
'without reload I want this
like in table we can do by writing following two lines
tableView.beginUpdates()
tableView.endUpdates()
@BhavinRamani any idea?
 
check after calling layoutSubviews
 
0
Q: Resize the cell of `UICollectionView` without the `reload` methods

Payal ManiyarHow can I resize the cell size of UICollectionView without reload methods? Just want to call following method on some event. I do not want to reload UICollectionView or any of its section or row. func collectionView(collectionView: UICollectionView, layout collectionViewLa...

@BhavinRamani okay checking...
 
8:45 AM
@BhavinRamani
 
9:10 AM
yes @pooja_1205
 
9:29 AM
my table cells values are changing on scrolling
how can i avoid its reuse
 
9:50 AM
@pooja_1205 code pls
 
@BhavinRamani
 
yes @Ranjit
 
how can we only add the view, only to first section?
see I will create the header section in xib
but it should be shown only for 1 section and hidden for others
 
@BhavinRamani
 
@Ranjit You can use multiple supplementary view for different section
 
10:03 AM
ok got it sir
thanks
 
are you using xib?
@pooja_1205
 
storyboard
@BhavinRamani
 
10:19 AM
@all
can anybody know how to display a particular section in uitableview to top in iOS.scroll toindexpath is not helping
 
10:42 AM
Hi guys
i am getting stuck in tableview
actually i have taken a table view in that created a customcell. In that custom cell i take one view and another Tableview
 
@BhavinRamani
 
but i am parsing all data at the time of loading but how can capture the data in the nested tableview
if anyone have idea plz help me out
 
@pooja_1205 I want to say you have created custom cell in xib or in tableview(storyboard)
 
xib for cell
@BhavinRamani
 
@BhavinRamani can you help me?
 
10:51 AM
@PradipKumar pls wait
 
okey
 
@pooja_1205 have you register Nib in viewDidLoad ?
?
 
no
@BhavinRamani
 
- (void)viewDidLoad
{
[super viewDidLoad];
UINib *nib = [UINib nibWithNibName:@"ItemCell" bundle:nil];
[[self tableView] registerNib:nib forCellReuseIdentifier:@"ItemCell"];
}
 
in cell for row
i hv used this
@BhavinRamani
    cell = (TripInfoListCell *)[[[[NSBundle mainBundle] loadNibNamed:@"TripInfoListCell" owner:self options:nil] firstObject] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:nil];
 
11:04 AM
TripInfoListCell *cell=[tbl_view dequeueReusableCellWithIdentifier:IdentifierCell1 forIndexPath:indexPath];
if (cell == nil) {
cell = [tbl_view dequeueReusableCellWithIdentifier:IdentifierCell1];
}
 
@PradipKumar why are you taking another tableview(second) in tableview(first) cell
 
Actually i have to populate data like that@BhavinRamani
 
:) Ok
 
wait i am sharing you the screen@BhavinRamani
 
11:11 AM
any errors?
 
no errors actually
As you can see my all data is coming into the cell@BhavinRamani
 
but after clicking the cell it will expand and then another data will show like this
i am sharing the second one
this is a table view in which sections and cell are there under it
 
so, what is the problem?
 
this way i want the screen
but my data is not coming
 
11:17 AM
ok are you using any third party framework?
 
yes swifty json
i can able to parse the data
 
for tableview?
 
problem is how can i populate the data into the second table
 
I have done expanding tableview with ratreeview\
 
because all data is coming in firsttableview
pastie.org/10897218 please refer it for the codes i have done@BhavinRamani
my json data is in three levels of array of dictionaries@BhavinRamani
main category, subcategory, and items. right now the main category is populating here as i already show u in the first screen@BhavinRamani
my subcategory data should populate in the section of another another tableview that i took under it. but how to receive the data from first tableview@BhavinRamani
if you have refered that code you can see there i have created customcell MenuTableviewcell like this....let cell = tableView.dequeueReusableCellWithIdentifier("Menucell", forIndexPath: indexPath)as! MENUTableViewCell@BhavinRamani
are you there@BhavinRamani
 
11:30 AM
@PradipKumar first:- have you displayed the main list?
pizzas,garli,wrap....
 
yeah
 
are those section ?
 
no no those are cells
i have put the section there as 1
 
ok..can you expand the cell when you click on pizza
 
yes it expand upto some constant value
 
11:33 AM
ok.
can you post your dictionary which you are gettting?
 
i am getting the dictionaries and send into to class model
just a second
 
@BhavinRamani
 
yes @pooja_1205
 
i hv a date and time getting from server
and the gmt timezone
in according to that time zone
i hv to get the current date n tym
@BhavinRamani
 
example of that format @pooja_1205
 
11:38 AM
data is large . its more than 64 kb so its not posting on pastie.org@BhavinRamani
 
gmt is +05:30
 
@PradipKumar just give me some portion
 
pastie.org/10897231 @BhavinRamani
now my second screen is this one @BhavinRamani where i need to get the data
i am sending you the menutableview cell code whre i have added the second tableview@BhavinRamani
 
@PradipKumar Have you demo of this?
 
date is like 2016-07-06 05:10:00
 
11:43 AM
pastie.org/10897225 menutableviewcell .. this is @BhavinRamani
 
gmt is +05:30
@BhavinRamani
 
demo like what@BhavinRamani
 
@PradipKumar working demo
 
u mean project@BhavinRamani
 
yes
just for this screen
 
11:46 AM
no actually only for this screen i dont have @BhavinRamani
but if need project i will send@BhavinRamani
 
@PradipKumar give
I will tell you when I done
 
send email please@BhavinRamani
 
@pooja_1205 send How are you getting time and how do you want.
 
email please @BhavinRamani
 
bhavin.ramani050@gmail.com
 
11:53 AM
pastebin.com/qzFd8A2N @BhavinRamani
 
i am sending . please try it and if possible tell me till monday@BhavinRamani
 
@PradipKumar ok
 
12:10 PM
@PradipKumar have not get your mail
 
now i sent@BhavinRamani network slow
 
got it
 
sent successful@BhavinRamani
 
@pooja_1205 there?
 
yes
 
12:15 PM
I got this localTime:*7/2/16 at 10:48PM* from 2016-07-02 17:18:56
@PradipKumar how much size of that project?
 
@BhavinRamani
i hv two dates
and
2016-07-02 17:47:26
2016-07-02 12:18:13 +0000
i hv gmt +05:30
how to change the dates acc to thi sgmt
 
12:52 PM
hi everyone pretty simple question id assume, i set a NSString called Varaible1 as self.groupLabel.text.lowercaseString but when i put it into the log to see the outcome i get 2016-07-02 13:51:06.916 Octane Hub[1118:270261] self.groupLabel.text.lowercaseString not the actual value of the label? any ideas?
 
@BhavinRamani, my header View height is not changing according to the data
 
1:23 PM
hello @LeeSugden
@hacker
 
 
5 hours later…
6:50 PM
hello @k06a
can you help me with this
0
Q: Issue with placing cells in custom flow layout of UICollectionViews

RanjitI am trying to create a tag flow layout. To do this I followed a very nice tutorial https://codentrick.com/create-a-tag-flow-layout-with-uicollectionview/ I managed to create and customize the flow layout, but the cells are not aligned properly some times. Here is the screenshot from iphone 4S. ...

 

« first day (1423 days earlier)      last day (1517 days later) »