Apr 6, 2017 21:10
I'll try and have look tomorrow.
Apr 6, 2017 20:32
Glad to help
Apr 6, 2017 20:31
(Meaning more then you would have if you showed the popup some other way)
Apr 6, 2017 20:31
I don't think it should be an issue performance wise (this isn't likely to be your bottleneck). Keep in mind that every button, label etc. has it's own view so your not really adding that many views
Apr 6, 2017 20:28
Aside from having to set the property on the segue in xcode both approaches work with Xamarin app (I tested both). That said unless your planning on presenting the same view controller in different ways (sometimes as a popup and sometimes not) you may as well just set the property on the view controller itself and avoid opening it in Xcode.
Apr 6, 2017 20:25
The over current context only appears when you select "Present Modal" like in the screen shot I provided. It might depend on what version of xcode your using (not sure about that)
Apr 6, 2017 20:24
I think present modal is deprechated
Apr 6, 2017 20:22
Here now
Apr 6, 2017 19:36
Make sure that XS isn't overwriting the changes from Xcode. At any rate you should be able to set the presentation property on the viewcontroller itself in XS
Apr 6, 2017 19:35
I've added step by step screen shots which I hope will be helpful.
Apr 6, 2017 19:35
Sorry I don't think I'll have a chance be able to update my answer further today (will try tomorrow).
Apr 6, 2017 19:35
Can you be a little more specific on what part your having trouble with? I'll try and add an example and more detailed instructions later today.
Apr 6, 2017 19:35
Not sure what you mean by modify them? It's a separate view controller and you can set whatever properties (either in your PrepareForSegue method or after instantiating your VC from your storyboard) you want on it and control it within that VC.
Apr 6, 2017 19:35
As for the size, I would have it set to freeform and then set the background color of the root view to clear color (transparent) and then have a child view that is the container for all the content you want to be displayed in the popup (you can constrain that child view to the center of controller)
Apr 6, 2017 19:35
The presentation property on the view controller does appear in XS, the one on the segue doesn't appear in XS but seems to work if you set it using xcode (you can right click on your storyboard and select open with xcode).
 

NSChat

Rules → spiff.io/nschat.rules —  Discussion for iOS and OS X ...
Oct 21, 2014 15:19
Never mind it appears to be a bug stackoverflow.com/a/26101064/384985
Oct 21, 2014 14:53
Initially I set the constraints in IB but setting them in code has the same result. I've also been able to basically recreate the issue in a sample project.
Oct 21, 2014 14:51
I have a single label in a collection view cell that after updating to xcode 6 now gets cut off on iOS7 but displays correctly on iOS8. The constraints for the label are basically "|-11-[title]-5-|" and "V:|-16-[title]", any ideas as to why this might be happening?
Oct 20, 2014 20:32
Any idea why a label would stop stretching on iOS7 once I updated to xcode 6 but works correctly on iOS8? I basically have a collection view cell with just a label with constraints along the lines of "H:|-11-[title]-5|" and "V:|-16-[title]"?
Sep 11, 2014 20:33
The cell itself does get resized properly I just get an ellipsis within the label on iOS7
Sep 11, 2014 20:31
Its a label in a collection view's cell within a table view cell. The constraints are pretty basic leading and trailing edge to leading and trailing edge and a top to top.
Sep 11, 2014 20:31
Any ideas why my label doesn't seem to resize (to the width) anymore on iOS7 but does on iOS8 after building with xcode 6?
Aug 13, 2014 17:20
I'm not really too concerned about the size of the repo, and I don't want to get stuck one day because someone pulled their project.
Aug 13, 2014 17:17
@mattsven thanks. About it being recommend or not the official guide seems to recommend (listing the pros and cons) guides.cocoapods.org/using/using-cocoapods.html
Aug 13, 2014 16:13
(by automatically I mean will git just pick up the changes and I can just commit/push the changes as if it were one of the files in my main project)
Aug 13, 2014 16:11
I have a project that I migrated to use cocoapods, now I want to add the pods directory to source control, what happens afterwards when I update or remove pods? Do those changes automatically get committed? I just don't want to mess up my repo.
May 22, 2014 21:57
@Logan thanks for the suggestion, I needed to remove a gesture recoginzer on the tableview which I was using to hide the keyboard but I think i'm going with your suggestion anyways.
 

iPhone / iPad

Apple iOS development chat. This room has a FAQ at ios-develop...
Aug 1, 2014 16:26
@vikky Sorry but I haven't worked with voice over.
 

C#

General discussions about the c# language, Squirrels | gist.gi...
Jul 2, 2014 13:51
(I'm assuming/hope you meant MVC)
Jul 2, 2014 13:51
@RoelvanUden You mean as opposed to MVC? Or classic?
Jul 2, 2014 13:42
@RoelvanUden Yes, but this is a variable that is supposed to be coming from his datasource, if I understood correctly.
Jul 2, 2014 13:40
@RoelvanUden But you still need to have the variable in context somehow, if his ul isn't bound where are the variables coming from?
Jul 2, 2014 13:40
@MagnusBurton It does.
Jul 2, 2014 13:37
What about using a bound data repeater or your ul and li.
Jul 2, 2014 13:33
Is your function not getting called? I thought your question was how to apply a class based on the results of the function.
Jul 2, 2014 13:29
Along the same lines wouldn't something like the following work <%# String.IsNullOrEmpty(GetBugCSS(Eval("FEA_Bug"), Eval("FED_Name"))) { class="someClass"} "%>
 
Jun 24, 2014 19:18
Same to you. Good luck.
Jun 24, 2014 19:17
No problem, I didn't fully go through your code so there are probably some other things you can optimize there.
Jun 24, 2014 19:13
You might also find the following extension helpful for analyzing your backbone application dhruvaray.github.io/spa-eye
Jun 24, 2014 19:12
If you set a breakpoint somewhere in your view you should be able to see it
Jun 24, 2014 19:12
Actually not exactly, if you maintain a reference in the parent view you will need to be careful that you don't end up with a zombie reference (do a search on zombie views to get a better idea), you can listen to the remove event in the parent view to do some cleanup if nesseary.
Jun 24, 2014 19:04
You can also maintain a reference in your parent view to the created child views (i did that in the same fiddle)
Jun 24, 2014 19:03
Something like this jsfiddle.net/KqrF9/75
Jun 24, 2014 19:02
Why can't you just call remove in the view?
Jun 24, 2014 19:01
You can then just pass in different values each time, for example you may have seen something like myTemplate(this.model.toJSON())
Jun 24, 2014 19:00
Well sort of, it's a function. When you pre-compile it you are saving a reference to the resulting function.
Jun 24, 2014 18:57
Regarding setting the id of the el, you might also want to specify the class in your view (you can use the className property for that) and then get rid of the outer div in your template since it is probably extra (inspect the resulting HTML and you should see what I mean).
Jun 24, 2014 18:57
Not sure what you mean by key, but if you mean compiled then yes you can just pass in the values you want and interpenetrate them.
Jun 24, 2014 18:57
Further what you probably want is for your parent view to create the child view's and attach them, something like the following jsfiddle.net/KqrF9/74
Jun 24, 2014 18:57
I'm not sure what you are trying to do, but If you pass in a el then that element must exist on the page at that point, if you want a unique id you can always assign the id from within your view. I've updated the fiddle to illustrate.