Tagged articles
139 articles
Page 2 of 2
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 25, 2019 · Mobile Development

Master iOS Pagination: Build Custom QiPageMenuView & QiPageContentView

This article explains how to create a flexible paginated interface in iOS using the custom QiPageMenuView and QiPageContentView components, covering implementation analysis, key properties, code examples, and two usage patterns that enable decoupled menu and content views for seamless scrolling and navigation.

Objective‑CQiPageContentViewQiPageMenuView
0 likes · 10 min read
Master iOS Pagination: Build Custom QiPageMenuView & QiPageContentView
JD Tech
JD Tech
Mar 21, 2019 · Frontend Development

Implementing NSOutlineView with Pure Code in macOS: A Step‑by‑Step Guide

This article walks through creating a hierarchical menu using NSOutlineView entirely in code, covering view initialization, data model preparation, custom cell and row views, essential NSOutlineViewDataSource and NSOutlineViewDelegate methods, and handling selection to achieve a fully functional macOS outline interface.

CocoaNSOutlineViewObjective‑C
0 likes · 7 min read
Implementing NSOutlineView with Pure Code in macOS: A Step‑by‑Step Guide
360 Tech Engineering
360 Tech Engineering
Dec 20, 2018 · Fundamentals

Understanding Tail Call Optimization in Objective‑C

This article explains the concept of tail call optimization in Objective‑C, illustrates correct and incorrect tail‑call examples, describes how the compiler reuses stack frames to achieve O(1) space complexity, and demonstrates the optimization with visual demos and practical code.

Objective‑CTail Call OptimizationiOS
0 likes · 6 min read
Understanding Tail Call Optimization in Objective‑C
Tencent TDS Service
Tencent TDS Service
Dec 6, 2018 · Mobile Development

Why IMP Calls Crash on ARM64 iOS: Uncovering Variadic ABI Pitfalls

This article investigates a crash caused by calling IMP pointers on ARM64 iOS devices, explains how variadic function argument passing differs from the standard ABI, demonstrates the issue with test code and assembly analysis, and provides a solution by explicitly casting IMP to the correct function type.

ARM64IMPObjective‑C
0 likes · 16 min read
Why IMP Calls Crash on ARM64 iOS: Uncovering Variadic ABI Pitfalls
Sohu Tech Products
Sohu Tech Products
Aug 22, 2018 · Mobile Development

Deep Dive into the Objective‑C Runtime: Object Model, Class Structure, Dynamic Loading and Practical Uses

This article provides an in‑depth exploration of the Objective‑C runtime, covering the underlying object model, class and metaclass structures, the isa_t layout, how classes are loaded and initialized, dynamic loading mechanisms, and practical applications such as ORM and automatic NSCoding implementation.

Dynamic LoadingORMObjective‑C
0 likes · 22 min read
Deep Dive into the Objective‑C Runtime: Object Model, Class Structure, Dynamic Loading and Practical Uses
JD Tech
JD Tech
Aug 16, 2018 · Mobile Development

Deep Dive into Objective‑C Object Memory Layout and Runtime Structures

This article explores the low‑level implementation of Objective‑C objects by examining instance memory allocation, the differences between class_getInstanceSize and malloc_size, the internal structures of instance, class, and meta‑class objects, and how isa and superclass pointers link them together.

Objective‑CRuntimeclass object
0 likes · 16 min read
Deep Dive into Objective‑C Object Memory Layout and Runtime Structures
Meituan Technology Team
Meituan Technology Team
Jul 19, 2018 · Mobile Development

EasyReact: A Reactive Programming Framework for iOS Development

EasyReact is an iOS reactive programming framework that replaces closure‑based data flow with object‑graph nodes, offering visual EZRNode debugging, automatic memory management, and cross‑platform potential while delivering up to 725 % faster performance than ReactiveCocoa, simplifying learning, debugging, and future Swift‑based extensions.

FrameworkMVVMObjective‑C
0 likes · 16 min read
EasyReact: A Reactive Programming Framework for iOS Development
Tencent Music Tech Team
Tencent Music Tech Team
Jul 13, 2018 · Mobile Development

Analysis and Solutions for a Memory Leak Caused by a Repeating Animation in iOS

The article explains how a repeating iOS animation caused a hidden memory leak by retaining its view controller through a strong CABasicAnimation delegate and a performSelector‑afterDelay timer, and shows how replacing the delegate‑based animation with a CAKeyframeAnimation/CAAnimationGroup and using weak references or cancelling pending selectors eliminates the retain cycle.

