InfoQ Homepage Objective-C Content on InfoQ
-
The Ten Year Journey of Facebook's App for iOS
Facebook rewrote its iOS app in 2012 to take advantage of native performance and improve reliability and usability over its previous HTML5-based cross-platform implementation. In the ten years since the rewrite, the app codebase has evolved non-stop to account for the introduction of new features, to circumvent SDK limitations, and to keep up with changes in the iOS platform.
-
How Rewriting a C++/ObjC Codebase in Swift Shrank it down to 30%
In a recent article on the Swift language blog, Graphing Calculator's creator Ron Avitzur recounted how his decision to fully rewrite his app in Swift allowed him to shrink its codebase down to 30% of its original size, improving maintainability and readability while not losing performance.
-
Xcode 13 Extends Team Collaboration and Source Editing Features
Xcode 13 brings improved Git integration, support for GitHub, Bitbucket, and GitLab collaboration features, new editor capabilities, and Vim keybindings.
-
Using Go in Native macOS Apps with MacDriver
MacDriver is a recent project aiming to enable interoperability between Go and Objective-C. This will make it possible to write macOS, and potentially iOS apps using Go, as well as reuse Go code in macOS apps written in Objective-C or Swift. InfoQ has taken the chance to speak with MacDriver creator Jeff Lindsay.
-
How Uber Deals with Unreachable Code Associated to Feature Flags in its Mobile Apps
Piranha is a newly open-sourced tool by Uber that can be used to remove stale code in mobile apps written in Java, Objective-C, or Swift for Android and iOS. The tool was born with the aim to pay technical debt ensuing from the process of implementing and eventually removing feature flags, says Uber.
-
Objective-C Introduces Zero-Runtime-Cost Direct Methods
Since Swift was launched in 2014, Objective-C has known only minor changes, mostly aimed at improving its interoperability with Swift. Far from being a fringe language, though, Objective-C has recently added support for "direct" methods, which look like ordinary class methods but behave more like a C function.
-
Tink is Google Cryptographic Library for the Cloud, Android, and iOS
Tink is a multi-language, cross-platform cryptographic library developed by a group of cryptographers and security engineers at Google to help developers implement cryptography correctly without being cryptographic experts. Under development for the last two years, version 1.2 adds support for Cloud, Android, and iOS platforms, and C++ and Objective-C.
-
Facebook’s New AL Language Aims to Simplify Static Program Analysis
AL is a simple, declarative language for reasoning about abstract syntax trees that allows to extend Facebook Infer static analyzer.
-
A New Microsoft Tool Aims to Help iOS Developers Port Their Apps to UWP
A new tool belonging to the Windows Bridge for iOS, iOS App Analysis, aims to make it easier for iOS developers to port their apps to the Universal Windows Platform (UWP), Nick Gerard, program manager at Microsoft, writes.
-
Open-Source Shark ORM for iOS Aims to Replace Core Data for High-Performance, Multi-Threaded Apps
Shark is a new open-source ORM framework for iOS that aims to be an easy-to-use replacement for Core Data by providing high-performance and thread-safety. InfoQ has spoken with Adrian Herridge, creator of Shark.
-
LLVM 3.8 Discontinues Old Windows Versions, Deprecates Autoconf, Improves Clang
The LLVM team has announced the release of LLVM, which includes a few major deprecations, new C API headers, and Clang 3.8.
-
Google’s J2ObjC 1.0 Translates Java into Objective-C
J2ObjC is an open source tool created by Google to translate Java code into corrresponding Objective-C code that can be run on iOS. The idea is to reuse Java business code between Android, web and iOS. For the web the translation is done with GWT. This tool does not deal with UI code which needs to be written separately for each platform.
-
Apple Open Sources Swift
Apple has open-sourced Swift under a permissive Apache license, following up from a promise made at WWDC 2015 that it would be available before the end of the year. The release includes information about Swift 3.0, a package manager, and a binary package for Linux systems. InfoQ looks into what it means and what effects it will have for future iOS and OSX development.
-
Facebook Open Sources Infer, a Static Analysis Tool
Facebook has open sourced Infer, a static analysis tool for C, Java and Objective-C.
-
Compiling Objective-C into C++ with Visual Studio
While there were rumors that Microsoft would be adopting Android for the Windows 10 platform, no one expected the announcement that iOS applications would also be adopted. This is made possible, by combining C2 with Clang.