Tagged articles
1034 articles
Page 11 of 11
WeChat Client Technology Team
WeChat Client Technology Team
Nov 19, 2015 · Mobile Development

Unlocking iOS Event Handling & Rendering: RunLoop, UI Threads, and Core Animation

This article explains iOS’s event processing pipeline—from hardware events through the RunLoop’s observer, source, timer, and dispatch mechanisms—detailing why UI must run on the main thread, how CALayer and Core Animation render, and the roles of CADisplayLink, NSTimer, and async display techniques.

AsyncDisplayCADisplayLinkRendering
0 likes · 20 min read
Unlocking iOS Event Handling & Rendering: RunLoop, UI Threads, and Core Animation
21CTO
21CTO
Nov 15, 2015 · Mobile Development

Why Objective‑C Isn’t Dead: A Historical Journey and Its Modern Relevance

From its 1960s origins in Simula and Smalltalk to its evolution through NeXT, Objective‑C introduced groundbreaking dynamic features, yet despite Swift’s rise, Apple continues to invest in the language, ensuring its ongoing relevance in the iOS/macOS ecosystem.

Objective‑CSwiftdynamic features
0 likes · 9 min read
Why Objective‑C Isn’t Dead: A Historical Journey and Its Modern Relevance
21CTO
21CTO
Nov 10, 2015 · Mobile Development

Top 5 Open‑Source Mobile Automation Tools for iOS & Android (Pros & Cons)

This article reviews the five most popular open‑source mobile automation frameworks—Calabash, Appium, Robotium, Frank, and UIAutomator—detailing their key features, advantages, and drawbacks to help developers choose the right tool for iOS and Android testing.

AndroidAutomationiOS
0 likes · 10 min read
Top 5 Open‑Source Mobile Automation Tools for iOS & Android (Pros & Cons)
Qunar Tech Salon
Qunar Tech Salon
Nov 7, 2015 · Mobile Development

Seven Strategies for Optimizing Mobile Taobao App Performance

This article outlines seven practical strategies—including monitoring, network upgrades, caching, task grading, lazy loading, page structure refinement, and image download optimization—to significantly improve the launch speed, home page responsiveness, and cart performance of the Mobile Taobao application.

AndroidMobilecaching
0 likes · 11 min read
Seven Strategies for Optimizing Mobile Taobao App Performance
Qunar Tech Salon
Qunar Tech Salon
Nov 6, 2015 · Mobile Development

Optimizing Mobile Taobao for Double 11: Architecture, Performance, and Compatibility Strategies

The interview details how Alibaba's mobile Taobao app was re‑architected and heavily optimized—through network protocol tweaks, APK size reduction, power and data monitoring, extensive device compatibility testing, HTML5 rendering improvements, and game‑like marketing features—to sustain over 70% mobile sales during the massive Double 11 shopping festival.

AndroidApp ArchitectureiOS
0 likes · 9 min read
Optimizing Mobile Taobao for Double 11: Architecture, Performance, and Compatibility Strategies
Meituan Technology Team
Meituan Technology Team
Nov 3, 2015 · Mobile Development

Understanding Cold and Hot Signals in ReactiveCocoa (RAC)

Cold signals in ReactiveCocoa emit a complete, independent sequence for each subscriber only after subscription, while hot signals continuously push shared events regardless of listeners, causing later subscribers to miss earlier values; understanding this distinction guides proper signal choice in FRP applications.

ColdSignalHotSignalObjective‑C
0 likes · 8 min read
Understanding Cold and Hot Signals in ReactiveCocoa (RAC)
Meituan Technology Team
Meituan Technology Team
Nov 3, 2015 · Mobile Development

Understanding Cold and Hot Signals in ReactiveCocoa (RAC)

Understanding ReactiveCocoa’s cold and hot signals reveals that each subscription to a cold fetchData signal triggers a separate network request, causing duplicated calls, while converting the signal to hot with shareReplay or publish ensures a single request is shared across UI bindings and error handling.

ColdSignalHotSignalObjective‑C
0 likes · 11 min read
Understanding Cold and Hot Signals in ReactiveCocoa (RAC)
Meituan Technology Team
Meituan Technology Team
Nov 3, 2015 · Mobile Development