CAAnimationObjective‑Canimation
0 likes · 10 min read
Analysis and Solutions for a Memory Leak Caused by a Repeating Animation in iOS
21CTO
21CTO
May 29, 2018 · Mobile Development

Step‑by‑Step Guide to Obfuscating Objective‑C iOS Apps

This tutorial explains why iOS code obfuscation is needed, how to prepare the required scripts and PCH file, configure Xcode’s build phases, and apply the obfuscation tool to hide method and variable names, while noting its limitations to .m/.h classes.

Mobile SecurityObjective‑CXcode
0 likes · 5 min read
Step‑by‑Step Guide to Obfuscating Objective‑C iOS Apps
Xianyu Technology
Xianyu Technology
Apr 18, 2018 · Mobile Development

Mastering iOS VoIP: Implement CallKit & PushKit with Real‑World Tips

This guide walks through building a complete iOS VoIP solution using CallKit and PushKit, covering UI differences, step‑by‑step configuration of CXProvider and PKPushRegistry, handling incoming calls, common pitfalls such as lock‑screen crashes and token issues, and extending functionality with Call Directory extensions.

CallKitMobile DevelopmentObjective‑C
0 likes · 12 min read
Mastering iOS VoIP: Implement CallKit & PushKit with Real‑World Tips
Suishouji Tech Team
Suishouji Tech Team
Mar 21, 2018 · Mobile Development

How to Integrate Google Protocol Buffers into iOS Apps with Objective‑C

This guide explains why and how to use Google Protocol Buffers for efficient data exchange in iOS, covering environment setup, installation, .proto definition, compilation to Objective‑C files, project integration, and a complete encode/decode test with sample code.

Mobile DevelopmentObjective‑CProtocol Buffers
0 likes · 7 min read
How to Integrate Google Protocol Buffers into iOS Apps with Objective‑C
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 11, 2017 · Mobile Development

Unlocking iOS Power: Mastering JavaScriptCore for Seamless JS Integration

This article explores how JavaScript has become integral to client‑side development, introduces the JavaScriptCore framework that enables iOS apps to execute JavaScript, and provides detailed guidance on its architecture, core classes, concurrency model, object bridging, memory management, and error handling.

JSContextJSValueMobile Development
0 likes · 23 min read
Unlocking iOS Power: Mastering JavaScriptCore for Seamless JS Integration
Qunar Tech Salon
Qunar Tech Salon
Feb 9, 2017 · Mobile Development

Understanding iOS Message Forwarding and BlocksKit Dynamic Delegation

This article explains the iOS message‑sending and forwarding mechanisms—including dynamic, fast, and normal forwarding—and demonstrates how BlocksKit leverages these mechanisms to implement dynamic delegates using blocks, with detailed code examples and class descriptions.

BlocksKitDynamic DelegationMessage Forwarding
0 likes · 20 min read
Understanding iOS Message Forwarding and BlocksKit Dynamic Delegation
Qunar Tech Salon
Qunar Tech Salon
Feb 8, 2017 · Mobile Development

Exploring iOS A/B Testing Strategies and Implementation Techniques

This article examines the concept, benefits, and practical implementation of A/B testing in iOS development, covering design considerations, code organization patterns such as selector caching, strategy pattern, and protocol dispatchers, as well as related build‑time concerns like static‑library merging and CocoaPods subspecs.

A/B testingDesign PatternsMobile Development
0 likes · 22 min read
Exploring iOS A/B Testing Strategies and Implementation Techniques
Tencent Music Tech Team
Tencent Music Tech Team
Dec 30, 2016 · Mobile Development

Understanding CAMediaTiming Protocol and Hierarchical Time Structure in iOS Animations

The CAMediaTiming protocol defines a hierarchical time system for CALayer and CAAnimation objects, where each layer owns a nested time space whose beginTime, speed, and timeOffset combine to compute active and basic local times, enabling developers to pause, offset, speed up, repeat, or auto‑reverse animations with precise control.

CAMediaTimingObjective‑Canimation timing
0 likes · 9 min read
Understanding CAMediaTiming Protocol and Hierarchical Time Structure in iOS Animations
Meituan Technology Team
Meituan Technology Team
Oct 14, 2016 · Mobile Development

Understanding ReactiveCocoa: Core Elements, Signal Flow, Commands, and Channels

