Tag : objective-c

Introduction At the time of graduation, some articles that came into contact with talked about iOS engineering modularization (cocopodization) everywhere. I have also been trying to decouple the company’s project codes. however, because it is really unnecessary for one person to develop engineering cocopodization, I have not studied the method of engineering cocopodization for a ..

Read more

appledeMacBook-Pro-3:~ apple$ pod setupSetting up CocoaPods master repo/The following is the error code/[! ] /usr/bin/git clonehttps://github.com/CocoaPods/Specs.gitmaster Cloning into ‘master’ …error: RPC failed; curl 56 SSLRead() return error -36fatal: The remote end hung up unexpectedlyfatal: early EOFfatal: index-pack failed The problem of network spee..

Read more

Gitcone, report an error. ssh: Could not resolve hostname 192.168.2.166:repositories: nodename nor servname provided, or not knownfatal: Could not read from remote repository. Please make sure you have the correct access rightsand the repository exists. 192.168.2.166 is a local area network, please make sure your computer and 192.168.2.166 are in the same local area network ..

Read more

#include <stdio.h> void f(void){ char a[8]; char b[8]; scanf(“%s”,a); scanf(“%s”,b); printf(“%s##%s##\n”,a,b); } int main(void){ f(); return 0; } Beginners of c languageAs mentioned above, I have defined two character arrays of length 8. But when I enter characters longer than 8, why can I still output normally?For example, if i enter “123123123 123123123″,pirntf comes out ..

Read more

How do you understand this line of code? static void * a = &a; See on AFN’s source code. static void *AFHTTPRequestSerializerObserverContext = &AFHTTPRequestSerializerObserverContext; In the AFURLRequestSerialization.h file, when serializing, use the.This style of code has been seen several times in other places. There is a similar problem in Zhihu, The answer isThis is a ..

Read more

TabView is a custom View. there is a data tableView in it, but the data is displayed by breaking the point and then releasing the data. -(VTabView *)TabView { if (! _TabView) { _TabView = [[VTabView alloc]init]; _TabView.alpha = 0.5; _TabView.backgroundColor = [UIColor redColor]; _TabView.tab.backgroundColor = BACKCOLOUR; [_vpaas_client.glView addSubview:self.TabView]; [self.TabView mas_makeConstraints:^(MASConstraintMaker *make) { make.top.equalTo(50); make.right.equalTo(0); ..

Read more