Understanding Hot and Cold Signals in ReactiveCocoa (RAC)

The article explains that in ReactiveCocoa cold signals are plain RACSignal instances that start their work per subscriber, while hot signals are RACSubject (or subclasses) that broadcast a single execution to all observers, and demonstrates converting cold to hot using subjects, multicast operators, and replay helpers such as replayLazily to share network requests.

ColdSignalFunctionalReactiveProgrammingHotSignal
0 likes · 18 min read
Understanding Hot and Cold Signals in ReactiveCocoa (RAC)
Architect
Architect
Oct 25, 2015 · Information Security

iOS Man-in-the-Middle Attack Techniques and Trusted Certificate Management

This article explains iOS man‑in‑the‑middle (MITM) attack levels, demonstrates practical exploits on a jail‑broken iPhone using Burp Suite, and reveals how the hidden TrustStore.sqlite3 file can be manipulated to add or remove trusted certificates beyond what iOS Settings displays.

Man-in-the-Middlecertificate-managementiOS
0 likes · 9 min read
iOS Man-in-the-Middle Attack Techniques and Trusted Certificate Management
21CTO
21CTO
Oct 24, 2015 · Mobile Development

How to Deploy New Features in iOS Apps Without Releasing a New Version

This article reviews the various dynamic deployment techniques for iOS apps—Web App, Hybrid App, React‑Native, Lua/Javascript patches, and JSON‑described views—analyzes their pros and cons, and proposes a JSBridge‑based microservice architecture as the most practical solution.

HybridJSBridgeJSPatch
0 likes · 18 min read
How to Deploy New Features in iOS Apps Without Releasing a New Version
WeChat Client Technology Team
WeChat Client Technology Team
Oct 19, 2015 · Mobile Development

How JSPatch Enables Dynamic iOS Updates: Deep Dive into Its Runtime Mechanics

JSPatch is an open‑source iOS dynamic‑update framework that leverages Objective‑C runtime and JavaScriptCore to let developers call and replace native methods via JavaScript, with detailed explanations of its core principles, method invocation, replacement, struct and C‑function support, and advanced implementation tricks.

Dynamic UpdateJSPatchRuntime
0 likes · 27 min read
How JSPatch Enables Dynamic iOS Updates: Deep Dive into Its Runtime Mechanics
Architect
Architect
Oct 17, 2015 · Mobile Development

Designing Mobile Persistence Architecture with Virtual Record and DataCenter

This article explains how to choose and design persistence solutions for iOS apps, covering NSUserDefaults, Keychain, file storage, databases, isolation between persistence and business layers, multithreading, and the Virtual Record pattern implemented via DataCenter and CTPersistance.

DataCenterMobile DevelopmentVirtual Record
0 likes · 34 min read
Designing Mobile Persistence Architecture with Virtual Record and DataCenter
21CTO
21CTO
Oct 15, 2015 · Mobile Development

How iOS and Android UI Design Evolved: A Comparative Journey

This article compares the evolution of iOS and Android user interfaces, highlighting iOS's focus on simplicity and Android's shift toward Material Design, and concludes that elegant, user‑friendly design ultimately wins users' hearts across both platforms.

AndroidMaterial DesignMobile Development
0 likes · 7 min read
How iOS and Android UI Design Evolved: A Comparative Journey
Architect
Architect
Oct 14, 2015 · Mobile Development

iOS View Layer Architecture: Guidelines, Layout Strategies, and Best Practices

This article explains why the view layer is the most critical part of an iOS app’s architecture, outlines common pitfalls, proposes a clear code‑structure convention, discusses layout tools, and advises when to use storyboards, nibs, or pure code, while also recommending AOP over inheritance for shared controller behavior.

Code GuidelinesMobile DevelopmentView Architecture
0 likes · 21 min read
iOS View Layer Architecture: Guidelines, Layout Strategies, and Best Practices
Tencent TDS Service
Tencent TDS Service
Sep 10, 2015 · Mobile Development

Master iOS 9: Secure Your App with ATS and Shrink It with App Thinning