The article explains ReactiveCocoa’s core concepts—RACSignal, subscribers, cold versus hot signals, and key transformations such as bind, map, flatten and throttle—while showing how RACCommand encapsulates actions and RACChannel enables two‑way binding, together illustrating how to build expressive, maintainable data pipelines in iOS apps.

Functional Reactive ProgrammingObjective‑CRACChannel
0 likes · 25 min read
Understanding ReactiveCocoa: Core Elements, Signal Flow, Commands, and Channels
Meituan Technology Team
Meituan Technology Team
Aug 19, 2016 · Mobile Development

Understanding Memory Leaks with RACObserve and RACSubject in ReactiveCocoa

In ReactiveCocoa, using RACObserve inside a flattenMap or applying map to a hot RACSubject can create retain cycles because the generated blocks capture self and the subject retains its subscribers, so employing @weakify/@strongify and ensuring signals send a completed or error event breaks these hidden memory leaks.

MemoryLeakObjective‑CReactiveCocoa
0 likes · 15 min read
Understanding Memory Leaks with RACObserve and RACSubject in ReactiveCocoa
Ctrip Technology
Ctrip Technology
Aug 12, 2016 · Mobile Development

Design and Development of a Siri‑Like Voice‑Controlled Music iOS App

This article walks through the design and implementation of a voice‑controlled music iOS application using Siri SDK, Sketch and Principle for UI prototyping, and Xcode with Objective‑C and SpeechKit for speech recognition, culminating in a functional prototype that searches iTunes and plays song previews.

Mobile DevelopmentObjective‑CSiri SDK
0 likes · 8 min read
Design and Development of a Siri‑Like Voice‑Controlled Music iOS App
Hujiang Technology
Hujiang Technology
May 27, 2016 · Mobile Development

Understanding Context Design in Objective‑C: Concepts, Nested Contexts, Thread Safety, and an Event Bus Example

This article explains the concept of a software context, discusses design considerations such as nesting and thread‑safety, and provides a concrete Objective‑C implementation including a lightweight event‑bus library, helping developers apply context patterns in mobile applications.

Mobile DevelopmentObjective‑Ccontext
0 likes · 8 min read
Understanding Context Design in Objective‑C: Concepts, Nested Contexts, Thread Safety, and an Event Bus Example
21CTO
21CTO
Apr 6, 2016 · Mobile Development

Ace iOS Interviews: Real Baidu & NetEase Experiences and Proven Tips

This article shares a detailed iOS interview journey—including Baidu, NetEase, and Alibaba rounds—along with algorithm questions, Objective‑C runtime insights, practical coding challenges, and actionable preparation strategies to help developers land their dream mobile development jobs.

Mobile DevelopmentObjective‑CSwift
0 likes · 26 min read
Ace iOS Interviews: Real Baidu & NetEase Experiences and Proven Tips
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 24, 2016 · Mobile Development

Using Clang Static Analyzer for iOS Projects: Setup, Common Issues, and Report Generation

Clang Static Analyzer, integrated in Xcode, provides static code analysis for C, C++ and Objective‑C, and this guide explains its core checkers, common warning types such as null‑pointer dereference and division‑by‑zero, and demonstrates how to run it via scan‑build on an iOS project to generate HTML reports.

Clang Static AnalyzerObjective‑CXcode
0 likes · 3 min read
Using Clang Static Analyzer for iOS Projects: Setup, Common Issues, and Report Generation
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
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
Jul 16, 2015 · Mobile Development

Understanding RACSignal Subscription, Multicast, and Replay in ReactiveCocoa

The article breaks down RACSignal’s three‑step subscription flow, then explains how multicast and replay operators—built on RACSubject and RACReplaySubject—share a single source, buffer values, and ensure side‑effects like network requests execute only once regardless of how many subscribers attach.

Objective‑CRACSignalReactiveCocoa
0 likes · 18 min read
Understanding RACSignal Subscription, Multicast, and Replay in ReactiveCocoa
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
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
Tencent TDS Service
Tencent TDS Service
Jan 1, 2015 · Mobile Development

Mastering Objective‑C Message Forwarding to Prevent “Unrecognized Selector” Crashes

This article explains why the “Unrecognized selector sent to instance xxx” crash occurs in Objective‑C, outlines the three stages of the runtime message‑forwarding process, and provides concrete code examples for dynamic method resolution, fast forwarding, and standard forwarding to reliably prevent such crashes in iOS apps.

Crash PreventionMessage ForwardingObjective‑C
0 likes · 7 min read
Mastering Objective‑C Message Forwarding to Prevent “Unrecognized Selector” Crashes