All Projects → MacOMNI → Macproject

MacOMNI / Macproject

这是一个用 Objective-C 写的 iOS 轻量级框架,旨在快速构建 iOS App,欢迎 Star

Projects that are alternatives of or similar to Macproject

Manong Reading
🐒《猿已阅》码农周刊 iOS App(放弃维护,推荐大家下载《开发者头条》App,https://toutiao.io )
Stars: ✭ 369 (-32.17%)
Mutual labels:  ios-app
Material Kit React Native
Material Kit React Native
Stars: ✭ 424 (-22.06%)
Mutual labels:  ios-app
Safariautologintest
A demo showing how you can auto-login users to an iOS app using SafariViewController (on iOS 9) and SFAuthenticationSession (on iOS 11)
Stars: ✭ 480 (-11.76%)
Mutual labels:  ios-app
Httper Ios
App for developers to test REST API.
Stars: ✭ 376 (-30.88%)
Mutual labels:  ios-app
Githubcontributionsios
Show off your GitHub contributions from your lock screen 📱
Stars: ✭ 410 (-24.63%)
Mutual labels:  ios-app
Messenger
Open source, native iOS Messenger, with realtime chat conversations (full offline support).
Stars: ✭ 4,264 (+683.82%)
Mutual labels:  ios-app
React Native Dating App
Dating app - Exponent and React Native
Stars: ✭ 352 (-35.29%)
Mutual labels:  ios-app
Multi Os Engine
Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)
Stars: ✭ 529 (-2.76%)
Mutual labels:  ios-app
Bangumi
💫 An unofficial bgm.tv app client for Android and iOS, built with React Native. 类似专门做ACG的豆瓣, 已适配 iOS/Android, mobile/Pad, light/dark theme, 并加入了很多独有的增强功能
Stars: ✭ 409 (-24.82%)
Mutual labels:  ios-app
React Hooks Lib
A set of reusable React Hooks.
Stars: ✭ 460 (-15.44%)
Mutual labels:  utils
Autoinch
优雅的iPhone全尺寸/等比例精准适配工具
Stars: ✭ 395 (-27.39%)
Mutual labels:  ios-app
Ios Tagent
iOS support agent for automation
Stars: ✭ 400 (-26.47%)
Mutual labels:  ios-app
React Native Mixpanel
A React Native wrapper for Mixpanel tracking
Stars: ✭ 451 (-17.1%)
Mutual labels:  ios-app
Nineanimator
An elegant way of discovering anime on iOS.
Stars: ✭ 369 (-32.17%)
Mutual labels:  ios-app
Messenger
iOS - Real-time messaging app 🎨
Stars: ✭ 491 (-9.74%)
Mutual labels:  ios-app
Smile
😄 Emoji in Swift
Stars: ✭ 359 (-34.01%)
Mutual labels:  category
Ysrun
易瘦跑步 iOS客户端
Stars: ✭ 427 (-21.51%)
Mutual labels:  ios-app
Ethereumjs Util
Project is in active development and has been moved to the EthereumJS monorepo.
Stars: ✭ 534 (-1.84%)
Mutual labels:  utils
Icepa
iOS system-wide VPN based Tor client
Stars: ✭ 519 (-4.6%)
Mutual labels:  ios-app
Example Ios Apps
 A curated list of Open Source example iOS apps developed in Swift. An amazing list for people who are beginners and learning ios development and for ios developers who need any example app or feature.
Stars: ✭ 461 (-15.26%)
Mutual labels:  ios-app

#MACProject 传送门:https://github.com/azheng51714/MACProject

这是使用 Objective-C 整理的一套 iOS 轻量级框架,内部包含大量或自己整理或修改自网络的 Category 、Utils、DataManager、Macros & UIComponents 旨在快速构建中小型 iOS App,并尝试用其整理了个 MACProject 样例以来抛砖引玉,愿与大犇们相互学习交流,不足之处望批评指正, 更欢迎 Star。

##目录结构

