Will Swift evetually have native selectors? [closed] - swift

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I understand that in order to use Selectors in Swift, one must mark the Swift function #objc and have at least internal visibility because the function must be exposed to the Objective-C runtime.
So from my understanding, when running those #objc marked Swift functions as selectors, Objective-C's core is majorly involved. So I'm wondering will Apple eventually make Swift completely independent from Objective-C as Swift is primarily written in C++?

Thats a complicated question, and only Apple truly knows. I would say no because of how many apps still use Objective C and the fact the some people still use it in new apps. It would be hard for apple to just completely ignore those developers and potentially take massive amounts of revenue away from themselves and other developers, on top of most of their OS still uses some Objective C. I hope that makes sense and sorry if people get upset that you asked this on SO.

Related

When will apple's swift officially include open-source swift-algorithms? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
Not only "swift-algorithms" but also "swift-collections" which is announced yesterday are so amazing library I think.
I wonder why apple didn't include that libraries in official swift.
Maybe you who will answer to me absolutely don't know too.
If you don't know, could you tell me if developer teams of each of library is different with developer team of official swift?
They're both not in the swift standard library (yet) because they haven't passed the Swift Evolution process. This is explained in the Swift Algorithms announcement:
It’s our ambition for the standard library to include a rich, pragmatic set of generic algorithms. We think the Algorithms package can help realize this goal by serving as a low-friction venue to build out new families of related algorithms—giving us an opportunity to iteratively explore the problem space and learn how different algorithms connect and interact—before graduating them into the standard library.

Combine vs. Cocoa Bindings [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
In general, do you feel that Combine has developed enough that it can replace Cocoa Bindings?
I want to create a data model that is totally based on Combine #Published properties and attach it to my view controller and view with Combine.
But before I spend all the effort, I wanted to get you all’s thoughts on potential pitfalls or considerations I should be taking into account. Should I just stick with tried and true Cocoa Bindings?
Thanks!
Cocoa Bindings are great but they only work on macOS. Apple has signaled in multiple ways that the future of their frameworks is cross-platform (SwiftUI, Combine, etc). Combine is going to enter its third year soon. I'd say it's still early, but not too early.

Which one is best to consume Restful WebServices for Xamarin.Forms? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I want to go with Xamarin.Forms project. Now, I am bit confuse for consuming Rest API for this project. Performance matters.
There are many available but can any body please suggest me which should be best for Xamarin.Forms(.Net Standard)?
Microsoft Http Libraries or third party libraries like Refit, RESTSharp, PortableRest, etc.
Please suggest
All of these options are viable. I think the performance differences between these libraries will be marginal. So, it mostly comes down to what you feel comfortable with.
I like to use Refit because it will take a lot of redundant code out of your hands and you just have to focus on the contract. All the code for the actual calls is generated at compile-time (and thus won't impact your performance at runtime).
Also have a look at how well the library is maintained and if it's active. If you choose one that is already inactive for a while, chances are that you will start relying on older software versions which might not be what you want.

Is it possible to create an app with only swift ? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've started to learn swift and it is told to be a very fast language who takes over the Objective-C. But at many times, I saw it is not enough to write only with Swift and it was need others languages. So I would know if with my MacBook, Xcode and Swift only, it's possible to create app like Snapchat, Instagram WhatsApp or other.
Thanks you.
Yes it should be possible that you will never have to touch anything else. But a lot of the made by Apple is running Objective-C or C.
But again when you start spending time on one programming language others start to seem more similar.
Yes, of course you can. You can use only Objc or only swift or you can mixed up both language.
First start learning swift and learn how to use APPLE API. Then get some idea of app and start developing.
Take look from these link and tutorial :
https://www.raywenderlich.com/143771/swift-tutorial-part-1-expressions-variables-constants
https://www.airpair.com/swift/building-swift-app-tutorial
http://codewithchris.com/how-to-make-an-iphone-app/
http://www.appcoda.com/learnswift/build-your-first-app.html
Specially look * (Download example on swift, learn coding technique and many other helps) : https://github.com/search?l=Swift&q=swift+Tutorial&ref=searchresults&type=Repositories&utf8=%E2%9C%93

Is remembering essential to coding? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I suppose it's not a specific programming question, but it is a question about programming nonetheless.
While I completely understand all the code that i read in the book that I'm using (I have even figured out an error in the book that I fixed my self, within seconds just by looking at it)there are things in there that I'm sort of remembering without really .. thinking about it.
I guess my question is, is it essential to remember some code, or is it a bad practice?
Again, I'm sorry if this is a waste of time to anyone, I'm only trying to learn as much as I can about programming and instilling good habits is important.
I know that Understanding code is much better, and It's what I did when I was learning objective-c , I literally stopped remembering code and wanted to understand it instead of just remember, and it worked. Now that I'm working with Cocos2D, It sometimes feels like I'm remembering instead of understanding, if that makes any sense.. Although since I know Objective-C now, I understand the code, but the order in which it is written.. I'm sort of relying on memory..