Nitisha Sharma

Jul 10, 2017 13:12
i'm adding google map view as a subview in my application and setting it's accessibilityIdentifier still it's not accessible.i want to write UITest for Map view existence and tap on particular marker.i tried with finding view hierarchy from app.debugdescription but cannot find map view in it.Any help,How to achieve?
Jul 10, 2017 13:12
Hi,
Jul 4, 2017 07:43
I'm writing UI test cases for my view controller.it has three views

1.A header view ->Stackview -> 4 buttons

2.table View

3.footer view - > 5 buttons

All views are accessible except stackview and its child buttons

Can anyone guide me how do i get reference of stackview and its child elements?
Jul 4, 2017 07:43
Hi
Jun 28, 2017 09:41
i'm adding 2 view controller as a child to rootview controller .when checking on instruments instantiate controller fro storyboard leaks memory
Jun 28, 2017 09:40
hi , Can anyone explain why self.storyboard?.instantiateViewController(withIdentifier: "viewcontroller") leaks memory
Jun 14, 2017 11:53
@RamaniHitesh
Jun 14, 2017 11:52
nops
Jun 14, 2017 10:57
@RamaniHitesh - Could you please explain it more?
Jun 14, 2017 10:49
no it's not there
Jun 14, 2017 10:47
sorry i'm new to chat how do i share image?
Jun 14, 2017 10:46
@TusharSharma - yes sure
Jun 14, 2017 10:45
@RamaniHitesh - creating delegate is good to notify controller to perform action , but how can i notify same button to update their state
Jun 14, 2017 10:44
@TusharSharma - no outlets , view is created programatically
Jun 14, 2017 10:43
yes
Jun 14, 2017 10:42
if one is selected other gets deselected in short update themself
Jun 14, 2017 10:42
@TusharSharma - i've created a custom view with 5 buttons.each button is having different action.example each button filters a list depends on condition
Jun 14, 2017 10:39
but all the buttons state changes on other button action
Jun 14, 2017 10:38
i define a protocol and implement in controller something like?
Jun 14, 2017 10:35
hello , i 'm having a custom view of 5 buttons and is used in 2 different controllers.i'm able to design view but buttons actions is different for each controller.Can any help me ,how do i manage that?
Jun 12, 2017 12:19
Can anyone help me with this problem stackoverflow.com/questions/44499058/…
Jun 12, 2017 12:18
Hi,
Apr 27, 2017 13:00
@DilipTiwari - use this var dateString: NSString? = ("12/-3/2017")
var interval: TimeInterval? = dateString?.doubleValue
var date = Date(timeIntervalSince1970: interval!)
var format = DateFormatter()
format.dateFormat = "dd MMM, YYYY"
var datenewString: String = format.string(from: date)
Apr 27, 2017 12:40
my split view is under another RootView controller
Apr 27, 2017 12:40
i've not added navigation controller to master & detail page
Apr 27, 2017 12:39
push detail view from list selection?
Apr 27, 2017 12:37
i've uploaded image here http://pasteboard.co/9kApFU93C.png
I want animation left to right and vice versa to hide & How master page
Apr 27, 2017 11:46
above code works good but animation is not smooth
Apr 27, 2017 11:46
UIView.animate(withDuration: 0.1, delay: 0.0, options: .curveEaseInOut, animations: {

let detailController = self.splitViewController?.viewControllers[1] as! INSPEditTemplateDetailcontroller
detailController.btn_toggleSplitView?.imageView?.image = (detailController.btn_toggleSplitView?.imageView?.image?.withRenderingMode(UIImageRenderingMode.alwaysTemplate))
detailController.btn_toggleSplitView?.tintColor = INSPAppreance.sharedInstance.getClientBaseThemeColor()
if self.splitViewController?.preferredDisplayMode == UISplitViewControllerDisplayMode.allVisible {
Apr 27, 2017 11:46
@ShobhakarTiwari - sorry i dnt kow how to share image here but i can show the code i'm using to hide and show split view master screen with animation
Apr 27, 2017 10:26
Hi All, how can i add custom transition animation to hide & show master page?
 

Swift

A room for those working with the Swift programming language
Jun 13, 2017 07:00
Can anyone help me to solve this?
Jun 13, 2017 07:00
0
Q: Chilld view Controller donot resize on rotation when added programatically

Nitisha Sharmai've a rootview contoller in which i've added a splitview controller from storyboard and dynamically i'm adding another SecondView controller as a child to rootview controller.Issue i'm facing is on orientation Second View controller removed from Rootview Controller and splitview occupies the c...

Jun 13, 2017 07:00
Hello