njhu / iosproject Goto Github PK
View Code? Open in Web Editor NEWiOS project of collected some demos for iOS App, use Objective-C
Home Page: https://github.com/NJHu/iOSProject
License: MIT License
iOS project of collected some demos for iOS App, use Objective-C
Home Page: https://github.com/NJHu/iOSProject
License: MIT License
您好,在您的瀑布流demo中,使用了LMJElementsFlowLayout,若collectionView返回两组数据,只显示一组数据,例如在百思demo中BSJMeViewController,添加collectionView的数据源方法
(NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView {
return 2;
}
(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
{
return 3;
}
(UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
{
BSJMeSquareCell *squareCell = [collectionView dequeueReusableCellWithReuseIdentifier:NSStringFromClass(BSJMeSquareCell.class) forIndexPath:indexPath];
return squareCell;
}
只返回了section为0的那组数据
列表拖拽->长按cell->可以拖动的时候立马end->cell消失了
ps:UIGestureRecognizerStateBegan和UIGestureRecognizerStateEnded里面都用了animateWithDuration,�这种情况下,虽然在UIGestureRecognizerStateEnded里面beginCell.hidden = NO;,但是最后执行的是“onCell.hidden = YES;”,所以cell还是隐藏掉了
哈哈 不知道你为什么每个VC的返回按钮都重复写那段UI代码和点击事件,而不是封装在基类里面,需要特别定制返回页面和UI的时候才去重写这个按钮?
error: Multiple commands produce '/Users/xhq/Library/Developer/Xcode/DerivedData/iOSProject-bxodsuowbsnzgabxwmiwlidwuxsz/Build/Products/Debug-iphonesimulator/iOSProject.app':
lmjnavigationbar 实现- (UIView *)lmjNavigationBarTitleView:(LMJNavigationBar *)navigationBar;自定义导航栏view,但是在外部无法修改创建的子视图的属性 是为什么?
No type or protocol named 'UIUserActivityRestoring'
希望大神可以加些WiFi、蓝牙通讯的模块
[!] /usr/local/bin/git clone https://github.com/ccgus/fmdb.git /var/folders/80/tttbth652b15qb18_m682dn40000gp/T/d20181029-4180-gh6ne4 --template= --single-branch --depth 1 --branch 2.7.2
Cloning into '/var/folders/80/tttbth652b15qb18_m682dn40000gp/T/d20181029-4180-gh6ne4'...
fatal: unable to access 'https://github.com/ccgus/fmdb.git/': Empty reply from server
[!] Error installing UMengAnalytics
[!] /usr/bin/unzip /var/folders/4d/j2gnpqv14lj9q0ycpcs10y_m0000gn/T/d20191206-4813-uzu3y/file.zip -d /var/folders/4d/j2gnpqv14lj9q0ycpcs10y_m0000gn/T/d20191206-4813-uzu3y
Archive: /var/folders/4d/j2gnpqv14lj9q0ycpcs10y_m0000gn/T/d20191206-4813-uzu3y/file.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /var/folders/4d/j2gnpqv14lj9q0ycpcs10y_m0000gn/T/d20191206-4813-uzu3y/file.zip or
/var/folders/4d/j2gnpqv14lj9q0ycpcs10y_m0000gn/T/d20191206-4813-uzu3y/file.zip.zip, and cannot find /var/folders/4d/j2gnpqv14lj9q0ycpcs10y_m0000gn/T/d20191206-4813-uzu3y/file.zip.ZIP, period.
[!] 'UMengAnalytics' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the library author to notify them of this security issue.
能否增加一个类似NOW直播 显示动态详情的效果,手势拖动能让动态详情跟着手势移动缩放,松开后能回到cell原点
哪都能看到你的影子呢
打不开, pod 红的
大神可以仿写个‘即刻’的吗
页面中添加textfield 或者textview 会导致控制器无法释放,可以看键盘处理页面
目前发现注释父类中 field.delegate = self; 可以可以释放
你这里的pod 导入的第三方库没有添加到 gitignore 当中,导致的结果就是以后每次你更新第三方库, Git 都会跟踪记录,导致项目文件的 Git 整个体积的膨胀.
ld: warning: directory not found for option '-L/Users/semper/Library/Developer/Xcode/DerivedData/iOSProject-beryqctgtzqwfldinolsksiasdxy/Build/Products/Debug-iphonesimulator/ZFPlayer' ld: warning: directory not found for option '-L/Users/semper/Library/Developer/Xcode/DerivedData/iOSProject-beryqctgtzqwfldinolsksiasdxy/Build/Products/Debug-iphonesimulator/ZJScrollPageView' ld: library not found for -lAFNetworking clang: error: linker command failed with exit code 1 (use -v to see invocation)
Analyzing dependencies
Downloading dependencies
Using AFNetworking (3.2.1)
Using BaiduMapKit (4.1.1)
Using DWBubbleMenuButton (1.0.1)
Using FCUUID (1.3.1)
Using FDFullscreenPopGesture (1.1)
Using FLAnimatedImage (1.0.12)
Using FMDB (2.7.5)
Using HMQRCodeScanner (1.0.6)
Using IQKeyboardManager (6.2.0)
Using KILabel (1.0.1)
Using M13ProgressSuite (1.2.9)
Using MBProgressHUD (1.1.0)
Using MJExtension (3.0.15.1)
Using MJRefresh (3.1.15.7)
Using MOFSPickerManager (2.1.3)
Using Masonry (1.1.0)
Using Reachability (3.2)
Using SDCycleScrollView (1.75)
Using SDWebImage (4.4.3)
Using TZImagePickerController (3.1.5)
Using Toast (4.0.0)
Using UICKeyChainStore (2.1.2)
Using UMengAnalytics (4.2.4)
Using UMengUShare (6.4.8.2)
Using YYAsyncLayer (1.0)
Using YYCategories (1.0.4)
Using YYImage (1.0.4)
Using YYText (1.0.7)
Using ZFPlayer (2.1.6)
Using ZJScrollPageView (0.4.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 32 dependencies from the Podfile and 30 total pods installed.
什么鬼?
You don’t have permission. To view or change permissions, select the item in the Finder and choose File > Get Info.
工程用不了,pod方式出错, 直接下载文件的方式,下载后,编译也是出错.
作者让别人去学习的初衷没有实现喽.
希望作者处理一下.
在 iOS13 上
系统动画退出后黑屏
present 动画无法弹出
rt
error: /Users/m/Developer/iOSProject-master/iOSProject/Pods/Target Support Files/Pods-iOSProject/Pods-iOSProject.debug.xcconfig: unable to open file (in target "iOSProject" in project "iOSProject") (in target 'iOSProject')
你好!打扰一下,想学习你的项目,这个要pod install么?一打开项目会出现这个,请问这是什么情况?
搜好多关键字都能搜到你这个
ld: framework not found Hyphenate
clang: error: linker command failed with exit code 1 (use -v to see invocation)
录入时比较麻烦,能否做一个类似微信按住说话的功能,说完以后直接把语音转成汉字放到录入框中
我没有安装微博app,闪退原因如下:
-[LMJAppDelegate application:openURL:sourceApplication:annotation:]: unrecognized selector sent to instance 0x142940150
clone 别的项目都超级快,为什么clone作者的这个项目超级慢???
可以接一个电子书阅读的,类似多看电子书阅读页面类似的,目前做过电子书阅读,但做出的效果远远不足,可以支持epub、txt等文件的阅读
/Users/xxx/Downloads/iOSProject-master/iOSProject/Pods/Target Support Files/Pods-iOSProject/Pods-iOSProject.debug.xcconfig: unable to open file (in target "iOSProject" in project "iOSProject") (in target 'iOSProject')
pod update的时候出现:
[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:
project 'path/to/Project.xcodeproj'
已经Google
文件 断点 缓存 下载 这个界面,点击下载没反应,下载资源没了?
直接下载完成后,工程的tools文件夹缺少文件,根本无法运行起来,重新pod install以后也不行
由于是一个单对象,相信加上这几个设置入口,不是很费劲~~~
想向楼主学习一下广告的写法,就是能加载image、gif、视频。能提前缓存以后规定日期内展示的image、gif、视频。因为每次app启动时候,如果在启动的时候下载图片、gif、视频,肯定会有延迟,体验不佳,想提前缓存,并且根据需要展示的日期,自动更换图片、gif、视频。向想楼主学习。
可以接入一个类似高德百度地图内部的上拉滑动上滑拖出的抽屉拖拽效果,自己写了一个简单的,但是在移动的view和tableview滚动的第一响应切换时出现卡顿。有什么方式可以完美的解决这个问题吗
解决方法:
(void)viewWillDisappear:(BOOL)animated{
[super viewWillDisappear:animated];
[self.webView.scrollView removeObserverBlocks];
[self.webView removeObserverBlocks];
}
更新xcode以后运行不起来了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.