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 8 years ago.
Improve this question
As you may know apple released iOS 8 and swift. So for the apps that I will create this summer (before the public release of iOS 8), will they need to be written in objective-c or swift? If I make these apps and they get accepted during the summer using objective-c will I need to upgrade my apps to support iOS 8 in the fall?
And finally once iOS 8 is out, will we be forced to only use swift, or can we still create apps strictly off objective-c?
Objective-C isn't going anywhere (yet). And you don't have to rerelease your apps for every new version of iOS, unless the new version breaks something.
You can't use beta versions of Xcode to submit to the App Store, though, so if you do plan to submit before 8 comes out, make sure your project is compatible with Xcode 5 (which means no Swift).
I don't think there is a firm stand from apple on how long will objective c be supported.
But objective c can be mixed and matched with Swift and most of the UIKit and AppKit is written in Objective c means Objc will be supported in the near future. I can't see apple rewrite the entire appkit and uikit in swift and deprecate Objc in the next 2 years.
Beyond that is anyone's guess and also things might get effy if apple start to introduce new api only for swift.
I think you are fine with Objc for the next a few years, right now i don't think you can release app written with swift in app store (let me know if i'm wrong).
Related
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
On the WWDC in 2014 Apple announced that they are changing from Objective-C to Swift, for developing native iOS applications. (Is this correct? The change took place in 2014?)
It is my understanding that Objective-c comes from C. (Is this correct?)
It is also my understanding that the operative system iOS is built using C, C++, Objective-C and Swift. (Is this correct?)
Lastly, it is my understanding that, in 2018, apps for iOS are built using Swift. (Is this correct?)
I have a few questions regarding this subject:
1. In 2018, do anyone use only objective-c to develop iOS apps?
2. Is it possible to mix Swift and objective-c, and how common is it?
3. Is it safe to say that objective-c has been more or less abandoned and Swift is the mayor language when developing apps for the iOS?
Yes, many companies (including Apple, Facebook, Booking.com) still use Objective-C for writing apps.
Yes, it is perfectly safe to mix Swift and Objective-C.
No, Objective-C has not been abandoned. Although its usage is shrinking.
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 7 years ago.
Improve this question
I have released several apps written in Swift 2.0 and 2.1. Now Apple just open source Swift and announced that Swift 3.0 will be released next year. So will my apps still works after Swift 3.0's release?
I think you are asking two separate questions here.
Will your app execute on the new OS when Swift 3 is launched?
Will your app work on the new OS when it is launched?
In regards to the first question, yes your app will execute even though it was compiled against Swift 2. Swift apps have the Swift runtime libraries embedded in their bundles so you are safe in this regard. You will notice that Swift bundles are always about 4-5 MB larger than their Objective-C counterparts and this is precisely why.
In regards to the second question, as with any new OS release there is no guarantee that your apps will work as they did on previous versions of the OS. Although, from my experience Apple has done a pretty decent job of keep things backwards compatible over the last couple of OS releases, though your mileage may vary.
If you're asking if your code written in Swift 2.0 / 2.1 will compile under Swift 3.0, it's possible that it won't. Quoted from Swift Programming Language Evolution:
Full source compatibility: Swift 3.0 will not provide full source compatibility. Rather, it can and will introduce source-breaking changes needed to support the main goals of Swift 3.0.
But like #Randy said, your previously-compiled app will still run.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Is it possible to write apps in pure Objective C in iOS 8 (not using Swift at all), because I don't feel like learning Swift for the moment?
Yes. In fact I recommend you use Objective-c for the time being. Swift isn't finished yet and it will surely change over the time, until it matures. Also, concerning the iOS Apis they are written in Objective-C and adapted to work in Swift. There is a great inconsistency between data types used by the iOS Swift Apis(they use the Objective-c data types instead of the native Swift ones). From my experience (I started developing and learning swift this month), it's best to stick to Objective-c for now.
Yes surely you can do to do that select new project and select Objective C in place of 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 8 years ago.
Improve this question
I have developed an application for ios7 using Objective-C. Its in development phase now. As apple has announced new programming language swift. Will it replace objective-c or both we can use for future development?
I tried to check any update about this, but couldn't get anything.
Objective-C will still be around for quite a while. Apple did not deprecate the language, but it has declared that Swift will be the future of iOS development.
Source:
Swift Programming Guide, Page 2
we can now introduce a new language for the future of Apple software development.
YES.
With the iOS 8 Beta, Objective-C-Only project works.
Though as Matthew notes, you should slowly adapt to Swift.
I would not start a new project in Objective-C though, if there aren't very good reasons for it.
You can have Objective-C code side by side with Swift code and should migrate code to the new programming language. So it is possible to use the old Objective-C frameworks/files in a new Swift project.
You could even use almost C Code, but that is mostly making the project more complex. The same goes with Objective-C and 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 9 years ago.
Improve this question
I have following question.
Say I want to start to write an app in one month.
What are the advantages and disadvantages if I:
1) Write the app such that only users of iOS7 can use it.
2) Write an app with iOS6/5 in mind. Meaning app is not optimized for iOS7 (e.g., UI etc.) - however due to forward compatibility I assume iOS7 users can still use it.
3) Write an app that is optimized for iOS7 but users of iOS 6 can still use it.
Example advantages and disadvantages.
The disadvantage of supporting only iOS7 maybe that users with other version of iOS can't use it.
Disadvantage of optimizing app for iOS7 while it is usable also for iOS6 may be a lot of work.
In this fashion, I hope that the users here will help me list advantages and disadvantages of the three items I listed initially.
If you're using public, non-deprecated official iOS SDK ( at that time this answer is written, the current stable version is iOS 6.1 ), you can support iOS 5 & 6. The current stable (non-beta) Xcode cannot support iOS 7 development yet.
Also, always support as many non-retiring versions as possible. You have to (compulsory) support iOS 7 in near future, so your choice would only be supporting iOS 5 or not.
Note: Since iOS 5 & iOS 6 are quite similar, supporting iOS 5 won't make you write a lot more codes.
In addition to above :
https://stackoverflow.com/questions/17207126/release-of-ios-7-affecting-development
Application must be compatible with both the latest version and second last version.
So, once iOS 7 is released fully, make your app compatible with iOS 7 also. It will increase your sales.
Your development target has to be iOS 5 when developing the application. There is not much difference in terms of view in iOS 5 and iOS 6, but some features may not be available because of Frameworks advancement. So, take care of that.
Hope this helps !!