Live data from Hacker News

Building iPad Pro features in Swift

swiftbysundell.com

71–73 of 73 posts

Re: Building iPad Pro features in Swift

#71

Earlier quoted context omitted.

I did not hear "wait for iOS 13"; searching Google I see a lot of talk about features that do not seem very interesting. What would it be that we are waiting for? Only thing most (here and elsewhere) are looking for is better multitasking (rather; side by side 'anything', so the same app with different or the same docs open or different apps with different docs and then copy/paste + drag & Drop between them) and more…

The complaints I've heard: - Lack of mass storage support through USB-C and the Files app (this seems like a comically boneheaded omission that Apple is going to dig their heels in until iOS 13 a year from now). - No XCode - No Final Cut Pro - No Logic Pro - No pointing device especially when used with an external monitor (I don't think anyone should their breath on this one though). Granted, the audience for XCode i…

But are any of these fixed with iOS 13 besides the storage? XCode would be really good to have. Pointing device I do not share the pain of, but like you said, it's a small audience for any of those. I think XCode might be bigger as that can touch the 'first programming experience' and educational space here. An actual mature environment that doesn't require all the setup and misery of desktop development.

Re: Building iPad Pro features in Swift

#72
post #66

Earlier quoted context omitted.

You could do that, but it's more work than using a gesture recognizer, and doesn't compose as well (for example, with the gesture recognizer approach, you can easily add in other behavior like conditionally enabling a tap gesture recognizer that has higher priority than the drag gesture recognizer, without even having to touch the code that implements the drag beyond having access to its gesture recognizer object).

Using an instant LongPress seems like sort of a hack though. Interesting though, how do you transition from the instant LongPress into the "Pan" gesture? Or does the LongPress by itself also get the 'moved' events?

The UILongPressGestureRecognizer gets 'moved' events. It's a continuous recognizer.

Re: Building iPad Pro features in Swift

#73

Earlier quoted context omitted.

Which is a good thing. Adapting layouts to all those different, wildly varying screen sizes is essential and responsive webdesign is solving this problem.

That's fine, but what I don't like is when websites make certain features unavailable on their mobile websites and provide no way of getting around this restriction.

There are iOS browsers that let you change the user agent and request desktop site. I'm not sure how well they work though since I haven't had a need for that feature. But you should check them out at least.
Post reply on HN