After i upgraded into XCodes 4.3.2 , that's giving me headache.
In older version, We can auto resize our control with click on arrow like following photo
But in XCodes 4.3.2 that view was changed like
So what is scales and how it's work?
I really don't understand apple ever change also user interface when they release XCodes new Version.
Please explain how to work with it?
If my question is too easy for you, please forgive me asking like this question.
Thanks.
I found answer for my question.
That's need to disable auto resize function.
To disable deselect the "use auto layout" option in the Interface Builder design canvas.
After that, everything ok.
Related
I want to work on a new project but please please see the photo below.
Is there a change that I am not aware of?
Thanks.
Yes, there appears to have been an Interface Builder(IB) change, i.e. bug, introduced in one of the later versions of Xcode. On a private forum, students have noted this change.
Fortunately the safe area constraints should work as intended on a device or a simulator.
For example, a view(in orange) was added with constraints to the safe area. Landscape in IB looks like this:
However, when that same view is running on a simulator in landscape mode the view looks like this, which I think is the intended layout:
After upgrading to Xcode 8, i cannot use the Quick Help inspector anymore.
For example, i have a saveNewNote function in my MainViewController.swift file. If i click the function title somewhere in the code, it allows quick scrolling to that function by clicking the link in the attached image. It is very convenient if you have a large number of lines in your code.
Restart Xcode and MacBook did not help.
Is there some settings needed to be changed to be able to use this feature again?
I'm not sure if this is a feature or a bug (it feels like a bug), but ever since I upgraded to Xcode 5, whenever I scroll all the way to the right of my storyboard canvas area, the view snaps back to the start (or far left).
I have googled this but to know avail. I wondered if anyone else is experiencing this issue, and if so, how do you deal with it. In other words, I'm looking to disable it, or some kind of a workaround.
Update Xcode to Version 5.1.1 and the issue is resolved.
I'm looking to add two finger "fluid swiping" to my app. Anyone who has used the week view in the Calendar app that comes with OSX will have seen what I'm trying to do.
I have a scroll view, and I want to be able to use swipe gestures and scrolling to move the content view in the horizontal axis of my NSScrollView, ie a day or a week.
The video from WWDC 2011 titled "Scrolling, Swiping, Dragging: Now with more animation" was quite useful, and looks like it will be able to explain what I want to do, but unfortunately the sample code for PictureSwiper isn't provided with the video.
I'm aware that a newer version of PictureSwiper is avaliable, but it uses NSPageController and I'm really looking for the older Lion 10.7 way of handling things as I can't use NSPageController. Is it still possible to find the old PictureSwiper somewhere?
If not could someone explain how the PictureSwiper sample on Lion worked? I'm aware of the App note https://developer.apple.com/library/mac/#releasenotes/Cocoa/AppKitOlderNotes.html (search for "scrollWheel:") but that has only gone part of the way to explaining the kind of functionality I am after.
Many thanks for any help.
David.
For anyone looking to this for an answer I eventually used one of my "Developer Technical Support" queries that came with my paid Dev account to ask for the old code. A few days latter an Apple engineer emailed me the old Picture Swiper.
Now that I have seen the code the App note makes complete sense! Picture Swiper moves CALayers around, but in my case I just use NSClipView's scrollToPoint:.
Within the scroll handler I just do something like: (gestureAmount * columnWidth) + currentColumnIndexOffset.
Seems to work!
When using the interface builder, if I select a button that is in my layout, the interface builder immediately zooms into that button.
Is there any way I can stop that behaviour.
i.e. I want the interface builder to just select the button and not zoom in.
XCode 4.2 snow Leopard
Post-Script. I think the answer is "you can't". One other suggestion refers to making zoom shortcuts but that does seem to help either.
In response to my own question. As of 24 hours later I think the answer is
"you can't".
One other suggestion found when researching in StackOverFlow refers to making zoom shortcuts but that does seem to help either.