All Projects → damian-kolakowski → Ios Hierarchy Viewer

damian-kolakowski / Ios Hierarchy Viewer

Licence: other
iOS Hierarchy viewer - View and Coredata debugging made easy

Projects that are alternatives of or similar to Ios Hierarchy Viewer

Graph
Graph is a semantic database that is used to create data-driven applications.
Stars: ✭ 855 (-36.43%)
Mutual labels:  coredata
Tweenkit
Animation library for iOS in Swift
Stars: ✭ 1,146 (-14.8%)
Mutual labels:  uiview
Shob
SwiftUI + CoreData & iCloud AutoSync Project
Stars: ✭ 90 (-93.31%)
Mutual labels:  coredata
Leego
Declarative, configurable & highly reusable UI development as making Lego bricks.
Stars: ✭ 967 (-28.1%)
Mutual labels:  uiview
Ios Sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 56 (-95.84%)
Mutual labels:  coredata
Phfcomposebarview
Compose bar from iOS 7 Messages.app
Stars: ✭ 1,197 (-11%)
Mutual labels:  uiview
Corerender
Moved to https://github.com/alexdrone/Render
Stars: ✭ 25 (-98.14%)
Mutual labels:  uiview
Panslip
Use PanGesture to dismiss view on UIViewController and UIView
Stars: ✭ 93 (-93.09%)
Mutual labels:  uiview
Camerabackground
Show camera layer as a background to any UIView
Stars: ✭ 57 (-95.76%)
Mutual labels:  uiview
Tothepenny
A budget tracker app for iOS
Stars: ✭ 82 (-93.9%)
Mutual labels:  coredata
Aaviewanimator
AAViewAnimator is a set of animations designed for UIView, UIButton, UIImageView with options in iOS, written in Swift.
Stars: ✭ 33 (-97.55%)
Mutual labels:  uiview
Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (-97.32%)
Mutual labels:  uiview
Afviewshaker
Stars: ✭ 1,214 (-9.74%)
Mutual labels:  uiview
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-97.77%)
Mutual labels:  coredata
Shapeview
A customized shape view with shadow and transparent background supported.
Stars: ✭ 90 (-93.31%)
Mutual labels:  uiview
Modelassistant
Elegant library to manage the interactions between view and model in Swift
Stars: ✭ 26 (-98.07%)
Mutual labels:  coredata
Capsuleview
An easy to use drop-in view to create a beautiful card style effect with a title placeholder and body content.
Stars: ✭ 68 (-94.94%)
Mutual labels:  uiview
Bgfmdb
BGFMDB让数据的增删改查分别只需要一行代码即可,就是这么简单任性,本库几乎支持存储ios所有基本的自带数据类型.
Stars: ✭ 1,344 (-0.07%)
Mutual labels:  coredata
Hardchoice
有时候作抉择真的很痛苦,Swift写的生活类APP
Stars: ✭ 90 (-93.31%)
Mutual labels:  coredata
Jotify
Sticky notes reimagined - written in Swift
Stars: ✭ 79 (-94.13%)
Mutual labels:  coredata

iOS Hierarchy Viewer for UI and CoreData

iOS Hierarchy Viewer allows developers to debug their hierarchies for both UIView's and CoreData models.

  • If there are problems with layout calculations, you can find them with ease by introspecting real-time preview of your views inside a browser.
  • If your data is behaving weirdly, you can easily navigate through it via a browser.
  • This tool predates commercial tools like Reveal and Spark Inspector, and it's available for free.

since 1.4.6 version, we also give you debugging Core Data API in your project (if you use it). See 'Instruction' section to set it up.

Features

  • the client is implemented in HTML/JS/CSS. Additional software is not required
  • preview of device/simulator screen. Can be scaled and/or rotated on demand
  • debug frames shows the exact UIViews frames
  • property list shows obj-c properties and their values for selected UIView

Installation

  • download newest version of library from releases section Lib or use it as cocoapods spec
  • add these files to your project (drag&drop into xCode project)
  • make sure that you have added “-ObjC -all_load” to “other linker flags” (click at project root element, select “Build settings” tab, search for “other linker flags”)
  • if you already have JSONKit.m file in your project, please remove it because of linker conflict We switched to Apple's NSJSONSerialization so skip this step.
  • add QuartzCore to frameworks list
  • launch hierarchy viewer in your code by calling [iOSHierarchyViewer start];. The best place for it is AppDelegate::applicationDidBecomeActive callback
  • find or get from logs device/simulator ip address and go to ‘http://[ip_address]:9449′ address (Chrome/Firefox only)
- (void)applicationDidBecomeActive:(UIApplication *)application
{
    // your stuff
    [iOSHierarchyViewer start];    
}

If you would like to see data from Core Data API:

  • add CoreData to frameworks list
  • go to 'http://[ip_address]:9449/core.html' and add NSManagedContext object to iOSHierarchyViewer library
- (void)applicationDidBecomeActive:(UIApplication *)application
{
    // your stuff
    
    setup persistent store coordinator for _managedObjectContext
    
    [iOSHierarchyViewer addContext:_managedObjectContext name:@"Root managed context"];    
}

You can always look at sample project, there is only 1 line of code needed for iOSHierarchyViewer to work with your project. We really like PrettyKit ( https://github.com/vicpenap/PrettyKit ), so we just enabled our hierarchy viewer in their sample project. If you don't know what PrettyKit is you need to check it out!

Changelog:

Version 1.3:

  • fixed crashes at UITextView:
  • some properties can be read only from UI thread
  • some properties ( like 'autocapitalizationType' ) are not KVC compliant.

Version 1.4:

  • Accesibility labels are used when set, making it easier to read hierarchy
  • All scaning now takes place on main thread.

Roadmap and Contributing:

  • Coloring non-opaque and misaligned view's similar to CoreAnimation instruments
  • Selected views from HTML side highlight in tree navigator
  • Support for cocos2d nodes visualisation and debugging

Did you find a bug ? Do you have feature request ? Do you want to merge a feature ? Send us a pull request or add an issue in the tracker!

License

MIT. Full license in LICENSE.txt file.

Authors:

Damian Kołakowski

Krzysztof Zabłocki

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