Giter Club home page Giter Club logo

colorpopover's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @gazolla
  • ๐Ÿ‘€ Iโ€™m interested in new techonologies, programming, bodybuilding
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on swift projects
  • ๐Ÿ“ซ How to reach me [email protected]

colorpopover's People

Contributors

bitdeli-chef avatar gazolla avatar phillrb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colorpopover's Issues

IOS 7?

I have been using this in my project (6.0, 6.1) without any issues. Can't get it to work on IOS 7. Any suggestions?

Thanks.
Curtis

colorPopoverDemo crashes

Hi, thanks for the colorPopover code. I've downloaded the source and loaded the demo project in Xcode 4.3. I tried running on the iPhone 5.1 simulator, but it crashes immediately. Also same problem running on the iPad simulator.

I get several warnings when building. For example:

AppDelegate.m warnings...

Property 'window' requires method 'window' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation

Property 'window' requires method 'setWindow:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation

Property 'viewController' requires method 'viewController' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation

Property 'viewController' requires method 'setViewController:' to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation

Any help would be greatly appreciated. Thanks

Conflicts with UIImagePickerController on iOs7

When I instantiate the popover and after that I load a UIImagePickerController, the camera looks black for about 30 seconds or more.

I've made some changes on code (method loadColorButtons )which makes it work:

  1. instead of using myQueue

    dispatch_queue_t myQueue = dispatch_queue_create("com.gazapps.myqueue", 0);

I am using

dispatch_async(dispatch_get_main_queue(), ^{...
  1. In the same method, in the loop, instead of starting another queue, I replaced with this:

    //dispatch_sync(dispatch_get_main_queue(), ^{
    [self.buttonCollection addObject:colorButton];
    [scroll addSubview:colorButton];
    //});//end block

It works just fine.

Two ColorPopover folders

Just was curious if there was any particular reason for having two folders that are almost the same but not quite. I used the one inside your project to get it to work.

Didn't run into any other problems other than switching what group of files I was using.

SIGSEGV Crash

We've added this functionality to a live iOS app, and we're getting crash logs in the ColorViewController.m file.

Here's the symbolicated crash reason: __39-[ColorViewController loadColorButtons]_block_invoke_0 (ColorViewController.m:129)

Here is the crashed thread:
0 UIKit 0x37307a22 -[UIView(CALayerDelegate) actionForLayer:forKey:] + 138 + 137
1 QuartzCore 0x38fdfff7 -[CALayer actionForKey:] + 75 + 74
2 QuartzCore 0x38fdffa7 _ZL12actionForKeyP7CALayerPN2CA11TransactionEP8NSString + 59 + 58
3 QuartzCore 0x38fdfe93 _ZN2CA5Layer12begin_changeEPNS_11TransactionEjRP11objc_object + 131 + 130
4 QuartzCore 0x38fdab87 _ZN2CA5Layer6setterEj12_CAValueTypePKv + 183 + 182
5 QuartzCore 0x39007057 -[CALayer setBackgroundColor:] + 35 + 34
6 UIKit 0x3731ef51 -[UIView(Internal) _setBackgroundCGColor:withSystemColorName:] + 1021 + 1020
7 Pass Scan 0x000a301d __39-[ColorViewController loadColorButtons]_block_invoke_0 (ColorViewController.m:129)
8 libdispatch.dylib 0x3962511f _dispatch_call_block_and_release + 11 + 10
9 libdispatch.dylib 0x39628ecf _dispatch_queue_drain$VARIANT$mp + 143 + 142
10 libdispatch.dylib 0x39628dc1 _dispatch_queue_invoke$VARIANT$mp + 41 + 40
11 libdispatch.dylib 0x3962991d _dispatch_root_queue_drain + 185 + 184
12 libdispatch.dylib 0x39629ac1 _dispatch_worker_thread2 + 85 + 84
13 libsystem_c.dylib 0x3824da11 _pthread_wqthread + 361 + 360

Any ideas on why this is happening? Could it be a memory allocation issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.