Swift
Search documents
Code-along: Start building with Swift and SwiftUI | Meet with Apple
Apple Developer· 2025-11-11 21:22
Learn the basics of app development with Swift and SwiftUI. In this online code-along, you'll build a simple view from an iOS demo app in Xcode, add text fields and photos to capture input, and save information using SwiftData. By the end of the session, you'll have a complete, interactive interface. To code along, you'll need a Mac running macOS Sonoma 14.0 or later and Xcode 15 or later. To explore additional sessions, appointments, and workshops, view the full schedule of Meet with Apple activities world ...
非苹果独有,Android也能玩转Swift了
3 6 Ke· 2025-10-27 11:39
Core Insights - The introduction of the Swift SDK for Android marks a significant shift in the Swift programming language's capabilities, allowing developers to create applications for both iOS and Android platforms, thus enhancing code sharing between the two systems [1][3][10]. Group 1: Swift's Cross-Platform Ambitions - Since its launch in 2014, Swift has aimed to extend beyond iOS, gaining popularity due to its safety, performance, and modern syntax [3]. - The new Android support enables developers to use a SwiftUI-like approach for interface development, lowering the barrier for iOS developers to enter the Android ecosystem [3][10]. Group 2: Development Team and Technical Aspects - The Swift Android working group, composed of Apple engineers and open-source contributors, is responsible for porting Swift's runtime and standard library to the Android architecture [5]. - The SDK supports core functionalities such as concurrency and memory management, potentially offering advantages over Kotlin in performance-sensitive scenarios [7]. Group 3: SDK Accessibility and Resources - Developers interested in trying the SDK can access detailed download and getting started guides from the official Swift website, with installation packages available for Windows, Linux, and macOS [8]. - Over 25% of packages in the Swift Package Index are already compatible with Android, showcasing the community's support for this initiative [8]. Group 4: Market Implications and Developer Reactions - Apple's move to bring Swift to Android is seen as a strategy to prevent developer attrition, as Android holds over 70% of the global market share [10]. - While the SDK is still in preview, it is expected to significantly impact the application development landscape in the coming years [11].
Auto exports firing on all cylinders in September, Q2 and H1 2025 with double digit growth
BusinessLine· 2025-10-16 07:45
Core Insights - Indian automobile exports have shown significant growth in September, Q2, and the first half of the financial year for both passenger vehicles (PVs) and two-wheelers (2Ws) [1][2][3] Passenger Vehicles (PVs) - Total PV exports in September increased by 30.3% year-on-year to 87,762 units compared to 67,379 units in September 2024 [1] - In Q2, total PV exports grew by 23% year-on-year to 241,554 units, up from 196,196 units in Q2 2024 [2] - For the first half of the financial year, total PV exports rose by 18.4% year-on-year to 445,884 units, compared to 376,679 units in April-September 2024 [3] Two-Wheelers (2Ws) - Total 2W exports in September grew by 15.3% year-on-year to 429,562 units, up from 372,481 units in September 2024 [2] - In Q2, total 2W exports increased by 25% year-on-year to 1,295,468 units, compared to 1,035,997 units in the same period last year [2] - For the first half of the financial year, total 2W exports grew by 24.2% year-on-year to 2,432,410 units, compared to 1,959,145 units in H1 2024 [7] Company Performance - Maruti Suzuki India (MSIL) achieved its highest-ever monthly exports of 42,204 units, growing by 52.2% year-on-year [5] - MSIL has already crossed 210,000 units in the first half of the year and aims to reach a target of 400,000 units for the fiscal year [6] - Hyundai Motor India has set a target of achieving 30% of its production as exports by 2030, focusing on markets in the Middle East and Latin America [6][7]
X @Chainlink
Chainlink· 2025-09-30 10:07
We’re excited to announce a landmark technical solution enabling financial institutions worldwide to manage digital asset workflows directly from their existing systems using Swift (@swiftcommunity) messaging and Chainlink in collaboration with @UBS.https://t.co/lv1i6bm2ZvWith Swift messages and the Chainlink Runtime Environment (CRE), banks and institutions can seamlessly access blockchains through the same Swift infrastructure they have relied upon for decades.The first use case involved UBS Tokenize, the ...
Chainlink, UBS Advance $100T Fund Industry Tokenization via Swift Workflow
Yahoo Finance· 2025-09-30 10:00
Core Insights - Chainlink has developed a technical process that enables banks to interact with tokenized investment funds via Swift, enhancing the integration of blockchain technology into traditional finance [1] - A pilot program with UBS demonstrated the effectiveness of Chainlink's Runtime Environment (CRE) in processing subscriptions and redemptions for a tokenized fund using ISO 20022 messages [1][2] - The initiative is part of a broader effort to improve interoperability between traditional banking systems and blockchain infrastructure, allowing banks to utilize existing tools while Chainlink manages the blockchain operations [2][3] Group 1 - The blockchain workflows initiated from UBS's systems were successfully processed by CRE, which then executed the necessary transactions in the Chainlink Digital Transfer Agent [2] - This development is a continuation of Project Guardian, a tokenization initiative led by Singapore's central bank, which aims to enhance the use of Swift for triggering on-chain events [3] - Chainlink's recent pilot with 24 global banks and financial infrastructure providers aims to leverage AI to standardize data from corporate action announcements, addressing an industry cost of approximately $58 billion annually [4]
日本Proterial拟量产无重稀土EV马达磁铁
日经中文网· 2025-07-22 02:30
Core Viewpoint - Proterial has developed a new type of magnet for electric vehicle (EV) motors that does not use heavy rare earth materials, addressing supply chain concerns due to China's export restrictions on rare earth elements [1][2]. Group 1 - Proterial has created two types of new magnets, one of which has begun providing trial samples from mass production facilities, while the other is a next-generation magnet with improved heat resistance, expected to start shipping samples around April 2026 [1][2]. - The new magnets are designed to replace traditional neodymium magnets used in precision instruments and electric vehicles, offering stronger magnetic power [1][2]. - The development of these magnets is crucial as the automotive industry faces supply disruptions, exemplified by Suzuki's suspension of production for its Swift model due to rare earth shortages [2].
苹果抛弃 Java!转用 Swift 竟让内存占用暴降 90%
程序员的那些事· 2025-06-12 23:51
Core Insights - Apple's internal development team has transitioned from Java to Swift due to performance and efficiency demands, resulting in a 50% reduction in hardware utilization, 90% decrease in memory usage, and a 40% increase in throughput [1][3] Group 1: Performance and Efficiency - The service operates on a Linux system with a layered encryption mechanism, increasing the computational resources required for each request [2] - Java's garbage collection (GC) issues prompted the search for an alternative language, as GC pauses and performance overhead were significant concerns [2] - Swift's automatic reference counting (ARC) offers a different memory management approach, leading to a 90% reduction in memory usage and halving hardware utilization [3] Group 2: Code Quality and Development - The migration to Swift resulted in an approximately 85% reduction in code lines, attributed to Swift's features that promote clearer and more concise code [3] - Swift emphasizes protocols over inheritance and utilizes async/await for concurrency, enhancing code clarity and safety [3] - The choice of Swift over other languages like Go or Rust was influenced by internal factors, although similar performance improvements could be expected from those languages as well [3]
Large language models in Xcode
Apple Developer· 2025-06-11 17:01
Technology Innovation - Xcode integrates large language models like ChatGPT to assist with coding [1] - The integration allows for general Swift questions and project-specific code modifications [1] Coding Assistance - Xcode's integration enables answering specific questions about a project [1] - The model can make changes to code on behalf of the user [1]
摩根士丹利:全球汽车行业-稀土影响及业绩指引冲击
摩根· 2025-06-11 02:16
Investment Rating - The industry investment rating is "In-Line" [9]. Core Insights - China's rare earth export restrictions pose significant risks to the global auto industry, potentially impacting FY25 guidance and catalyzing faster tariff negotiations between the US and China, as well as the EU and China [1][12][21]. - The auto sector heavily relies on rare earth elements (REEs) and magnets, with approximately 38% of NdFeB magnets used in automotive applications, particularly in electric vehicles (EVs) [5][12]. - The current shortage of REEs is beginning to disrupt the automotive supply chain, with several OEMs already experiencing production halts due to insufficient magnet supplies [6][14]. Summary by Sections Rare Earth Export Controls - China has implemented export controls on seven heavier rare earth elements, which are crucial for the production of magnets [3][4]. - Chinese companies dominate the global supply chain, controlling 65% of mined and 88% of refined mid to heavy rare earths, and over 90% of NdFeB permanent magnet supply [4]. Impact on Automotive Sector - The automotive industry is facing a shortage of magnets, which are essential for various components in vehicles, especially EVs [5][6]. - The average usage of REEs in EVs is about 3 kg per vehicle, compared to only 100 grams in internal combustion engine (ICE) vehicles [5]. Supply Chain Disruptions - The restrictions have already led to production shutdowns at several OEM plants, including Ford and Suzuki, with further disruptions expected as inventories deplete [6][14]. - The approval process for REE exports from China has slowed, complicating the supply situation for global manufacturers [4][15]. Future Outlook - The report anticipates a potential hit to FY25 guidance in the upcoming 2Q25 results, with OEMs likely to provide a range of guidance based on different tariff and REE scenarios [18]. - The situation mirrors the semiconductor shortage experienced in 2021, with the potential for significant downward revisions in global light vehicle production forecasts if REE shortages persist [17].