All Projects → kevindcw → Dprogram_ios

kevindcw / Dprogram_ios

Licence: mit
做的一款小项目-编程宝典iOS版

Projects that are alternatives of or similar to Dprogram ios

Gas Oil Mixture Mobile
Mobile app for calculation of gasoline/oil ratio for 2 stroke engines built with React Native.
Stars: ✭ 61 (-23.75%)
Mutual labels:  ios-app
Rust android ios
Android / iOS app with shared Rust logic
Stars: ✭ 69 (-13.75%)
Mutual labels:  ios-app
Ubersignature
Provides an iOS view controller allowing a user to draw their signature with their finger in a realistic style.
Stars: ✭ 1,213 (+1416.25%)
Mutual labels:  ios-app
Flutter Tetris
a tetris game powered by flutter. 使用flutter开发俄罗斯方块。
Stars: ✭ 1,109 (+1286.25%)
Mutual labels:  ios-app
Booking Management Dashboard
flutter Booking Management Dashboard responsive (web,mobile,tablet)
Stars: ✭ 69 (-13.75%)
Mutual labels:  ios-app
Augmentedsolarsystem
An Augmented reality experience to explore planets in our Solar System
Stars: ✭ 69 (-13.75%)
Mutual labels:  ios-app
Apple Automation
iOS/macOS 自动化,效率玩法探索。
Stars: ✭ 60 (-25%)
Mutual labels:  ios-app
Chatter App
This is a flutter based modern messaging app where users can sign up and log in to chat with their friends, family, colleagues among groups with enriched User-Experience.
Stars: ✭ 80 (+0%)
Mutual labels:  ios-app
Appmon
Documentation:
Stars: ✭ 1,157 (+1346.25%)
Mutual labels:  ios-app
My Ios
List of applications and tools that make my iOS experience even more amazing
Stars: ✭ 1,202 (+1402.5%)
Mutual labels:  ios-app
Rgviperchat
An iOS chat app written following a VIPER architecture and BDD
Stars: ✭ 65 (-18.75%)
Mutual labels:  ios-app
Online food app
Visit our website for more Mobile and Web applications
Stars: ✭ 68 (-15%)
Mutual labels:  ios-app
Ios Apps
Awesome iOS apps
Stars: ✭ 71 (-11.25%)
Mutual labels:  ios-app
Stashline
A long term personal finance planning timeline app for IOS
Stars: ✭ 61 (-23.75%)
Mutual labels:  ios-app
Phimpme Ios
Phimp.me - Photo Image Editor and Sharing App. Phimp.me is a Photo App for iOS that aims to replace proprietary photo applications. It offers features such as taking photos, adding filters, editing images and uploading them to social networks.
Stars: ✭ 79 (-1.25%)
Mutual labels:  ios-app
Mojilist
🛍 Create shopping lists with emojis!
Stars: ✭ 60 (-25%)
Mutual labels:  ios-app
Fridpa
An automated wrapper script for patching iOS applications (IPA files) and work on non-jailbroken device
Stars: ✭ 69 (-13.75%)
Mutual labels:  ios-app
Nnjanebookview
仿简书个人主页多页面滑动视图。
Stars: ✭ 80 (+0%)
Mutual labels:  ios-app
Phphub Ios
PHPHub for iOS is the universal iPhone and iPad application for PHPHub
Stars: ✭ 1,223 (+1428.75%)
Mutual labels:  ios-app
Drawer Menu Swift
Drawer menu implementation in Swift 4
Stars: ✭ 74 (-7.5%)
Mutual labels:  ios-app

编程宝典

License GitHub last commit GitHub repo size in bytes

效果图:

目前主要是有书籍页面,题库页面,论坛讨论和资讯新闻这几个大的板块:

 

 

实现动态图(文件大,可能要等待5秒):

小程序演示(个人开发者不让有论坛,代码里有)小程序源码

代码结构:

好多方法的实现,都是放在根视图里了

代码:

1.UITabBarController的跳动和声音特效,遵守UITabBarControllerDelegate协议

//底部按钮动画
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item {
    
    NSInteger index = [tabBar.items indexOfObject:item];
    [self animationWithIndex:index];
   
    
}
// 动画声音
- (void)animationWithIndex:(NSInteger)index{
    
    //底部按钮音效
    NSString*voice=[NSString stringWithFormat:@"voice%ld.mp3",(long)index];
    NSURL *moveMP3=[NSURL fileURLWithPath:[[NSBundle mainBundle].resourcePath stringByAppendingPathComponent:voice]];
    NSError *err=nil;
    _audioPlayer=[[AVAudioPlayer alloc] initWithContentsOfURL:moveMP3 error:&err];
    _audioPlayer.volume=0.5;
    [_audioPlayer prepareToPlay];
    if (err!=nil) {
        NSLog(@"move player init error:%@",err);
    }else {
        [_audioPlayer play];
    }
    
    //底部按钮特效
    NSLog(@"点击====%ld",(long)index);
    UIView *tabBarButton =_tabbarbuttonArray[index];
    CABasicAnimation*pulse = [CABasicAnimation animationWithKeyPath:@"transform.scale"];
    pulse.timingFunction= [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
    pulse.duration = 0.08;
    pulse.repeatCount= 1;
    pulse.autoreverses= YES;
    pulse.fromValue= [NSNumber numberWithFloat:0.7];
    pulse.toValue= [NSNumber numberWithFloat:1.3];
    
    [[tabBarButton layer]  addAnimation:pulse forKey:nil];
    
  
    
}


2.登录时候的花瓣效果,是我把以前做直播时候的礼物特效加里面了,已经封装过了直接调用就行,如果有兴趣的话也可以在DShowPropView看实现,主要是iOS的粒子效果;

   DPropsModel *PropsModel=[DPropsModel new];
    [email protected]"0";
    [self.showPropView didReceiveProp:PropsModel];


3.更多代码大家可以直接下载看,这里就不多介绍了。。。

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].