text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageZoomBlurFilter : GPUImageFilter
/** A multiplier for the blur size, ranging from 0.0 on up, with a default of 1.0
*/
@property (readwrite, nonatomic) CGFloat blurSize;
/** The normalized center of the blur. (0.5, 0.5) by default
*/
@property (readwrite, ... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageZoomBlurFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 92 |
```objective-c
#import "GPUImageHalftoneFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageHalftoneFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp float fractionalWidthOfPixel;
uniform highp float as... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHalftoneFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 753 |
```objective-c
#import "GPUImageFramebuffer.h"
#import "GPUImageOutput.h"
@interface GPUImageFramebuffer()
{
GLuint framebuffer;
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
CVPixelBufferRef renderTarget;
CVOpenGLESTextureRef renderTexture;
NSUInteger readLockCount;
#else
#endif
NSUInteger frame... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFramebuffer.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 3,230 |
```objective-c
#import "GPUImageGaussianBlurFilter.h"
@implementation GPUImageGaussianBlurFilter
@synthesize texelSpacingMultiplier = _texelSpacingMultiplier;
@synthesize blurRadiusInPixels = _blurRadiusInPixels;
@synthesize blurRadiusAsFractionOfImageWidth = _blurRadiusAsFractionOfImageWidth;
@synthesize blurRadius... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGaussianBlurFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 5,330 |
```objective-c
#import "GPUImageFilterGroup.h"
@class GPUImagePicture;
/** A photo filter based on Photoshop action by Miss Etikate:
path_to_url
*/
// Note: If you want to use this effect you have to add lookup_miss_etikate.png
// from Resources folder to your application bundle.
@interface GPUImageMissE... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMissEtikateFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 92 |
```objective-c
#import "GPUImageHarrisCornerDetectionFilter.h"
/** Noble corner detector
This is the Noble variant on the Harris detector, from
Alison Noble, "Descriptions of Image Surfaces", PhD thesis, Department of Engineering Science, Oxford University 1989, p45.
*/
@interface GPUImageNobleCornerDetection... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageNobleCornerDetectionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 77 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageRGBFilter : GPUImageFilter
{
GLint redUniform;
GLint greenUniform;
GLint blueUniform;
}
// Normalized values by which each color channel is multiplied. The range is from 0.0 up, with 1.0 as the default.
@property (readwrite, nonatomic) CGFloat r... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 100 |
```objective-c
#import "GPUImagePixellateFilter.h"
@interface GPUImageHalftoneFilter : GPUImagePixellateFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHalftoneFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 28 |
```objective-c
#import "GPUImageSaturationBlendFilter.h"
/**
* Saturation blend mode based upon pseudo code from the PDF specification.
*/
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageSaturationBlendFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
varying hig... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSaturationBlendFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,918 |
```objective-c
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import "GPUImageContext.h"
#import "GPUImageOutput.h"
/** Protocol for getting Movie played callback.
*/
@protocol GPUImageMovieDelegate <NSObject>
- (void)didCompletePlayingMovie;
@end
/** Source object for filtering movies
*/... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMovie.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 518 |
```objective-c
#import "GPUImageTwoInputFilter.h"
@interface GPUImageSoftLightBlendFilter : GPUImageTwoInputFilter
{
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSoftLightBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 28 |
```objective-c
#import "GPUImageNobleCornerDetectionFilter.h"
@implementation GPUImageNobleCornerDetectionFilter
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageNobleCornerDetectionFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTe... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageNobleCornerDetectionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 750 |
```objective-c
#import "GPUImagePixellatePositionFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImagePixellationPositionFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp float fractionalWidthOfPixel;
un... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePixellatePositionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,271 |
```objective-c
#import "GPUImageFilterGroup.h"
#import "GPUImageLowPassFilter.h"
#import "GPUImageDifferenceBlendFilter.h"
@interface GPUImageHighPassFilter : GPUImageFilterGroup
{
GPUImageLowPassFilter *lowPassFilter;
GPUImageDifferenceBlendFilter *differenceBlendFilter;
}
// This controls the degree by whic... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHighPassFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 119 |
```objective-c
#import "GPUImage3x3ConvolutionFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImage3x3ConvolutionFragmentShaderString = SHADER_STRING
(
precision highp float;
uniform sampler2D inputImageTexture;
uniform mediump mat3 convolutionMatrix;
varying vec2 textureCoordina... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImage3x3ConvolutionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,133 |
```objective-c
#import "GPUImageBilateralFilter.h"
NSString *const kGPUImageBilateralBlurVertexShaderString = SHADER_STRING
(
attribute vec4 position;
attribute vec4 inputTextureCoordinate;
const int GAUSSIAN_SAMPLES = 9;
uniform float texelWidthOffset;
uniform float texelHeightOffset;
varying vec2 texture... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageBilateralFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,070 |
```objective-c
#import "GPUImagePolarPixellateFilter.h"
// @fattjake based on vid by toneburst
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImagePolarPixellateFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp v... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePolarPixellateFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 807 |
```objective-c
#import <UIKit/UIKit.h>
#import "GPUImageContext.h"
typedef enum {
kGPUImageFillModeStretch, // Stretch to fill the full view, which may distort the image outside of its normal aspect ratio
kGPUImageFillModePreserveAspectRatio, // Maintains the aspect ratio of the... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImageView.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 323 |
```objective-c
#import "GPUImageView.h"
#import <OpenGLES/EAGLDrawable.h>
#import <QuartzCore/QuartzCore.h>
#import "GPUImageContext.h"
#import "GPUImageFilter.h"
#import <AVFoundation/AVFoundation.h>
#pragma mark -
#pragma mark Private methods and instance variables
@interface GPUImageView ()
{
GPUImageFramebuf... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImageView.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 3,333 |
```objective-c
//
// GPUImagePicture+TextureSubimage.h
// GPUImage
//
// Created by Jack Wu on 2014-05-28.
//
#import "GPUImagePicture.h"
@interface GPUImagePicture (TextureSubimage)
- (void)replaceTextureWithSubimage:(UIImage*)subimage;
- (void)replaceTextureWithSubCGImage:(CGImageRef)subimageSource;
- (void)re... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImagePicture+TextureSubimage.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 135 |
```objective-c
#import "GLProgram.h"
#import "GPUImageFramebuffer.h"
#import "GPUImageFramebufferCache.h"
#define GPUImageRotationSwapsWidthAndHeight(rotation) ((rotation) == kGPUImageRotateLeft || (rotation) == kGPUImageRotateRight || (rotation) == kGPUImageRotateRightFlipVertical || (rotation) == kGPUImageRotateRigh... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImageContext.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 619 |
```objective-c
#import <UIKit/UIKit.h>
#import "GPUImageOutput.h"
@interface GPUImagePicture : GPUImageOutput
{
CGSize pixelSizeOfImage;
BOOL hasProcessedImage;
dispatch_semaphore_t imageUpdateSemaphore;
}
// Initialization and teardown
- (id)initWithURL:(NSURL *)url;
- (id)initWithImage:(UIImage *)... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImagePicture.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 264 |
```objective-c
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import "GPUImageContext.h"
extern NSString *const kGPUImageColorSwizzlingFragmentShaderString;
@protocol GPUImageMovieWriterDelegate <NSObject>
@optional
- (void)movieRecordingCompleted;
- (void)movieRecordingFailedWithError:(NSE... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImageMovieWriter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 562 |
```objective-c
#import "GPUImagePicture.h"
@implementation GPUImagePicture
#pragma mark -
#pragma mark Initialization and teardown
- (id)initWithURL:(NSURL *)url;
{
NSData *imageData = [[NSData alloc] initWithContentsOfURL:url];
if (!(self = [self initWithData:imageData]))
{
return nil;
... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImagePicture.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,687 |
```objective-c
#import "GPUImageMovieWriter.h"
#import "GPUImageContext.h"
#import "GLProgram.h"
#import "GPUImageFilter.h"
NSString *const kGPUImageColorSwizzlingFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
void main()
{
gl_FragColor =... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImageMovieWriter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 7,149 |
```objective-c
#import "GPUImageContext.h"
#import <OpenGLES/EAGLDrawable.h>
#import <AVFoundation/AVFoundation.h>
#define MAXSHADERPROGRAMSALLOWEDINCACHE 40
@interface GPUImageContext()
{
NSMutableDictionary *shaderProgramCache;
NSMutableArray *shaderProgramUsageHistory;
EAGLSharegroup *_sharegroup;
}
@... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImageContext.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,056 |
```objective-c
//
// GPUImagePicture+TextureSubimage.m
// GPUImage
//
// Created by Jack Wu on 2014-05-28.
//
#import "GPUImagePicture+TextureSubimage.h"
@implementation GPUImagePicture (TextureSubimage)
- (void)replaceTextureWithSubimage:(UIImage*)subimage {
return [self replaceTextureWithSubCGImage:[subimag... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/GPUImagePicture+TextureSubimage.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,088 |
```objective-c
#import <UIKit/UIKit.h>
//! Project version number for GPUImageFramework.
FOUNDATION_EXPORT double GPUImageFrameworkVersionNumber;
//! Project version string for GPUImageFramework.
FOUNDATION_EXPORT const unsigned char GPUImageFrameworkVersionString[];
#import <GPUImage/GLProgram.h>
// Base classes
#... | /content/code_sandbox/Pods/GPUImage/framework/Source/iOS/Framework/GPUImageFramework.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,064 |
```objective-c
/*!
@header WMPlayer.h
@abstract Githubpath_to_url
CSDN:path_to_url
@author Created by zhengwenming on 16/1/24
@version 1.00 16/1/24 Creation()
*/
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import <AVKit/AVKit.h>
#impor... | /content/code_sandbox/WMPlayer/WMPlayer.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,065 |
```objective-c
//
// LandscapeRightViewController.h
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import "FullScreenHelperViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface LandscapeRightViewController : FullScreenHelperViewController
@end
NS_ASSUME_NONNULL_END
``` | /content/code_sandbox/WMPlayer/LandscapeRightViewController.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 59 |
```objective-c
//
// LandscapeLeftViewController.m
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import "LandscapeLeftViewController.h"
@interface LandscapeLeftViewController ()
@end
@implementation LandscapeLeftViewController
-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
re... | /content/code_sandbox/WMPlayer/LandscapeLeftViewController.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 96 |
```objective-c
//
// WMPlayerModel.m
//
//
// Created by zhengwenming on 2018/4/26.
//
#import "WMPlayerModel.h"
@implementation WMPlayerModel
-(void)setPresentationSize:(CGSize)presentationSize{
_presentationSize = presentationSize;
if (presentationSize.width/presentationSize.height<1) {
self.ver... | /content/code_sandbox/WMPlayer/WMPlayerModel.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 87 |
```objective-c
//
// WMLightView.h
// WMPlayer
//
// Created by on 16/10/26.
//
#import <UIKit/UIKit.h>
@interface WMLightView : UIView
@property (strong, nonatomic) UIView *lightBackView;
@property (strong, nonatomic) UIImageView *centerLightIV;
@property (strong, nonatomic) NSMutableArray * lightViewArr;
@end... | /content/code_sandbox/WMPlayer/WMLightView.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 84 |
```objective-c
//
// LandscapeLeftViewController.h
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import "FullScreenHelperViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface LandscapeLeftViewController : FullScreenHelperViewController
@end
NS_ASSUME_NONNULL_END
``` | /content/code_sandbox/WMPlayer/LandscapeLeftViewController.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 59 |
```objective-c
//
// FastForwardView.m
// WMPlayer
//
// Created by on 16/10/26.
//
#import "FastForwardView.h"
#import "Masonry.h"
@implementation FastForwardView
- (instancetype)init{
self = [super init];
if (self) {
self.backgroundColor = [UIColor colorWithRed:0/256.0f green:0/256.0f blue:0... | /content/code_sandbox/WMPlayer/FastForwardView.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 273 |
```objective-c
//
// LandscapeRightViewController.m
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import "LandscapeRightViewController.h"
@interface LandscapeRightViewController ()
@end
@implementation LandscapeRightViewController
-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
... | /content/code_sandbox/WMPlayer/LandscapeRightViewController.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 96 |
```objective-c
//
// EnterFullScreenTransition.h
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "WMPlayer.h"
NS_ASSUME_NONNULL_BEGIN
@interface EnterFullScreenTransition : NSObject<UIViewControllerAnimatedTransitioning>
- (instancetype)initWi... | /content/code_sandbox/WMPlayer/EnterFullScreenTransition.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 84 |
```objective-c
//
// ExitFullScreenTransition.m
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import "ExitFullScreenTransition.h"
#import "Masonry.h"
@interface ExitFullScreenTransition ()
@property(nonatomic,strong)WMPlayer *player;
@end
@implementation ExitFullScreenTransition
- (instancetype)initWith... | /content/code_sandbox/WMPlayer/ExitFullScreenTransition.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 510 |
```objective-c
//
// FullScreenHelperViewController.m
// PlayerDemo
//
// Created by apple on 2020/5/18.
//
#import "FullScreenHelperViewController.h"
@interface FullScreenHelperViewController ()<WMPlayerDelegate>
@end
@implementation FullScreenHelperViewController
-(BOOL)shouldAutorotate{
return YES;
}
-(... | /content/code_sandbox/WMPlayer/FullScreenHelperViewController.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 521 |
```objective-c
//
// WMLightView.m
// WMPlayer
//
// Created by on 16/10/26.
//
#import "WMLightView.h"
#import "WMPlayer.h"
#define LIGHT_VIEW_COUNT 16
@interface WMLightView ()
@end
@implementation WMLightView
- (instancetype)init{
self = [super init];
if (self) {
self.backgroundColor = [UICol... | /content/code_sandbox/WMPlayer/WMLightView.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,052 |
```objective-c
//
// WMPlayerModel.h
//
//
// Created by zhengwenming on 2018/4/26.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@interface WMPlayerModel : NSObject
//
@property (nonatomic, copy) NSString *title;
//URLorhttp
@property (nonatomic, strong) NSU... | /content/code_sandbox/WMPlayer/WMPlayerModel.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 159 |
```objective-c
//
// EnterFullScreenTransition.m
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import "EnterFullScreenTransition.h"
#import "Masonry.h"
@interface EnterFullScreenTransition ()
@property(nonatomic,strong)WMPlayer *wmplayer;
@end
@implementation EnterFullScreenTransition
- (instancetype)in... | /content/code_sandbox/WMPlayer/EnterFullScreenTransition.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 423 |
```objective-c
//
// FullScreenHelperViewController.h
// PlayerDemo
//
// Created by apple on 2020/5/18.
//
#import <UIKit/UIKit.h>
#import "WMPlayer.h"
NS_ASSUME_NONNULL_BEGIN
@interface FullScreenHelperViewController : UIViewController
@property(nonatomic,strong)WMPlayer *wmPlayer;
@end
NS_ASSUME_NONNULL_END
... | /content/code_sandbox/WMPlayer/FullScreenHelperViewController.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 73 |
```objective-c
//
// ExitFullScreenTransition.h
// PlayerDemo
//
// Created by apple on 2020/5/20.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "WMPlayer.h"
NS_ASSUME_NONNULL_BEGIN
@interface ExitFullScreenTransition : NSObject<UIViewControllerAnimatedTransitioning>
- (instancetype)initWith... | /content/code_sandbox/WMPlayer/ExitFullScreenTransition.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 84 |
```objective-c
//
// FastForwardView.h
// WMPlayer
//
// Created by on 16/10/26.
//
#import <UIKit/UIKit.h>
@interface FastForwardView : UIView
@property (strong, nonatomic) UIImageView *stateImageView;
@property (strong, nonatomic) UILabel *timeLabel;
@end
``` | /content/code_sandbox/WMPlayer/FastForwardView.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 68 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:PlayerDemo.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
</Workspace>
``` | /content/code_sandbox/PlayerDemo.xcworkspace/contents.xcworkspacedata | unknown | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 75 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
``` | /content/code_sandbox/PlayerDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist | xml | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 72 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "BFE6AA0C-AD50-4E24-86A5-80EE28066F74"
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "7FE92A26-C13D-4E5B-B9A7... | /content/code_sandbox/PlayerDemo.xcworkspace/xcuserdata/kefu.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | unknown | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 3,471 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "88098F99-9FDE-4588-8933-92296F45210B"
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "C597733B-162E-4CBE-BFE8... | /content/code_sandbox/PlayerDemo.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | unknown | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 661 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
uuid = "800E5736-FBAD-41E0-86CF-58096932A072"
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "BB426EE7-48AD-4974-8E03... | /content/code_sandbox/PlayerDemo.xcworkspace/xcuserdata/zhengwenming.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist | unknown | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,738 |
```objective-c
/*!
@header WMPlayer.m
@abstract Githubpath_to_url
CSDN:path_to_url
@author Created by zhengwenming on 16/1/24
@version 2.0.0 16/1/24 Creation()
*/
#import "WMPlayer.h"
//*************************************************************
#define WMPlayerSrcName(file) [@"WMPlayer.bundle" st... | /content/code_sandbox/WMPlayer/WMPlayer.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 13,141 |
```objective-c
//
// AppDelegate.m
// WeChat
//
// Created by zhengwenming on 16/6/4.
//
#import "AppDelegate.h"
#import "RootTabBarController.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptio... | /content/code_sandbox/WeChat/AppDelegate.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 417 |
```objective-c
//
// AddressBookCell.h
// IHKApp
//
// Created by on 15/4/23.
//
#import <UIKit/UIKit.h>
#import "FriendInfoModel.h"
@interface AddressBookCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *photoIV;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property(nonatomic... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/AddressBookCell.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 88 |
```objective-c
//
// WMSearchController.h
// WeChat
//
// Created by zhengwenming on 2018/4/3.
//
#import <UIKit/UIKit.h>
#import "SearchResultViewController.h"
@interface WMSearchController : UISearchController
@property (nonatomic, assign) BOOL enableVoiceInput;
+ (WMSearchController *)searchController:(BaseVi... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/WMSearchController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 93 |
```objective-c
//
// ContactsViewController.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "ContactsViewController.h"
#import "AddressBookCell.h"
#import "FriendInfoModel.h"
#import "WMSearchController.h"
#import "SearchResultViewController.h"
@interface ContactsViewController ()<UISearchBarDelegat... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/ContactsViewController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 3,100 |
```objective-c
//
// AppDelegate.h
// WeChat
//
// Created by zhengwenming on 16/6/4.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
``` | /content/code_sandbox/WeChat/AppDelegate.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 55 |
```objective-c
//
// RootTabBarController.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import <UIKit/UIKit.h>
@interface RootTabBarController : UITabBarController
@end
``` | /content/code_sandbox/WeChat/ViewController/TabBarController/RootTabBarController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 49 |
```objective-c
//
// main.m
// WeChat
//
// Created by zhengwenming on 16/6/4.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
``` | /content/code_sandbox/WeChat/main.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 73 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="0... | /content/code_sandbox/WeChat/Base.lproj/LaunchScreen.storyboard | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 745 |
```objective-c
/*!
@header SearchResultViewController.h
@abstract Githubpath_to_url
CSDN:path_to_url
@author Created by zhengwenming on 16/3/11
@version 1.00 16/3/11 Creation()
*/
#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "FriendInfoModel.h"
@protocol WMSearchResult... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/SearchResultViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 168 |
```objective-c
//
// WMSearchController.m
// WeChat
//
// Created by zhengwenming on 2018/4/3.
//
#import "WMSearchController.h"
@interface WMSearchController ()
@end
@implementation WMSearchController
+ (WMSearchController *)searchController:(UIViewController<WMSearchResultControllerProtocol> *)resultsControlle... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/WMSearchController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 483 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CF... | /content/code_sandbox/WeChat/Info.plist | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 479 |
```objective-c
//
// AddressBookCell.m
// IHKApp
//
// Created by on 15/4/23.
//
#import "AddressBookCell.h"
@implementation AddressBookCell
- (void)awakeFromNib {
[super awakeFromNib];
self.photoIV.clipsToBounds = YES;
self.photoIV.backgroundColor = [UIColor lightGrayColor];
self.photoIV.layer.c... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/AddressBookCell.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 252 |
```objective-c
/*!
@header SearchResultViewController.m
@abstract Githubpath_to_url
CSDN:path_to_url
@author Created by zhengwenming on 16/3/11
@version 1.00 16/3/11 Creation()
*/
#import "SearchResultViewController.h"
#import "AddressBookCell.h"
@interface SearchResultViewController ()<... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/SearchResultViewController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,410 |
```unknown
//
// WeChat.pch
// WeChat
//
// Created by zhengwenming on 16/6/4.
//
#ifndef WeChat_pch
#define WeChat_pch
#define kGAP 10
#define kThemeColor [UIColor colorWithRed:0 green:(190 / 255.0) blue:(12 / 255.0) alpha:1]
#define kAvatar_Size 40
#define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterface... | /content/code_sandbox/WeChat/WeChat.pch | unknown | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 505 |
```objective-c
//
// ContactsViewController.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "BaseViewController.h"
@interface ContactsViewController : BaseViewController
@end
``` | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/ContactsViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 46 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" app... | /content/code_sandbox/WeChat/ViewController/AddressBook通讯录/AddressBookCell.xib | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,089 |
```objective-c
//
// BaseViewController.m
// WeChat
//
// Created by zhengwenming on 16/6/4.
//
#import "BaseViewController.h"
@interface BaseViewController ()
@end
@implementation BaseViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor whiteColor];
[UIAppli... | /content/code_sandbox/WeChat/ViewController/BaseViewController/BaseViewController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 281 |
```objective-c
//
// RootTabBarController.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "RootTabBarController.h"
#import "BaseNavigationController.h"
#define kSelImgKey @"selectedImageName"
@interface RootTabBarController ()
@end
@implementation RootTabBarController
- (void)viewDidLoad {
... | /content/code_sandbox/WeChat/ViewController/TabBarController/RootTabBarController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 483 |
```objective-c
//
// BaseViewController.h
// WeChat
//
// Created by zhengwenming on 16/6/4.
//
#import <UIKit/UIKit.h>
@interface BaseViewController : UIViewController
-(int)getRandomNumber:(int)from to:(int)to;
@end
``` | /content/code_sandbox/WeChat/ViewController/BaseViewController/BaseViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 60 |
```objective-c
//
// BaseNavigationController.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import <UIKit/UIKit.h>
#import "BaseViewController.h"
@interface BaseNavigationController : UINavigationController
@end
``` | /content/code_sandbox/WeChat/ViewController/BaseViewController/BaseNavigationController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 53 |
```objective-c
//
// BaseNavigationController.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "BaseNavigationController.h"
@interface BaseNavigationController ()<UINavigationControllerDelegate,UIGestureRecognizerDelegate>
@property (strong, nonatomic) UIPanGestureRecognizer *panGesture;
@end
@impl... | /content/code_sandbox/WeChat/ViewController/BaseViewController/BaseNavigationController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 562 |
```objective-c
//
// ConversationListCell.m
// WeChat
//
// Created by apple on 2020/4/8.
//
#import "ConversationListCell.h"
@interface ConversationListCell ()
@property(nonatomic,strong)UIImageView *avatarIV;
@property(nonatomic,strong)UILabel *nameLabel;
@property(nonatomic,strong)UILabel *lastMsgLabel;
@proper... | /content/code_sandbox/WeChat/ViewController/Home微信/ConversationListCell.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 889 |
```objective-c
//
// HomeViewController.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "HomeViewController.h"
#import "ConversationModel.h"
#import "ConversationListCell.h"
#import "FriendInfoModel.h"
#import "ConversationViewController.h"
@interface HomeViewController ()<UITableViewDelegate,UITab... | /content/code_sandbox/WeChat/ViewController/Home微信/HomeViewController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,040 |
```objective-c
//
// HomeViewController.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "BaseViewController.h"
@interface HomeViewController : BaseViewController
@end
``` | /content/code_sandbox/WeChat/ViewController/Home微信/HomeViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 46 |
```objective-c
//
// ConversationListCell.h
// WeChat
//
// Created by apple on 2020/4/8.
//
#import <UIKit/UIKit.h>
#import "ConversationModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface ConversationListCell : UITableViewCell
@property(nonatomic,retain)ConversationModel *conversationModel;
@end
NS_ASSUME_NONNULL_EN... | /content/code_sandbox/WeChat/ViewController/Home微信/ConversationListCell.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 71 |
```objective-c
//
// ConversationModel.m
// WeChat
//
// Created by apple on 2020/4/8.
//
#import "ConversationModel.h"
@implementation ConversationModel
@end
``` | /content/code_sandbox/WeChat/ViewController/Home微信/ConversationModel.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 41 |
```objective-c
//
// ConversationModel.h
// WeChat
//
// Created by apple on 2020/4/8.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ConversationModel : NSObject
@property(nonatomic,copy)NSString *avatarURL;
@property(nonatomic,copy)NSString *userId;
@property(nonatomic,copy)NSString *... | /content/code_sandbox/WeChat/ViewController/Home微信/ConversationModel.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 96 |
```objective-c
//
// ConversationViewController.h
// WeChat
//
// Created by zhengwenming on 2020/4/13.
//
#import "BaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface ConversationViewController : BaseViewController
@end
NS_ASSUME_NONNULL_END
``` | /content/code_sandbox/WeChat/ViewController/Home微信/Conversation聊天页面/ConversationViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 57 |
```objective-c
//
// PersonCenterCell.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import <UIKit/UIKit.h>
@interface PersonCenterCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *titleIV;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@end
``` | /content/code_sandbox/WeChat/ViewController/Me我/PersonCenterCell.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 70 |
```objective-c
//
// ConversationViewController.m
// WeChat
//
// Created by zhengwenming on 2020/4/13.
//
#import "ConversationViewController.h"
@interface ConversationViewController()<UITableViewDelegate,UITableViewDataSource>
{
}
@property(nonatomic,strong)UITableView *messageList;
@property(nonatomic,strong)N... | /content/code_sandbox/WeChat/ViewController/Home微信/Conversation聊天页面/ConversationViewController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 460 |
```objective-c
//
// MeViewController.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "MeViewController.h"
#import "PersonCenterHeaderCell.h"
#import "PersonCenterCell.h"
@interface MeViewController ()<UITableViewDataSource,UITableViewDelegate>{
CGRect oldFrame;
UIImageView *fullScreenIV;... | /content/code_sandbox/WeChat/ViewController/Me我/MeViewController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,360 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" app... | /content/code_sandbox/WeChat/ViewController/Me我/PersonCenterCell.xib | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,491 |
```objective-c
//
// PersonCenterCell.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "PersonCenterCell.h"
@implementation PersonCenterCell
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSele... | /content/code_sandbox/WeChat/ViewController/Me我/PersonCenterCell.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 97 |
```objective-c
//
// PersonCenterHeaderCell.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "PersonCenterHeaderCell.h"
@implementation PersonCenterHeaderCell
- (void)awakeFromNib {
[super awakeFromNib];
self.avatarIV.clipsToBounds= YES;
self.avatarIV.layer.cornerRadius = 4.f;
// I... | /content/code_sandbox/WeChat/ViewController/Me我/PersonCenterHeaderCell.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 120 |
```objective-c
//
// MeViewController.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "BaseViewController.h"
@interface MeViewController : BaseViewController
@end
``` | /content/code_sandbox/WeChat/ViewController/Me我/MeViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 46 |
```objective-c
//
// PersonCenterHeaderCell.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import <UIKit/UIKit.h>
@interface PersonCenterHeaderCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *avatarIV;
@end
``` | /content/code_sandbox/WeChat/ViewController/Me我/PersonCenterHeaderCell.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 61 |
```objective-c
//
// DiscoverViewController.m
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "DiscoverViewController.h"
#import "WMTimeLineViewController.h"
#import "PersonCenterCell.h"
@interface DiscoverViewController ()<UITableViewDelegate,UITableViewDataSource>{
}
@property(nonatomic,strong)UI... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/DiscoverViewController.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 906 |
```objective-c
//
// DiscoverViewController.h
// WeChat
//
// Created by zhengwenming on 16/6/5.
//
#import "BaseViewController.h"
@interface DiscoverViewController : BaseViewController
@end
``` | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/DiscoverViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 46 |
```objective-c
//
// LikeUsersCell.m
// WeChat
//
// Created by zhengwenming on 2017/9/23.
//
#import "LikeUsersCell.h"
@implementation LikeUsersCell
- (void)awakeFromNib {
[super awakeFromNib];
UIImage *image = [UIImage imageNamed:@"LikeCmtBg"];
image = [image stretchableImageWithLeftCapWidth:image.s... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/LikeUsersCell.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 312 |
```objective-c
//
// MessageInfoModel2.h
// WeChat
//
// Created by zhengwenming on 2017/9/21.
//
#import <Foundation/Foundation.h>
#import "CommentInfoModel.h"
#import "FriendInfoModel.h"
#import "Layout.h"
@interface MessageInfoModel : NSObject
@property (nonatomic, copy) NSString *cid;
///id
@property(nonatom... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/MessageInfoModel.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 247 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" app... | /content/code_sandbox/WeChat/ViewController/Me我/PersonCenterHeaderCell.xib | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,663 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait" app... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/LikeUsersCell.xib | xml | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 775 |
```objective-c
//
// WMTimeLineHeaderView.m
// WeChat
//
// Created by zhengwenming on 2017/9/18.
//
#import "WMTimeLineHeaderView.h"
@interface WMTimeLineHeaderView (){
CGFloat commentBtnWidth;
CGFloat commentBtnHeight;
CGFloat MaxLabelHeight;
}
@property(nonatomic,retain)UILabel *sepLine;
@property(n... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/WMTimeLineHeaderView.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,166 |
```objective-c
//
// WMTimeLineViewController.h
// WeChat
//
// Created by zhengwenming on 2017/9/21.
//
#import "TimeLineBaseViewController.h"
@interface WMTimeLineViewController : TimeLineBaseViewController
@end
``` | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/WMTimeLineViewController.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 55 |
```objective-c
//
// CommentCell.m
// WeChat
//
// Created by zhengwenming on 2017/9/21.
//
#import "CommentCell.h"
#import "JGGView.h"
@interface CommentCell ()
@property (nonatomic, strong) CopyAbleLabel *contentLabel;
@end
@implementation CommentCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/CommentCell.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 496 |
```objective-c
//
// LikeUsersCell.h
// WeChat
//
// Created by zhengwenming on 2017/9/23.
//
#import <UIKit/UIKit.h>
@class FriendInfoModel;
#import "MessageInfoModel.h"
typedef void(^TapNameBlock)(FriendInfoModel *friendModel);
@interface LikeUsersCell : UITableViewCell
///label
@property (weak, nonatomic) I... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/LikeUsersCell.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 125 |
```objective-c
//
// CommentCell.h
// WeChat
//
// Created by zhengwenming on 2017/9/21.
//
#import <UIKit/UIKit.h>
#import "CommentInfoModel.h"
@class CommentCell;
typedef void(^TapCommentBlock)(CommentCell *cell,CommentInfoModel *model);
@interface CommentCell : UITableViewCell
@property(nonatomic,strong)Commen... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/CommentCell.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 100 |
```objective-c
//
// CommentInfoModel.h
// WeChat
//
// Created by zhengwenming on 2017/9/21.
//
#import <Foundation/Foundation.h>
@interface CommentInfoModel : NSObject
@property (nonatomic, assign) BOOL isExpand;
@property(nonatomic,copy)NSString *commentId;
@property(nonatomic,copy)NSString *commentUserId;
@... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/CommentInfoModel.h | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 223 |
```objective-c
//
// MessageInfoModel2.m
// WeChat
//
// Created by zhengwenming on 2017/9/21.
//
#import "MessageInfoModel.h"
@implementation MessageInfoModel
-(NSMutableArray *)commentModelArray{
if (_commentModelArray==nil) {
_commentModelArray = [NSMutableArray array];
}
return _commentM... | /content/code_sandbox/WeChat/ViewController/Discover发现-朋友圈/朋友圈-单个tableView/MessageInfoModel.m | objective-c | 2016-06-06T01:53:42 | 2024-08-05T09:45:48 | WeChat | zhengwenming/WeChat | 1,626 | 1,558 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.