« first day (1422 days earlier)      last day (1518 days later) » 
02:00 - 12:0012:00 - 15:00

12:00 PM
do like this
you can get your rootVc
by
let mainController: ViewController = (self.window!.rootViewController as! ViewController)
ViewController its your vc's name
 
Ahah!
Thank you
 
It works. Thanks!
 
yeh
:D
 
@NitinGohel streachy header in scrollview .... any idea ? tableview ma lots of made chhe but scrollview na header ma set thay evu nai madtu..
 
12:19 PM
let tapGesture = UITapGestureRecognizer.init(target: self, action: "hideKeyboard")
        self.view.addGestureRecognizer(tapGesture)
let tap: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: "hideKeyboard")
someone tell me what is diffrence between these two lines ?
first with init and second without init
 
12:36 PM
@BhavinRamani
 
@Ranjit yes
 
I have a issue with yesterdays project
 
@Ranjit what
 
In the same project I tried adding two sections
for collectionView
it works, but when I scroll, it crashes
and the error is this
layout attributes for supplementary item at index path (<NSIndexPath: 0x17e87e70> 0 0; 314 50); zIndex = 10; without invalidating the layout'
shall I send you the project, just run it and scroll, it will crash
 
@Ranjit I will ping you tomorrow, now I am leaving.
 
12:42 PM
oh kay
@PayalManiyar, you there
can you help me out
 
yes
@Ranjit I have work
 
can i have your 10 mins @PayalManiyar
 
@Ranjit tell
 
In yesterdays project I created sections
 
@Ranjit goof
 
12:50 PM
I am taking about section header for collectionView
so whenever I scroll the View, I get error
 
@Ranjit which error?
 
layout attributes for supplementary item at index path (<NSIndexPath: 0x17e87e70> 0 0; 314 50); zIndex = 10; without invalidating the layout'
i tried invalidating the layout, but then while scrolling it has serious performance issues
this is happening because we have a custom flow layout, I guess
 
@Ranjit no idea. And right now I have no time
 
oh okay np
anybody here Can help me out
with this
??
 
1:25 PM
@NitinGohel i have one problem
have to make screen same like whatsapp of android contact info screen. Any idea @NitinGohel
 
1:58 PM
@Luke
0
Q: UICollectionView custom flow layout crashes on scrolling

RanjitI am creating a custom flowLayout with section headers. here is my flowLayout.swift import UIKit class FlowLayout: UICollectionViewFlowLayout { override func layoutAttributesForElementsInRect(rect: CGRect) -> [UICollectionViewLayoutAttributes]? { // let attributesForElementsInRect ...

@k06a
could you look at it
@JohnnyQ
ninja can you solve my problem
 
02:00 - 12:0012:00 - 15:00

« first day (1422 days earlier)      last day (1518 days later) »