# Ocer **Repository Path**: DXCH/Ocer ## Basic Information - **Project Name**: Ocer - **Description**: Ocer是一款帮助Apple开发者整理或学习【Objective-C】屎山代码的工具,旨在提高开发者的开发效率。运用得好,保守地说可以为您减少至少八成以上的开发或学习的时间! 此软件非免费使用,购买请联系开发商。 另外:软件会不定期开放免费使用,可留意开发商公告信息。 欢迎大家下载使用。 QQ交流群:309802653 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.cnblogs.com/CH520/p/18408081 - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2024-11-23 - **Last Updated**: 2025-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # I. Software Introduction - Thank you for paying attention to our innovative software, "Ocer". This is a code organization and optimization tool specifically designed for Objective-C developers. In the face of increasingly complex codebases, we understand the importance of maintaining code readability, consistency, and maintainability. Ocer aims to help developers improve code quality and save valuable time by intelligently identifying and optimizing various elements in the code, allowing them to focus more on the core business logic and innovation points of the project. - [Detailed Feature Introduction](https://www.cnblogs.com/CH520/p/18408081) # II. Core Features ## 1. Code Formatting - Space and Line Break Optimization: Controls the number of spaces in positions such as commas, classes and pointers, and method beginnings, ensuring a unified code style. - #import Sorting: Automatically organizes the sorting of #import statements to improve code readability. - Brace Line Breaks: Formats the line breaks and concatenation of method braces, ensuring that the method body and braces are on the same line or conform to user-defined specifications. - Mathematical Calculation Line Formatting: Formats mathematical calculation lines (e.g., 1+1) into a more readable form of 1 + 1. - Object Creation Optimization: Formats the creation of objects to ensure a consistent code style. ## 2. Code Simplification - Property Invocation Optimization: Uses the dot (.) to invoke properties, making the code more concise. - Comment Management: Provides formatting functions for single-line and multi-line comments, while also supporting the removal of unnecessary comments and extra spaces, as well as file-level comment management. - Log and Warning Handling: Removes log prints and specified warning information from the code, making it cleaner. - Blank Line Management: Removes extra blank lines in the file to ensure the code is compact and easy to read. ## 3. System Method Organization - Adding Standardized Comments: Adds standardized comments to system methods to improve code readability. - Parameter and Variable Formatting: Formats the writing of parameters, such as converting camelCase naming to underscore naming. ## 4. Batch Editing - Renaming: Supports renaming operations for methods, class properties, classes, etc., ensuring code consistency. - Match and Replace: Matches and replaces specified words or strings within methods. - Global Replace: Supports non-matching replacements, i.e., batch global replacement of specified strings. ## 5. Other Practical Functions - Macro Definitions and Localization: Searches for macro definition strings, finds strings that can be used for macro definitions, and supports searching for and translating localized content. - Project Configuration: Supports batch editing of project configurations, such as formatting image names. # III. Usage Scenarios - Daily Development: In Objective-C project development, using Ocer can quickly organize and optimize code, improving code quality. - Team Collaboration: In team collaboration, using Ocer can ensure a consistent code style, reducing communication costs. - Code Review: Before code reviews, using Ocer can quickly identify and fix potential issues in the code. # IV. Contact Us - If you have any questions or suggestions about Ocer, please feel free to contact us. We look forward to working with you to create a more efficient and elegant Objective-C development environment. - This software is not free to use. Please contact the developer for purchase ( Author' QQ:2949281947). - Additionally: The software will be open for free use from time to time, please pay attention to the developer's announcement information.. - Welcome everyone to download and use it. - QQ Discussion Group: 309802653