基于MVC:对常用控件、常用扩展类、数据缓存、网络请求、工具类、常用动画进行封装或二次封装;

  1. 对包括 UIImageView、UILabel、UIButton、UINavgationBar、UINavgationController、UITableView、UITextView、UISearchBar、UIViewController 等在内的常用控件及其扩展类进行了整理,其中对常用的数据加载、提示语、AlertView、sheetView也进行了一键集成;

  2. 对包括 NSData、NSDate、NSString、NSArray、NSDictionary、NSNumber、NSObject 等数据类型常用的转换或解析方法进行了整理;

  3. 对包括 NSBundle、NSFile、NSFileManger 等数据读取或操作的常用方法行了整理;

  4. 对 UIFont、UIColor、UIImage、UIApplication、NSTimer 等也进行了分类整理,保证相关操作简洁高效,常用方法一键实现;

  5. 对数据下载(DownLoadManager)、网络请求(BaseService)、GCD、Animation、UserAuth 等也行了简洁的封装。

图片

这里对几个常用控件源代码进行简单的说明: 基于AF网络请求库的二次封装,根据状态码递归解析请求的加密数据;接口类型包括: 普通访问接口、带数据缓存接口、带有网络提示、带有上传文件等;


 #import <Foundation/Foundation.h>
/**
 *  HTTP访问回调
 *
 *  @param urlString 状态码 0 访问失败   200 正常  500 空 其他异常
 *  @param result    返回数据 nil 为空
 *  @param error     错误描述
 */
typedef void(^ResultBlock)(NSInteger stateCode, NSMutableArray* result, NSError *error);
//block不是self的属性或者变量时,在block内使用self也不会循环引用:

@interface BaseService : NSObject

/**
 *  普通的访问请求(有提示,带判断网络状态)
 *
 *  @param URLString    接口地址
 *  @param parameters   字典参数
 *  @param requestBlock 回调函数
 */
+ (void)POST:(NSString *)URLString  parameters:(id)parameters result:(ResultBlock)requestBlock;
/**
 *  普通的访问请求(无提示,不带判断网络状态)
 *
 *  @param URLString    接口地址
 *  @param parameters   字典参数
 *  @param requestBlock 回调函数
 */
+ (void)POSTWithNormal:(NSString *)URLString  parameters:(id)parameters result:(ResultBlock)requestBlock;

/**
 *  访问请求(有提示带缓存,带判断网络状态)
 *
 *  @param URLString    请求地址
 *  @param parameters   请求参数
 *  @param requestBlock 请求回调
 */
+ (void)POSTWithCache:(NSString *)URLString parameters:(id)parameters  completionBlock:(ResultBlock)requestBlock;

/**
 *  无提示的访问请求(带缓存,带判断网络状态)
 *
 *  @param URLString    请求地址
 *  @param parameters   请求参数
 *  @param requestBlock 请求回调
 */
+(void)POSTWithCacheNormal:(NSString *)URLString parameters:(id)parameters  completionBlock:(ResultBlock)requestBlock cacheBlock:(ResultBlock)cacheBlock;
/**
 *  上传多媒体文件接口
 *
 *  @param URLString    请求地址
 *  @param parameters   请求参数
 *  @param mediaDatas   多媒体数据  图片传 UIImage  语音传url字符串地址
 *  @param requestBlock 请求回调
 */
+(void)POSTWithFormDataURL:(NSString *)URLString parameters:(id)parameters mediaData:(NSMutableArray *)mediaDatas completionBlock:(ResultBlock)requestBlock;

同时对 UITableView 空白页文字、空白页图片、上拉下拉事件等进行了高度封装,命名为MACTableView,使用简单高效,最新版传送门: https://github.com/azheng51714/MACTableView

##首页

###仿闲鱼同城界面:

GCD、CollectionView、Xib 约束、Frame 约束、AutoLayout 代码约束简单应用,抛砖引玉;

图片

###城市模糊查询:

定位 、 KMP & SearchTree 搜索实现快速数据检索 与 系统匹配不一样的感受;

image

##朋友圈

###仿QQ通信录:

高仿QQ聊天通讯录,人员分组:

图片

高仿朋友圈 & QQ空间

图片

我的消息

图片

##云周边(暂未开放)

##发现(动画&控件)

图片

加载 Logo 动画 loadingView

加载loadView

加载 波浪 动画 MACWaveView

加载MACWaveView

基础 ChartView

加载MACWaveView

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].