This article explains iOS 9's App Transport Security and App Thinning features, detailing how to configure ATS, use nscurl for diagnostics, and apply App Thinning mechanisms such as Slicing, On‑Demand Resources, and Bitcode to improve security and reduce app size.

App ThinningApp Transport SecuritySecurity
0 likes · 9 min read
Master iOS 9: Secure Your App with ATS and Shrink It with App Thinning
WeChat Client Technology Team
WeChat Client Technology Team
Sep 10, 2015 · Mobile Development

How We Detect and Diagnose Main‑Thread Lag in WeChat iOS

This article explains the causes of UI stutters on iOS, outlines a thread‑stack‑dump monitoring approach, describes detection thresholds, classification methods, sampling strategies, and shares the practical results of deploying the solution in WeChat.

Main ThreadPerformance MonitoringWeChat
0 likes · 10 min read
How We Detect and Diagnose Main‑Thread Lag in WeChat iOS
WeChat Client Technology Team
WeChat Client Technology Team
Aug 31, 2015 · Mobile Development

How to Use Bonjour for Zero-Config Device Discovery in iOS Apps

Discover how to replace cumbersome IP‑based connections with Apple’s Bonjour zero‑configuration networking, enabling iOS devices and printers to be automatically found and connected via service publishing, browsing, and resolution, while addressing power, stability, and dynamic IP challenges.

BonjourNSNetServiceNetwork Discovery
0 likes · 16 min read
How to Use Bonjour for Zero-Config Device Discovery in iOS Apps
WeChat Client Technology Team
WeChat Client Technology Team
Aug 27, 2015 · Mobile Development

Optimizing Small Video Playback & Recording on iOS: Solutions and Performance Tips

This article examines the requirements for small video playback and recording in WeChat 6.0, compares four implementation approaches—including MPMoviePlayerController, AVPlayer, and custom AVAssetReader/AVAssetWriter solutions—analyzes their pros, cons, performance and power consumption, and presents the optimal strategy for smooth, low‑latency mobile video handling.

AVFoundationVideo RecordingiOS
0 likes · 14 min read
Optimizing Small Video Playback & Recording on iOS: Solutions and Performance Tips
WeChat Client Technology Team
WeChat Client Technology Team
Aug 13, 2015 · Mobile Development

Master Xcode Debugging: Essential Tips for iOS Developers

Learn essential Xcode debugging techniques for iOS development, covering project creation, interface overview, running apps, various breakpoint types, common LLDB commands, multithreading strategies, UI inspection tools, crash analysis, and recommended resources, all illustrated with step‑by‑step screenshots.

XcodebreakpointsiOS
0 likes · 12 min read
Master Xcode Debugging: Essential Tips for iOS Developers
Tencent TDS Service
Tencent TDS Service
Jun 26, 2015 · Mobile Development

How to Eliminate iOS App Lag: Master Main Thread Management

This article explains why iOS apps experience lag due to main‑thread blocking, demonstrates the problem with sample code, and provides practical solutions using GCD and monitoring tools like Bugly to keep the UI responsive and improve user satisfaction.

BuglyGCDLag
0 likes · 6 min read
How to Eliminate iOS App Lag: Master Main Thread Management
Tencent TDS Service
Tencent TDS Service
Jun 4, 2015 · Mobile Development

Turning Sporadic iOS Wild‑Pointer Crashes into Deterministic Failures

This article explains how to convert rare, non‑reproducible Obj‑C wild‑pointer crashes into consistently repeatable crashes by delaying memory release, retaining freed memory in a custom queue, and safely managing it under memory‑pressure conditions.

Crash ReproductionMemory ManagementObjective‑C
0 likes · 8 min read
Turning Sporadic iOS Wild‑Pointer Crashes into Deterministic Failures
Tencent TDS Service
Tencent TDS Service
May 28, 2015 · Mobile Development

Turning Random Obj‑C Wild‑Pointer Crashes into Deterministic Bugs

This article explains why Obj‑C wild‑pointer crashes appear random, analyzes various memory‑state scenarios after object deallocation, and shows how to force deterministic crashes by filling freed memory with inaccessible patterns using Xcode's Enable Scribble and a custom free‑hook implementation.

