last day (15 days later) » 

05:01
hiiii
@karthikeyan
@karthikeyan need one help from u bro
i have to show pop from bottom with 150 height, inside that pop up there will be image and a button ... pop up will open only when i click specific tab bar index 1
@karthikeyan
how will i do that
also i want not to open a view controller on tab bar click it should only show pop up from bottom and when pop shows tab bar should be hidden and when i click on button inside button that pop will be closed and tab bar will show
Your viewcontrollers are tabbed with tabbar ah
05:13
i have a tab bar controller with 4 tab bar items
u want to show pop but viewcontrollr should not present right
@karthikeyan yes
all will show viewcontroller when click on tab bar but tab bar index 2 will only show pop up
You cannot stop view controller present, but u can hide entire viewcontroller
by appending ur pop up to application window
Is that ok
we can stop presenting viewcontroller on tab bar click
do you have sample project?
05:17
yes
Then fine create custom pop up view, add to application window
can pls share it, with design image
func tabBarController(_ tabBarController: UITabBarController, shouldSelect viewController: UIViewController) -> Bool {

if(viewController is SecondVC){


return false
}
return true
}
You can get click event right
if(viewController is SecondVC){


return false
}

this code will not show particular view controller
so when shouldSelect method will call i have to show custom pop up
Okay..here u show your pop up
05:21
so how
how can i create custom pop up and call inside it
that's my query
let me give some code
ok bro
plz
How do you want your pop up looks like
any sample desing image
1 min. plz
@karthikeyan plz check bro
that's will look exactly same but tab bar will be hidden when i click index 2
what about background view contorller
Previous tabbed view controller ah
05:28
background viewcontroller will be any viewcontroller with tab bar index 0,1 or 3
okay..u need three buttons ah
suppose i clicked on index tab bar 1 it will show that viewcontroller right ?
@karthikeyan yes with label below that
suppose i clicked on index tab bar 1 it will show that viewcontroller right ? plz answer this
When pop up occurs tab bar should not show right
correct
but remember if any previous viewcontroller is opened it will show in back viewcontroller
then there is no possibility to click tab items
05:31
@karthikeyan means?
yes it will show previous viewcontroller that could be 0,1,3
@karthikeyan yes
okay..let me download sample project and try it out
give 30 mins
1
A: unable to show view in centre if not data found in tableview iOS?

karthikeyanYou better make extension to UIViewController, that will make a sense so that you can use that xib where ever listing occurs. Custom UIView class import UIKit class NoDataFound: UIView { @IBOutlet var noDataLbl: UILabel! var view = UIView() override init(frame: CGRect) { ...

check this answer
05:33
ok
it is for no data found alert with custom view
the same way u might need
yes
have u seen reddit app
?
u have android phone
05:41
can u download that one and check what is my req
because it is same req. i want
they are not tabbar anywhere
have u login the app
or create a account
@karthikeyan
05:57
no i did not create accont
there is skip option
ok can u share the screen which comes
because in bottom u will see 4 or 5 tabs
on third index tab bar click that pop up opens
as like screenshot i have shared
seeing five tabs
yes
correct
now u can click one by one on each tab
on 3rd index tab bar there will be pop up opens from bottom
did u seen that ?
yes now its coming
yes i want like that only
06:01
okay
and on pop op there is a close button to close the pop up
so i want exactly the same feature of pop up
func tabBarController(_ tabBarController: UITabBarController, shouldSelect viewController: UIViewController) -> Bool {
and also u can see their will a viewcontroller also shows behind that pop up related to specific tab bar index
06:02
this will call right
@karthikeyan
@karthikeyan yes
i seen it
give me time
did u got my question
06:03
yes
ok bro
so how ?
06:26
@karthikeyan
send me your mail id or something
i just done sample, let me know, your requirement meets or not
ok bro plz
have u sent ?
06:37
ok
need to add all buttons
u just and tell
what i need to tell
check ur mail
Is that okay or not
06:40
ok
wait
06:54
@karthikeyan i m checking bro give me 5 min.
07:20
@karthikeyan bro i want like this only
but tabbar some portion is still visible
some portion menas
bottom,left,right ah
i given spacing for that view
u can adjust it
go to overlay xib
i have changed that
now it looks good
Okay..
Do remaining parts
07:27
bro tell me how u have created
im not understanding that
Check addoverlay method in viewcontroller class
u can call that method all contorller if u need
i created extension to uiviewcontroller
yes i checked that
there i created that overlay class
bro can i create a swift class instead of objective c class for overlay class
yes u can, for time i have used objective-c
ur wish u can continue with objective also
07:31
how will i do .h and .m file to swift
i need in swift
if possible for u
i have some work
i will convert will send you
do u use skype accound
yes i have
karthisiva21
give request to that id
07:32
thanks for help
appreciated
u r very helpful nature
Ha ha..thanks
welcome bro
how much exp u have
great bro
where r u working
i have 1.5 but not much knowledge because i m alone developer in my office
chennai
07:38
ok check i have send request on skype
will help u if know the feature
ur doubts
thanks bro
where are u from?
07:39
i m living in noida delhi ncr but native place is gorakhpur UP
okay super..
Check skype
u ping me in skype
leaving this room
ok bro
thanks u so much

last day (15 days later) »