Crash DetectionMemory DebuggingObj-C
0 likes · 8 min read
Turning Random Obj‑C Wild‑Pointer Crashes into Deterministic Bugs
Practical DevOps Architecture
Practical DevOps Architecture
May 28, 2015 · Operations

10 Cisco IOS Service Subcommands and Their Usage

This article lists and explains ten Cisco IOS service subcommands—including service dhcp, service linenumber, service password-encryption, service nagle, and others—detailing their functions, typical usage scenarios, and security considerations for configuring routers and switches.

CiscoRouter configurationiOS
0 likes · 6 min read
10 Cisco IOS Service Subcommands and Their Usage
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Apr 23, 2015 · Mobile Development

Principles and Practices of iOS App Architecture

This article shares the author's insights on designing robust iOS app architecture, covering problem identification, module classification, dependency management, layering, common folder pitfalls, and practical steps for building maintainable, testable, and scalable mobile applications.

App ArchitectureDesign PatternsMobile Development
0 likes · 32 min read
Principles and Practices of iOS App Architecture
Tencent TDS Service
Tencent TDS Service
Apr 14, 2015 · Mobile Development

Why iOS 8.3 Crashes When UIAlertView Pops: Orientation Mismatch Debugging

The QQ mobile team discovered that iOS 8.3 caused crashes when switching image quality or showing UIAlertView because the view controller returned an incorrect orientation type, and they resolved it by correcting the supportedInterfaceOrientations implementation and avoiding system‑internal classes.

Mobile DevelopmentUIAlertViewiOS
0 likes · 7 min read
Why iOS 8.3 Crashes When UIAlertView Pops: Orientation Mismatch Debugging
Qunar Tech Salon
Qunar Tech Salon
Mar 17, 2015 · Mobile Development

iOS Design Guidelines: Content‑Centric, Clarity, Layout, and Interaction Best Practices

This article outlines comprehensive iOS design best practices, covering content‑centric development, enhancing functional experience, improving visual clarity, using layout to prioritize content, optimizing launch experience, crafting onboarding and modal scenarios, and refining interaction feedback, branding, icons, and standard UI element usage.

OnboardingUI designbranding
0 likes · 16 min read
iOS Design Guidelines: Content‑Centric, Clarity, Layout, and Interaction Best Practices
Meituan Technology Team
Meituan Technology Team
Mar 4, 2015 · Mobile Development

Deep Dive into Objective‑C Runtime: Understanding Categories and Their Loading Mechanism

The article explains Objective‑C categories by detailing their definition, compile‑time vs runtime differences, internal struct representation, how the compiler emits metadata, the loading and +load ordering process, method overriding mechanics, and the use of associated objects for adding state.

Associated ObjectsCategoryMethod Swizzling
0 likes · 18 min read
Deep Dive into Objective‑C Runtime: Understanding Categories and Their Loading Mechanism
Baidu Tech Salon
Baidu Tech Salon
Jan 7, 2015 · Frontend Development

Front‑End vs iOS Development: Languages, Threads, Storage & Performance Compared

This article analytically compares web front‑end development and iOS mobile development, covering language choices, threading models, data storage strategies, framework ecosystems, compatibility challenges, performance optimization, compilation processes, security considerations, and the impact on user interaction and development workflow.

JavaScriptMobileObjective‑C
0 likes · 13 min read
Front‑End vs iOS Development: Languages, Threads, Storage & Performance Compared
Baidu Tech Salon
Baidu Tech Salon
Jun 3, 2014 · Mobile Development

Introduction to Swift: Basic Syntax, Variables, Control Flow, Functions, and More

Apple’s Swift language, introduced at WWDC 2014, offers a modern, LLVM‑compiled syntax with playgrounds, optional typing, clear variable and constant declarations, robust control‑flow constructs, first‑class functions and closures, class inheritance, protocols, extensions, generics, and safe optional handling, making development for macOS and iOS both expressive and less error‑prone.

Code ExamplesMobile DevelopmentSwift
0 likes · 17 min read
Introduction to Swift: Basic Syntax, Variables, Control Flow, Functions, and More